Codec
Encodes/decodes an inverted index segment.
Note, when extending this class, the name (.getName) is written into the index. 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 codec names.
If you implement your own codec, make sure that it has a no-arg constructor so SPI can load it.
Parameters
name
Returns this codec's name.
See also
ServiceLoader
Inheritors
Functions
Link copied to clipboard
Encodes/decodes compound files
Link copied to clipboard
Encodes/decodes docvalues
Link copied to clipboard
Encodes/decodes field infos file
Link copied to clipboard
Encodes/decodes numeric vector fields
Link copied to clipboard
Encodes/decodes live docs
Link copied to clipboard
Encodes/decodes document normalization values
Link copied to clipboard
Encodes/decodes points index
Link copied to clipboard
Encodes/decodes postings
Link copied to clipboard
Encodes/decodes segment info file
Link copied to clipboard
Encodes/decodes stored fields
Link copied to clipboard
Encodes/decodes term vectors