|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PositionIncrementAttribute
The positionIncrement determines the position of this token relative to the previous Token in a TokenStream, used in phrase searching.
The default value is one.
Some common uses for this are:
TermPositions| Method Summary | |
|---|---|
int |
getPositionIncrement()
Returns the position increment of this Token. |
void |
setPositionIncrement(int positionIncrement)
Set the position increment. |
| Method Detail |
|---|
void setPositionIncrement(int positionIncrement)
positionIncrement - the distance from the prior termint getPositionIncrement()
setPositionIncrement(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||