C# (CSharp) Lucene.Net.Codecs Пространство имен

Пространства имен

Lucene.Net.Codecs.BlockTerms
Lucene.Net.Codecs.Bloom
Lucene.Net.Codecs.Compressing
Lucene.Net.Codecs.DiskDV
Lucene.Net.Codecs.IntBlock
Lucene.Net.Codecs.Lucene3x
Lucene.Net.Codecs.Lucene40
Lucene.Net.Codecs.Lucene41
Lucene.Net.Codecs.Lucene41Ords
Lucene.Net.Codecs.Lucene42
Lucene.Net.Codecs.Lucene45
Lucene.Net.Codecs.Memory
Lucene.Net.Codecs.MockSep
Lucene.Net.Codecs.NestedPulsing
Lucene.Net.Codecs.Perfield
Lucene.Net.Codecs.Pulsing
Lucene.Net.Codecs.Sep
Lucene.Net.Codecs.SimpleText

Классы

Имя Описание
BlockTreeTermsReader A block-based terms index and dictionary that assigns terms to variable length blocks according to how they share prefixes. The terms index is a prefix trie whose leaves are term blocks. The advantage of this approach is that seekExact is often able to determine a term cannot exist without doing any IO, and intersection with Automata is very fast. Note that this terms dictionary has it's own fixed terms index (ie, it does not support a pluggable terms index implementation).

NOTE: this terms dictionary does not support index divisor when opening an IndexReader. Instead, you can change the min/maxItemsPerBlock during indexing.

The data structure used by this implementation is very similar to a burst trie (http://citeseer.ist.psu.edu/viewdoc/summary?doi=10.1.1.18.3499), but with added logic to break up too-large blocks of all terms sharing a given prefix into smaller ones.

Use Lucene.Net.Index.CheckIndex with the -verbose option to see summary statistics on the blocks in the dictionary. See BlockTreeTermsWriter. @lucene.experimental

BlockTreeTermsReader.FieldReader BlockTree's implementation of Terms.
BlockTreeTermsReader.FieldReader.IntersectEnum
BlockTreeTermsReader.FieldReader.IntersectEnum.Frame
BlockTreeTermsReader.FieldReader.SegmentTermsEnum
BlockTreeTermsReader.FieldReader.SegmentTermsEnum.Frame
BlockTreeTermsReader.Stats BlockTree statistics for a single field returned by FieldReader#computeStats().
CodecUtil Utility class for reading and writing versioned headers.

Writing codec headers is useful to ensure that a file is in the format you think it is. @lucene.experimental

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

The lifecycle is:

  1. DocValuesConsumer is created by DocValuesFormat#fieldsConsumer(SegmentWriteState) or NormsFormat#normsConsumer(SegmentWriteState).
  2. #addNumericField, #addBinaryField, or #addSortedField are called for each Numeric, Binary, or Sorted docvalues field. The API is a "pull" rather than "push", and the implementation is free to iterate over the values multiple times (Iterable#iterator()).
  3. After all fields are added, the consumer is #closed.
@lucene.experimental
DocValuesConsumer.BitsFilteredTermsEnum