java.lang.Object | |
↳ | org.apache.lucene.index.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.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get boost value.
| |||||||||||
Get total number of terms in this field.
| |||||||||||
Get the maximum term-frequency encountered for any term in the field.
| |||||||||||
Get the number of terms with
positionIncrement == 0 . | |||||||||||
Get end offset of the last processed term.
| |||||||||||
Get the last processed term position.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Get boost value. This is the cumulative product of document boost and field boost for all field instances sharing the same field name.
Get total number of terms in this field.
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.
Get the number of terms with positionIncrement == 0
.
Get end offset of the last processed term.
Get the last processed term position.