public static class SimpleTextNormsFormat.SimpleTextNormsConsumer extends DocValuesConsumer
FOR RECREATIONAL USE ONLY
Constructor and Description |
---|
SimpleTextNormsFormat.SimpleTextNormsConsumer(SegmentWriteState state) |
Modifier and Type | Method and Description |
---|---|
void |
addBinaryField(FieldInfo field,
Iterable<BytesRef> values) |
void |
addNumericField(FieldInfo field,
Iterable<Number> values) |
void |
addSortedField(FieldInfo field,
Iterable<BytesRef> values,
Iterable<Number> docToOrd) |
void |
addSortedSetField(FieldInfo field,
Iterable<BytesRef> values,
Iterable<Number> docToOrdCount,
Iterable<Number> ords) |
void |
close() |
mergeBinaryField, mergeNumericField, mergeSortedField, mergeSortedSetField
public SimpleTextNormsFormat.SimpleTextNormsConsumer(SegmentWriteState state) throws IOException
IOException
public void addNumericField(FieldInfo field, Iterable<Number> values) throws IOException
addNumericField
in class DocValuesConsumer
IOException
public void addBinaryField(FieldInfo field, Iterable<BytesRef> values) throws IOException
addBinaryField
in class DocValuesConsumer
IOException
public void addSortedField(FieldInfo field, Iterable<BytesRef> values, Iterable<Number> docToOrd) throws IOException
addSortedField
in class DocValuesConsumer
IOException
public void addSortedSetField(FieldInfo field, Iterable<BytesRef> values, Iterable<Number> docToOrdCount, Iterable<Number> ords) throws IOException
addSortedSetField
in class DocValuesConsumer
IOException
public void close() throws IOException
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.