DocValuesFormat
Encodes/decodes per-document values.
Note, when extending this class, the name (.getName) may written into the index in certain configurations. In order for the segment to be read, the name must resolve to your implementation via .forName. This method uses Java's ServiceLoader (SPI) to resolve format names.
If you implement your own format, make sure that it has a no-arg constructor so SPI can load it.
See also
ServiceLoader
Inheritors
Properties
Functions
Link copied to clipboard
Returns a DocValuesConsumer to write docvalues to the index.
Link copied to clipboard
Returns a DocValuesProducer to read docvalues from the index.