org.apache.lucene.codecs.memory
public class MemoryDocValuesFormat extends DocValuesFormat
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_BINARY_FIELD_LENGTH
Maximum length for each binary doc values field.
|
| Constructor and Description |
|---|
MemoryDocValuesFormat()
|
MemoryDocValuesFormat(float acceptableOverheadRatio)
Creates a new MemoryDocValuesFormat with the specified
acceptableOverheadRatio for NumericDocValues. |
| Modifier and Type | Method and Description |
|---|---|
DocValuesConsumer |
fieldsConsumer(SegmentWriteState state) |
DocValuesProducer |
fieldsProducer(SegmentReadState state) |
availableDocValuesFormats, forName, getName, reloadDocValuesFormats, toStringpublic static final int MAX_BINARY_FIELD_LENGTH
public MemoryDocValuesFormat()
public MemoryDocValuesFormat(float acceptableOverheadRatio)
acceptableOverheadRatio for NumericDocValues.acceptableOverheadRatio - compression parameter for numerics.
Currently this is only used when the number of unique values is small.public DocValuesConsumer fieldsConsumer(SegmentWriteState state) throws IOException
fieldsConsumer in class DocValuesFormatIOExceptionpublic DocValuesProducer fieldsProducer(SegmentReadState state) throws IOException
fieldsProducer in class DocValuesFormatIOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.