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, toString
public 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 DocValuesFormat
IOException
public DocValuesProducer fieldsProducer(SegmentReadState state) throws IOException
fieldsProducer
in class DocValuesFormat
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.