mirror of https://github.com/apache/lucene.git
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:
parent
6eda60ad52
commit
b59bf27886
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue