org.apache.lucene.analysis.tokenattributes
public interface PositionLengthAttribute extends Attribute
The default value is one.
Modifier and Type | Method and Description |
---|---|
int |
getPositionLength()
Returns the position length of this Token.
|
void |
setPositionLength(int positionLength) |
void setPositionLength(int positionLength)
positionLength
- how many positions this token
spans.int getPositionLength()
setPositionLength(int)
Copyright © 2000–2018 JBoss by Red Hat. All rights reserved.