remove nocommit, its in segmentreadstate

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1410938 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2012-11-18 17:30:48 +00:00
parent 6eda60ad52
commit b59bf27886
2 changed files with 0 additions and 9 deletions

View File

@ -356,7 +356,6 @@ public class SimpleTextSimpleDocValuesFormat extends SimpleDocValuesFormat {
final Map<String,OneField> fields = new HashMap<String,OneField>();
SimpleTextDocValuesReader(FieldInfos fieldInfos, Directory dir, SegmentInfo si, IOContext context) throws IOException {
super(si.getDocCount());
System.out.println("dir=" + dir + " seg=" + si.name);
data = dir.openInput(IndexFileNames.segmentFileName(si.name, "", "dat"), context);
maxDoc = si.getDocCount();

View File

@ -24,17 +24,9 @@ import org.apache.lucene.index.BinaryDocValues;
import org.apache.lucene.index.FieldInfo;
import org.apache.lucene.index.NumericDocValues;
import org.apache.lucene.index.SortedDocValues;
import org.apache.lucene.util.BytesRef;
public abstract class SimpleDVProducer implements Closeable {
private final int maxDoc;
protected SimpleDVProducer(int maxDoc) {
// nocommit kinda messy?
this.maxDoc = maxDoc;
}
public abstract NumericDocValues getNumeric(FieldInfo field) throws IOException;
public abstract BinaryDocValues getBinary(FieldInfo field) throws IOException;