Example usage for Java org.apache.lucene.analysis.tokenattributes KeywordAttribute fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | isKeyword() Returns true if the current token is a keyword, otherwise false |
void | setKeyword(boolean isKeyword) Marks the current token as keyword if set to true . |