Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Thanks zinan.yumak</p> <p>I did it again in your way </p> <pre><code>&lt;fieldType name="text_en" class="solr.TextField" positionIncrementGap="100"&gt; &lt;analyzer type="index"&gt; &lt;tokenizer class="solr.StandardTokenizerFactory" /&gt; &lt;filter class="solr.StandardFilterFactory"/&gt; &lt;filter class="solr.SynonymFilterFactory" synonyms="index_immo_synonyms_en.txt" ignoreCase="true" expand="true" /&gt; &lt;filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="1" /&gt; &lt;filter class="solr.LowerCaseFilterFactory"/&gt; &lt;filter class="solr.StopFilterFactory" ignoreCase="true" words="immo_stopwords_en.txt" /&gt; &lt;filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords_en.txt"/&gt; &lt;filter class="solr.RemoveDuplicatesTokenFilterFactory"/&gt; &lt;/analyzer&gt; &lt;analyzer type="query"&gt; &lt;tokenizer class="solr.WhitespaceTokenizerFactory" /&gt; &lt;filter class="solr.StandardFilterFactory"/&gt; &lt;!-- we only use synonyms at index time &lt;filter class="solr.SynonymFilterFactory" synonyms="index_immo_synonyms_en.txt" ignoreCase="true" expand="true"/&gt;. Having expand="false" at query time, all equivalent synonyms will be reduced to the first in the list --&gt; &lt;filter class="solr.SynonymFilterFactory" synonyms="query_immo_synonyms_en.txt" ignoreCase="true" expand="false" /&gt; &lt;filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="1" /&gt; &lt;filter class="solr.LowerCaseFilterFactory"/&gt; &lt;filter class="solr.StopFilterFactory" ignoreCase="true" words="immo_stopwords_en.txt" /&gt; &lt;filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords_en.txt"/&gt; &lt;filter class="solr.RemoveDuplicatesTokenFilterFactory"/&gt; &lt;/analyzer&gt; &lt;/fieldType&gt; </code></pre> <p>And use this type type to the fields</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload