public class CategoryTokenizer extends CategoryTokenizerBase
CharTermAttribute
s and
PayloadAttribute
s of category tokens.categoryAttribute, indexingParams, payload, payloadAttribute, termAttribute
Constructor and Description |
---|
CategoryTokenizer(org.apache.lucene.analysis.TokenStream input,
FacetIndexingParams indexingParams) |
Modifier and Type | Method and Description |
---|---|
boolean |
incrementToken() |
protected void |
setPayload()
Set the payload of the current category token.
|
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
public CategoryTokenizer(org.apache.lucene.analysis.TokenStream input, FacetIndexingParams indexingParams)
public final boolean incrementToken() throws IOException
incrementToken
in class CategoryTokenizerBase
IOException
protected void setPayload()