public class CategoryTokenizer extends CategoryTokenizerBase
CharTermAttributes and
PayloadAttributes of category tokens.AttributeSource.AttributeFactory, AttributeSource.StatecategoryAttribute, indexingParams, payload, payloadAttribute, termAttributeinput| Constructor and Description |
|---|
CategoryTokenizer(TokenStream input,
FacetIndexingParams indexingParams) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
incrementToken() |
protected void |
setPayload()
Set the payload of the current category token.
|
close, end, resetaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreStatepublic CategoryTokenizer(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.