[][src]Module rucene::core::codec::postings

Modules

blocktree

Structs

ForUtil
FreqProxPostingsArray
FreqProxTermsWriter
FreqProxTermsWriterPerField
Lucene50PostingsFormat
Lucene50PostingsReader

Concrete class that reads docId(maybe frq,pos,offset,payloads) list with postings format.

Lucene50PostingIterator

PostingIterator impl for Lucene50PostingsReader

Lucene50PostingsWriter

Concrete class that writes docId(maybe frq,pos,offset,payloads) list with postings format.

Lucene50SkipReader

Implements the skip list reader for block postings format that stores positions and payloads.

Lucene50SkipWriter

Write skip lists with multiple levels, and support skip within block ints.

ParallelPostingsArray
PerFieldFieldsReader
PerFieldFieldsWriter
PerFieldPostingsFormat

Enables per field postings support.

TermsHashBase

This class is passed each token produced by the analyzer on each field during indexing, and it stores these tokens in a hash table, and allocates separate byte streams per token. Consumers of this class, eg {@link FreqProxTermsWriter} and {@link TermVectorsConsumer}, write their own byte streams under each term.

TermsHashPerFieldBase

Enums

FieldsConsumerEnum
FieldsProducerEnum

FieldsProducer impl for PostingsFormatEnum

PostingsFormatEnum

composite PostingsFormat use for CodecEnum

Constants

BLOCK_SIZE

Fixed packed block size, number of integers encoded in a single packed block.

DOC_CODEC
DOC_EXTENSION

Filename extension for document number, frequencies, and skip data. See chapter: Frequencies and Skip Data

MAX_DATA_SIZE

Upper limit of the number of values that might be decoded in a single call to {@link #read_block(IndexInput, u8, i32)}. Although values after BLOCK_SIZE are garbage, it is necessary to allocate value buffers whose size is MAX_DATA_SIZE to avoid IndexOutOfBounds Error.

MAX_ENCODED_SIZE

Upper limit of the number of bytes that might be required to stored BLOCK_SIZE encoded values.

MAX_SKIP_LEVELS

Expert: The maximum number of skip levels. Smaller values result in slightly smaller indexes, but slower skipping in big posting lists.

PAY_CODEC
PAY_EXTENSION

Filename extension for payloads and offsets. See chapter: Payloads and Offsets

PER_FIELD_POSTING_FORMAT_KEY

Name of this {@link PostingsFormat}. */ {@link FieldInfo} attribute name used to store the format name for each field. */

PER_FIELD_POSTING_SUFFIX_KEY

segment suffix name for each field. */

POS_CODEC
POS_EXTENSION

Filename extension for positions. See chapter: Positions

TERMS_CODEC
VERSION_CURRENT

Traits

FieldsConsumer

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).

FieldsProducer

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

PostingsArray
PostingsFormat

Encodes/decodes terms, postings, and proximity data.

PostingsWriterBase
TermsHash
TermsHashPerField

Functions

lucene50_decode_term

Actually decode metadata for next term @see PostingsWriterBase#encodeTerm

max_data_size
postings_format_for_name

Type Definitions

FieldsProducerRef
Lucene50PostingsReaderRef