|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.index.FieldInvertState
public final 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.
WARNING: This API is new and experimental, and may suddenly change.
| Constructor Summary | |
|---|---|
FieldInvertState()
|
|
FieldInvertState(int position,
int length,
int numOverlap,
int offset,
float boost)
|
|
| Method Summary | |
|---|---|
AttributeSource |
getAttributeSource()
|
float |
getBoost()
Get boost value. |
int |
getLength()
Get total number of terms in this field. |
int |
getNumOverlap()
Get the number of terms with positionIncrement == 0. |
int |
getOffset()
Get end offset of the last processed term. |
int |
getPosition()
Get the last processed term position. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FieldInvertState()
public FieldInvertState(int position,
int length,
int numOverlap,
int offset,
float boost)
| Method Detail |
|---|
public int getPosition()
public int getLength()
public int getNumOverlap()
positionIncrement == 0.
public int getOffset()
public float getBoost()
public AttributeSource getAttributeSource()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||