Reply to comment

Multi-language searching

Multi-language searching involves many complex trade-offs. It's probably best to ask questions about your specific use case on the Solr user list.

Here is our configuration. Note that we turn autoGeneratePhraseQueries="false".

Tom

<fieldType name="FullText" class="solr.TextField" positionIncrementGap="100"AutoGeneratePhraseQueries="false">

  <analyzer type="index">
     <tokenizer class="solr.ICUTokenizerFactory"/>
     <filter class="solr.ICUFoldingFilterFactory"/>
     <filter class="solr.CommonGramsFilterFactory" words="1000common.txt"/>
  </analyzer>

  <analyzer type="query">
     <tokenizer class="solr.ICUTokenizerFactory"/>
     <filter class="solr.ICUFoldingFilterFactory"/>
     <filter class="solr.CommonGramsQueryFilterFactory" words="1000common.txt"/>
  </analyzer>
</fieldType>

Reply

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.