org.apache.lucene.analysis.cjk

Class CJKBigramFilterFactory



  • public class CJKBigramFilterFactory
    extends TokenFilterFactory
    Factory for CJKBigramFilter.
     <fieldType name="text_cjk" class="solr.TextField">
       <analyzer>
         <tokenizer class="solr.StandardTokenizerFactory"/>
         <filter class="solr.CJKWidthFilterFactory"/>
         <filter class="solr.LowerCaseFilterFactory"/>
         <filter class="solr.CJKBigramFilterFactory" 
           han="true" hiragana="true" 
           katakana="true" hangul="true" outputUnigrams="false" />
       </analyzer>
     </fieldType>