public final class FieldInvertState extends Object
Constructor | Description |
---|---|
FieldInvertState() |
|
FieldInvertState(int position,
int length,
int numOverlap,
int offset,
float boost) |
Modifier and Type | Method | Description |
---|---|---|
AttributeSource |
getAttributeSource() |
|
float |
getBoost() |
Get boost value.
|
int |
getLength() |
Get total number of terms in this field.
|
int |
getMaxTermFrequency() |
Get the maximum term-frequency encountered for any term in the 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.
|
int |
getUniqueTermCount() |
Return the number of unique terms encountered in this field.
|
void |
setBoost(float boost) |
|
void |
setLength(int length) |
|
void |
setNumOverlap(int numOverlap) |
public FieldInvertState()
public FieldInvertState(int position, int length, int numOverlap, int offset, float boost)
public int getPosition()
public int getLength()
public void setLength(int length)
public int getNumOverlap()
positionIncrement == 0
.public void setNumOverlap(int numOverlap)
public int getOffset()
public float getBoost()
public void setBoost(float boost)
public int getMaxTermFrequency()
public int getUniqueTermCount()
public AttributeSource getAttributeSource()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.