package org.apache.lucene.index; import java.io.IOException; import org.apache.lucene.store.IndexOutput; public interface DocValuesWriter { public void collectDoc(int docid, int termNum) ; public void collectTmIndex(String termValue) throws IOException ; public void collectTm(long termValue) throws IOException ; public void start(int fieldNumber,String field) ; public void flushFieldDoc(int termNum)throws IOException ; public void flushPosTo(IndexOutput outputSize) throws IOException ; public void close() throws IOException ; public void free() ; }