Java org.apache.lucene.analysis.tokenattributes KeywordAttribute fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.analysis.tokenattributes KeywordAttribute fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.analysis.tokenattributes KeywordAttribute.

The text is from its open source code.

Method

booleanisKeyword()
Returns true if the current token is a keyword, otherwise false
voidsetKeyword(boolean isKeyword)
Marks the current token as keyword if set to true.