Class JapanesePartOfSpeechStopFilterFactory

  • All Implemented Interfaces:
    ResourceLoaderAware

    public class JapanesePartOfSpeechStopFilterFactory
    extends TokenFilterFactory
    implements ResourceLoaderAware
    Factory for JapanesePartOfSpeechStopFilter.
     <fieldType name="text_ja" class="solr.TextField">
       <analyzer>
         <tokenizer class="solr.JapaneseTokenizerFactory"/>
         <filter class="solr.JapanesePartOfSpeechStopFilterFactory"
                 tags="stopTags.txt"/>
       </analyzer>
     </fieldType>
     
    Since:
    3.6.0
    • Field Detail

      • stopTagFiles

        private final java.lang.String stopTagFiles
      • stopTags

        private java.util.Set<java.lang.String> stopTags
    • Constructor Detail

      • JapanesePartOfSpeechStopFilterFactory

        public JapanesePartOfSpeechStopFilterFactory​(java.util.Map<java.lang.String,​java.lang.String> args)
        Creates a new JapanesePartOfSpeechStopFilterFactory