Class JapaneseAnalyzer

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class JapaneseAnalyzer
    extends org.apache.lucene.analysis.StopwordAnalyzerBase
    Analyzer for Japanese that uses morphological analysis.
    See Also:
    JapaneseTokenizer
    • Nested Class Summary

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

        org.apache.lucene.analysis.ReusableAnalyzerBase.TokenStreamComponents
    • Field Summary

      • Fields inherited from class org.apache.lucene.analysis.StopwordAnalyzerBase

        matchVersion, stopwords
    • Constructor Detail

      • JapaneseAnalyzer

        public JapaneseAnalyzer​(org.apache.lucene.util.Version matchVersion)
    • Method Detail

      • getDefaultStopSet

        public static org.apache.lucene.analysis.CharArraySet getDefaultStopSet()
      • getDefaultStopTags

        public static Set<String> getDefaultStopTags()
      • createComponents

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