Class FieldInvertState
This class tracks the number and position / offset parameters of terms being added to the index. The information collected in this class is also used to calculate the normalization factor for a field.
@lucene.experimental
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public sealed class FieldInvertState : object
Constructors
Name | Description |
---|---|
FieldInvertState(String) | Creates FieldInvertState for the specified field name. |
FieldInvertState(String, Int32, Int32, Int32, Int32, Single) | Creates FieldInvertState for the specified field name and values for all fields. |
Properties
Name | Description |
---|---|
AttributeSource | Gets the AttributeSource from the TokenStream that provided the indexed tokens for this field. |
Boost | Gets or Sets boost value. This is the cumulative product of document boost and field boost for all field instances sharing the same field name. |
Length | Gets or Sets total number of terms in this field. |
MaxTermFrequency | Get the maximum term-frequency encountered for any term in the field. A field containing "the quick brown fox jumps over the lazy dog" would have a value of 2, because "the" appears twice. |
Name | Gets the field's name |
NumOverlap | Gets or Sets the number of terms with |
Offset | Gets end offset of the last processed term. |
Position | Gets the last processed term position. |
UniqueTermCount | Gets the number of unique terms encountered in this field. |