StandardAnalyzer
instead, which has the same functionality.
This analyzer will be removed in Lucene 5.0@Deprecated public final class ChineseAnalyzer extends ReusableAnalyzerBase
ReusableAnalyzerBase.TokenStreamComponents
Constructor and Description |
---|
ChineseAnalyzer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected ReusableAnalyzerBase.TokenStreamComponents |
createComponents(String fieldName,
Reader reader)
Deprecated.
Creates
ReusableAnalyzerBase.TokenStreamComponents
used to tokenize all the text in the provided Reader . |
initReader, reusableTokenStream, tokenStream
close, getOffsetGap, getPositionIncrementGap, getPreviousTokenStream, setPreviousTokenStream
protected ReusableAnalyzerBase.TokenStreamComponents createComponents(String fieldName, Reader reader)
ReusableAnalyzerBase.TokenStreamComponents
used to tokenize all the text in the provided Reader
.createComponents
in class ReusableAnalyzerBase
fieldName
- the name of the fields content passed to the
ReusableAnalyzerBase.TokenStreamComponents
sink as a readerreader
- the reader passed to the Tokenizer
constructorReusableAnalyzerBase.TokenStreamComponents
built from a ChineseTokenizer
filtered with
ChineseFilter