Uses of Package
org.apache.lucene.codecs
Packages that use org.apache.lucene.codecs
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
Pluggable term index / block terms dictionary implementations.
BlockTree terms dictionary.
Same postings format as Lucene50, except the terms dictionary also
supports ords, i.e.
Codec PostingsFormat for fast access to low-frequency terms
such as primary key fields.
StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.
A primary-key postings format that associates a version (long) with each term and
can provide fail-fast lookups by ID and version.
Components from the Lucene 5.0 index format
See
org.apache.lucene.codecs.lucene80 for an overview
of the index format.Components from the Lucene 6.0 index format.
Components from the Lucene 7.0 index format.
Components from the Lucene 8.0 index format
See
org.apache.lucene.codecs.lucene84 for an overview
of the index format.Components from the Lucene 8.4 index format.
Lucene 8.6 file format.
Lucene 8.7 file format.
Term dictionary, DocValues or Postings formats that are read
entirely into memory.
Postings format that can delegate to different formats per-field.
Simpletext Codec: writes human readable postings.
Pluggable term index / block terms dictionary implementations.
Pluggable term index / block terms dictionary implementations.
Code to maintain and access indices.
Support for document suggestion
Block KD-tree, implementing the generic spatial data structure described in
this paper.
-
Classes in org.apache.lucene.codecs used by org.apache.lucene.codecsClassDescriptionHolds all state required for
PostingsReaderBaseto produce aPostingsEnumwithout re-seeking the terms dict.Encodes/decodes an inverted index segment.This class accumulates the (freq, norm) pairs that may produce competitive scores.A read-onlyDirectorythat consists of a view over a compound file.Encodes/decodes compound filesAbstract API that consumes numeric, binary and sorted docvalues.Encodes/decodes per-document values.Abstract API that produces numeric, binary, sorted, sortedset, and sortednumeric docvalues.Encodes/decodesFieldInfosAbstract API that consumes terms, doc, freq, prox, offset and payloads postings.Abstract API that produces terms, doc, freq, prox, offset and payloads postings.Format for live/deleted documentsAbstract API that consumes normalization values.Encodes/decodes per-document score normalization values.Abstract API that produces field normalization valuesEncodes/decodes indexed points.Abstract API to visit point values.Abstract API to write pointsEncodes/decodes terms, postings, and proximity data.Class that plugs into term dictionaries, such asBlockTreeTermsWriter, and handles writing postings.Expert: Controls the format of theSegmentInfo(segment metadata file).Controls the format of stored fieldsCodec API for reading stored fields.Codec API for writing stored fields: For every document,StoredFieldsWriter.startDocument()is called, informing the Codec that a new document has started.A visitor that adds every field it sees.Controls the format of term vectorsCodec API for reading term vectors:Codec API for writing term vectors: For every document,TermVectorsWriter.startDocument(int)is called, informing the Codec how many fields will be written. -
Classes in org.apache.lucene.codecs used by org.apache.lucene.codecs.blocktermsClassDescriptionHolds all state required for
PostingsReaderBaseto produce aPostingsEnumwithout re-seeking the terms dict.Abstract API that consumes terms, doc, freq, prox, offset and payloads postings.Abstract API that produces terms, doc, freq, prox, offset and payloads postings.Abstract API that produces field normalization valuesThe core terms dictionaries (BlockTermsReader, BlockTreeTermsReader) interact with a single instance of this class to manage creation ofPostingsEnumandPostingsEnuminstances.Class that plugs into term dictionaries, such asBlockTreeTermsWriter, and handles writing postings.Holder for per-term statistics. -
Classes in org.apache.lucene.codecs used by org.apache.lucene.codecs.blocktreeClassDescriptionHolds all state required for
PostingsReaderBaseto produce aPostingsEnumwithout re-seeking the terms dict.Abstract API that consumes terms, doc, freq, prox, offset and payloads postings.Abstract API that produces terms, doc, freq, prox, offset and payloads postings.Abstract API that produces field normalization valuesThe core terms dictionaries (BlockTermsReader, BlockTreeTermsReader) interact with a single instance of this class to manage creation ofPostingsEnumandPostingsEnuminstances.Class that plugs into term dictionaries, such asBlockTreeTermsWriter, and handles writing postings. -
Classes in org.apache.lucene.codecs used by org.apache.lucene.codecs.blocktreeordsClassDescriptionHolds all state required for
PostingsReaderBaseto produce aPostingsEnumwithout re-seeking the terms dict.Abstract API that consumes terms, doc, freq, prox, offset and payloads postings.Abstract API that produces terms, doc, freq, prox, offset and payloads postings.Abstract API that produces field normalization valuesEncodes/decodes terms, postings, and proximity data.The core terms dictionaries (BlockTermsReader, BlockTreeTermsReader) interact with a single instance of this class to manage creation ofPostingsEnumandPostingsEnuminstances.Class that plugs into term dictionaries, such asBlockTreeTermsWriter, and handles writing postings. -
Classes in org.apache.lucene.codecs used by org.apache.lucene.codecs.bloomClassDescriptionAbstract API that consumes terms, doc, freq, prox, offset and payloads postings.Abstract API that produces terms, doc, freq, prox, offset and payloads postings.Abstract API that produces field normalization valuesEncodes/decodes terms, postings, and proximity data.
-
Classes in org.apache.lucene.codecs used by org.apache.lucene.codecs.compressingClassDescriptionControls the format of stored fieldsCodec API for reading stored fields.Codec API for writing stored fields: For every document,
StoredFieldsWriter.startDocument()is called, informing the Codec that a new document has started.Controls the format of term vectorsCodec API for reading term vectors:Codec API for writing term vectors: For every document,TermVectorsWriter.startDocument(int)is called, informing the Codec how many fields will be written. -
Classes in org.apache.lucene.codecs used by org.apache.lucene.codecs.idversionClassDescriptionHolds all state required for
PostingsReaderBaseto produce aPostingsEnumwithout re-seeking the terms dict.Abstract API that consumes terms, doc, freq, prox, offset and payloads postings.Abstract API that produces terms, doc, freq, prox, offset and payloads postings.Abstract API that produces field normalization valuesEncodes/decodes terms, postings, and proximity data.The core terms dictionaries (BlockTermsReader, BlockTreeTermsReader) interact with a single instance of this class to manage creation ofPostingsEnumandPostingsEnuminstances.Class that plugs into term dictionaries, such asBlockTreeTermsWriter, and handles writing postings.Extension ofPostingsWriterBase, adding a push API for writing each element of the postings. -
Classes in org.apache.lucene.codecs used by org.apache.lucene.codecs.lucene50ClassDescriptionHolds all state required for
PostingsReaderBaseto produce aPostingsEnumwithout re-seeking the terms dict.A read-onlyDirectorythat consists of a view over a compound file.Encodes/decodes compound filesEncodes/decodesFieldInfosAbstract API that consumes terms, doc, freq, prox, offset and payloads postings.Abstract API that produces terms, doc, freq, prox, offset and payloads postings.Format for live/deleted documentsThis abstract class reads skip lists with multiple levels.Encodes/decodes terms, postings, and proximity data.The core terms dictionaries (BlockTermsReader, BlockTreeTermsReader) interact with a single instance of this class to manage creation ofPostingsEnumandPostingsEnuminstances.Controls the format of stored fieldsCodec API for reading stored fields.Codec API for writing stored fields: For every document,StoredFieldsWriter.startDocument()is called, informing the Codec that a new document has started.Controls the format of term vectors -
Classes in org.apache.lucene.codecs used by org.apache.lucene.codecs.lucene60ClassDescriptionEncodes/decodes
FieldInfosEncodes/decodes indexed points.Abstract API to visit point values.Abstract API to write points -
Classes in org.apache.lucene.codecs used by org.apache.lucene.codecs.lucene70ClassDescriptionEncodes/decodes an inverted index segment.Encodes/decodes compound filesAbstract API that consumes numeric, binary and sorted docvalues.Encodes/decodes per-document values.Abstract API that produces numeric, binary, sorted, sortedset, and sortednumeric docvalues.Encodes/decodes
FieldInfosFormat for live/deleted documentsAbstract API that consumes normalization values.Encodes/decodes per-document score normalization values.Abstract API that produces field normalization valuesEncodes/decodes indexed points.Encodes/decodes terms, postings, and proximity data.Expert: Controls the format of theSegmentInfo(segment metadata file).Controls the format of stored fieldsControls the format of term vectors -
Classes in org.apache.lucene.codecs used by org.apache.lucene.codecs.lucene80ClassDescriptionEncodes/decodes an inverted index segment.Encodes/decodes compound filesAbstract API that consumes numeric, binary and sorted docvalues.Encodes/decodes per-document values.Abstract API that produces numeric, binary, sorted, sortedset, and sortednumeric docvalues.Encodes/decodes
FieldInfosFormat for live/deleted documentsAbstract API that consumes normalization values.Encodes/decodes per-document score normalization values.Abstract API that produces field normalization valuesEncodes/decodes indexed points.Encodes/decodes terms, postings, and proximity data.Expert: Controls the format of theSegmentInfo(segment metadata file).Controls the format of stored fieldsControls the format of term vectors -
Classes in org.apache.lucene.codecs used by org.apache.lucene.codecs.lucene84ClassDescriptionHolds all state required for
PostingsReaderBaseto produce aPostingsEnumwithout re-seeking the terms dict.Encodes/decodes an inverted index segment.This class accumulates the (freq, norm) pairs that may produce competitive scores.Encodes/decodes compound filesEncodes/decodes per-document values.Encodes/decodesFieldInfosAbstract API that consumes terms, doc, freq, prox, offset and payloads postings.Abstract API that produces terms, doc, freq, prox, offset and payloads postings.Format for live/deleted documentsThis abstract class reads skip lists with multiple levels.This abstract class writes skip lists with multiple levels.Encodes/decodes per-document score normalization values.Encodes/decodes indexed points.Encodes/decodes terms, postings, and proximity data.The core terms dictionaries (BlockTermsReader, BlockTreeTermsReader) interact with a single instance of this class to manage creation ofPostingsEnumandPostingsEnuminstances.Class that plugs into term dictionaries, such asBlockTreeTermsWriter, and handles writing postings.Extension ofPostingsWriterBase, adding a push API for writing each element of the postings.Expert: Controls the format of theSegmentInfo(segment metadata file).Controls the format of stored fieldsControls the format of term vectors -
Classes in org.apache.lucene.codecs used by org.apache.lucene.codecs.lucene86ClassDescriptionEncodes/decodes an inverted index segment.Encodes/decodes compound filesEncodes/decodes per-document values.Encodes/decodes
FieldInfosFormat for live/deleted documentsEncodes/decodes per-document score normalization values.Encodes/decodes indexed points.Abstract API to visit point values.Abstract API to write pointsEncodes/decodes terms, postings, and proximity data.Expert: Controls the format of theSegmentInfo(segment metadata file).Controls the format of stored fieldsControls the format of term vectors -
Classes in org.apache.lucene.codecs used by org.apache.lucene.codecs.lucene87ClassDescriptionEncodes/decodes an inverted index segment.Encodes/decodes compound filesEncodes/decodes per-document values.Encodes/decodes
FieldInfosFormat for live/deleted documentsEncodes/decodes per-document score normalization values.Encodes/decodes indexed points.Encodes/decodes terms, postings, and proximity data.Expert: Controls the format of theSegmentInfo(segment metadata file).Controls the format of stored fieldsCodec API for reading stored fields.Codec API for writing stored fields: For every document,StoredFieldsWriter.startDocument()is called, informing the Codec that a new document has started.Controls the format of term vectors -
Classes in org.apache.lucene.codecs used by org.apache.lucene.codecs.memoryClassDescriptionHolds all state required for
PostingsReaderBaseto produce aPostingsEnumwithout re-seeking the terms dict.Abstract API that consumes numeric, binary and sorted docvalues.Encodes/decodes per-document values.Abstract API that produces numeric, binary, sorted, sortedset, and sortednumeric docvalues.Abstract API that consumes terms, doc, freq, prox, offset and payloads postings.Abstract API that produces terms, doc, freq, prox, offset and payloads postings.Abstract API that produces field normalization valuesEncodes/decodes terms, postings, and proximity data.The core terms dictionaries (BlockTermsReader, BlockTreeTermsReader) interact with a single instance of this class to manage creation ofPostingsEnumandPostingsEnuminstances.Class that plugs into term dictionaries, such asBlockTreeTermsWriter, and handles writing postings. -
Classes in org.apache.lucene.codecs used by org.apache.lucene.codecs.perfieldClassDescriptionAbstract API that consumes numeric, binary and sorted docvalues.Encodes/decodes per-document values.Abstract API that produces numeric, binary, sorted, sortedset, and sortednumeric docvalues.Abstract API that consumes terms, doc, freq, prox, offset and payloads postings.Abstract API that produces terms, doc, freq, prox, offset and payloads postings.Abstract API that produces field normalization valuesEncodes/decodes terms, postings, and proximity data.
-
Classes in org.apache.lucene.codecs used by org.apache.lucene.codecs.simpletextClassDescriptionEncodes/decodes an inverted index segment.A read-only
Directorythat consists of a view over a compound file.Encodes/decodes compound filesAbstract API that consumes numeric, binary and sorted docvalues.Encodes/decodes per-document values.Abstract API that produces numeric, binary, sorted, sortedset, and sortednumeric docvalues.Encodes/decodesFieldInfosAbstract API that consumes terms, doc, freq, prox, offset and payloads postings.Abstract API that produces terms, doc, freq, prox, offset and payloads postings.Format for live/deleted documentsPointValueswhose order of points can be changed.Abstract API that consumes normalization values.Encodes/decodes per-document score normalization values.Abstract API that produces field normalization valuesEncodes/decodes indexed points.Abstract API to visit point values.Abstract API to write pointsEncodes/decodes terms, postings, and proximity data.Expert: Controls the format of theSegmentInfo(segment metadata file).Controls the format of stored fieldsCodec API for reading stored fields.Codec API for writing stored fields: For every document,StoredFieldsWriter.startDocument()is called, informing the Codec that a new document has started.Controls the format of term vectorsCodec API for reading term vectors:Codec API for writing term vectors: For every document,TermVectorsWriter.startDocument(int)is called, informing the Codec how many fields will be written. -
Classes in org.apache.lucene.codecs used by org.apache.lucene.codecs.uniformsplitClassDescriptionHolds all state required for
PostingsReaderBaseto produce aPostingsEnumwithout re-seeking the terms dict.Abstract API that consumes terms, doc, freq, prox, offset and payloads postings.Abstract API that produces terms, doc, freq, prox, offset and payloads postings.Abstract API that produces field normalization valuesEncodes/decodes terms, postings, and proximity data.The core terms dictionaries (BlockTermsReader, BlockTreeTermsReader) interact with a single instance of this class to manage creation ofPostingsEnumandPostingsEnuminstances.Class that plugs into term dictionaries, such asBlockTreeTermsWriter, and handles writing postings. -
Classes in org.apache.lucene.codecs used by org.apache.lucene.indexClassDescriptionEncodes/decodes an inverted index segment.A read-only
Directorythat consists of a view over a compound file.Abstract API that consumes numeric, binary and sorted docvalues.Encodes/decodes per-document values.Abstract API that produces numeric, binary, sorted, sortedset, and sortednumeric docvalues.Encodes/decodesFieldInfosAbstract API that produces terms, doc, freq, prox, offset and payloads postings.PointValueswhose order of points can be changed.Abstract API that consumes normalization values.Abstract API that produces field normalization valuesAbstract API to visit point values.Abstract API to write pointsControls the format of stored fieldsCodec API for reading stored fields.Codec API for writing stored fields: For every document,StoredFieldsWriter.startDocument()is called, informing the Codec that a new document has started.Controls the format of term vectorsCodec API for reading term vectors:Codec API for writing term vectors: For every document,TermVectorsWriter.startDocument(int)is called, informing the Codec how many fields will be written. -
Classes in org.apache.lucene.codecs used by org.apache.lucene.search.suggest.documentClassDescriptionAbstract API that consumes terms, doc, freq, prox, offset and payloads postings.Abstract API that produces terms, doc, freq, prox, offset and payloads postings.Abstract API that produces field normalization valuesEncodes/decodes terms, postings, and proximity data.
-
Classes in org.apache.lucene.codecs used by org.apache.lucene.util.bkd