public class CategoryTokenizer extends CategoryTokenizerBase
CharTermAttributes and
PayloadAttributes 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, toStringpublic CategoryTokenizer(org.apache.lucene.analysis.TokenStream input,
FacetIndexingParams indexingParams)
public final boolean incrementToken()
throws IOException
incrementToken in class CategoryTokenizerBaseIOExceptionprotected void setPayload()
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.