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.
WARNING: This API is new and experimental, and may suddenly change.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get boost value.
| |||||||||||
Get total number of terms in this 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 number of terms with positionIncrement == 0
.
Get end offset of the last processed term.
Get the last processed term position.