Package-level declarations

Types

Link copied to clipboard

Holds all state required for PostingsReaderBase to produce a [ ] without re-seeking the terms dict.

Link copied to clipboard

Buffers up pending vector value(s) per doc, then flushes when segment flushes. Used for SimpleTextKnnVectorsWriter and for vectors writers before v 9.3 .

Link copied to clipboard

Encodes/decodes an inverted index segment.

Link copied to clipboard
object CodecUtil

Utility class for reading and writing versioned headers.

Link copied to clipboard

This class accumulates the (freq, norm) pairs that may produce competitive scores.

Link copied to clipboard
abstract class CompoundDirectory : Directory

A read-only Directory that consists of a view over a compound file.

Link copied to clipboard
abstract class CompoundFormat

Encodes/decodes compound files

Link copied to clipboard

Abstract API that consumes numeric, binary and sorted docvalues. Concrete implementations of this actually do "something" with the docvalues (write it into the index in a specific format).

Link copied to clipboard

Encodes/decodes per-document values.

Link copied to clipboard

Abstract API that produces numeric, binary, sorted, sortedset, and sortednumeric docvalues.

Link copied to clipboard
abstract class FieldInfosFormat

Encodes/decodes FieldInfos

Link copied to clipboard
abstract class FieldsConsumer : AutoCloseable

Abstract API that consumes terms, doc, freq, prox, offset and payloads postings. Concrete implementations of this actually do "something" with the postings (write it into the index in a specific format).

Link copied to clipboard

Abstract API that produces terms, doc, freq, prox, offset and payloads postings.

Link copied to clipboard
abstract class FilterCodec : Codec

A codec that forwards all its method calls to another codec.

Link copied to clipboard

Vectors' writer for a field

Link copied to clipboard

Encodes/decodes per-document vector and any associated indexing structures required to support nearest-neighbor search

Link copied to clipboard

Reads vectors from an index.

Link copied to clipboard

Writes vectors to an index.

Link copied to clipboard
abstract class LiveDocsFormat

Format for live/deleted documents

Link copied to clipboard

This abstract class reads skip lists with multiple levels.

Link copied to clipboard

This abstract class writes skip lists with multiple levels.

Link copied to clipboard

One leaf PointTree whose order of points can be changed. This class is useful for codecs to optimize flush.

Link copied to clipboard
abstract class NormsConsumer : AutoCloseable

Abstract API that consumes normalization values. Concrete implementations of this actually do "something" with the norms (write it into the index in a specific format).

Link copied to clipboard
abstract class NormsFormat

Encodes/decodes per-document score normalization values.

Link copied to clipboard
abstract class NormsProducer : AutoCloseable

Abstract API that produces field normalization values

Link copied to clipboard
abstract class PointsFormat

Encodes/decodes indexed points.

Link copied to clipboard
abstract class PointsReader : AutoCloseable

Abstract API to visit point values.

Link copied to clipboard
abstract class PointsWriter : AutoCloseable

Abstract API to write points

Link copied to clipboard

Encodes/decodes terms, postings, and proximity data.

Link copied to clipboard

The core terms dictionaries (BlockTermsReader, BlockTreeTermsReader) interact with a single instance of this class to manage creation of org.gnit.lucenekmp.index.PostingsEnum and org.gnit.lucenekmp.index.ImpactsEnum instances. It provides an IndexInput (termsIn) where this class may read any previously stored data that it had written in its corresponding [ ] at indexing time.

Link copied to clipboard

Class that plugs into term dictionaries, such as Lucene90BlockTreeTermsWriter, and handles writing postings.

Link copied to clipboard

Extension of PostingsWriterBase, adding a push API for writing each element of the postings. This API is somewhat analogous to an XML SAX API, while PostingsWriterBase is more like an XML DOM API.

Link copied to clipboard
abstract class SegmentInfoFormat

Expert: Controls the format of the SegmentInfo (segment metadata file).

Link copied to clipboard
abstract class StoredFieldsFormat

Controls the format of stored fields

Link copied to clipboard

Codec API for reading stored fields.

Link copied to clipboard

Codec API for writing stored fields:

Link copied to clipboard
data class TermStats(val docFreq: Int, val totalTermFreq: Long)

Holder for per-term statistics.

Link copied to clipboard
abstract class TermVectorsFormat

Controls the format of term vectors

Link copied to clipboard

Codec API for reading term vectors:

Link copied to clipboard

Codec API for writing term vectors: