public interface PositionIncrementAttribute extends Attribute
The default value is one.
Some common uses for this are:
TermPositions| Modifier and Type | Method and Description |
|---|---|
int |
getPositionIncrement()
Returns the position increment of this Token.
|
void |
setPositionIncrement(int positionIncrement)
Set the position increment.
|
void setPositionIncrement(int positionIncrement)
positionIncrement - the distance from the prior termint getPositionIncrement()
setPositionIncrement(int)