Class ChineseAnalyzer

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class ChineseAnalyzer
    extends org.apache.lucene.analysis.Analyzer
    A analyzer for European languages which will tokenize, apply the standard filter and lower case. It will not stem the field.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.lucene.analysis.Analyzer

        org.apache.lucene.analysis.Analyzer.GlobalReuseStrategy, org.apache.lucene.analysis.Analyzer.PerFieldReuseStrategy, org.apache.lucene.analysis.Analyzer.ReuseStrategy, org.apache.lucene.analysis.Analyzer.TokenStreamComponents
    • Constructor Summary

      Constructors 
      Constructor Description
      ChineseAnalyzer​(org.apache.lucene.util.Version version)  
    • Constructor Detail

      • ChineseAnalyzer

        public ChineseAnalyzer​(org.apache.lucene.util.Version version)
    • Method Detail

      • createComponents

        protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents​(String fieldName,
                                                                                             Reader reader)
        Specified by:
        createComponents in class org.apache.lucene.analysis.Analyzer