TokenTypeSinkFilter
and TeeSinkTokenFilter
instead.public class TokenTypeSinkTokenizer
extends org.apache.lucene.analysis.SinkTokenizer
Token.type()
matches the passed in typeToMatch
then
add it to the sinkConstructor and Description |
---|
TokenTypeSinkTokenizer(int initCap,
String typeToMatch)
Deprecated.
|
TokenTypeSinkTokenizer(List input,
String typeToMatch)
Deprecated.
|
TokenTypeSinkTokenizer(String typeToMatch)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
add(org.apache.lucene.analysis.Token t)
Deprecated.
|
end, getOnlyUseNewAPI, incrementToken, next, setOnlyUseNewAPI
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, restoreState, toString
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.