Hello,
well, first, here's the field type that is searched :
<fieldtype name="SyFR" class="solr.TextField">
<analyzer type="index">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StandardFilterFactory"/>
<!-- Synonyms -->
<filter class="solr.SynonymFilterFactory" synonyms="synonyms-fr.txt"
ignoreCase="true" expand="true"/>
<filter class="solr.LowerCaseFilterFactory"/>
<charFilter class="solr.MappingCharFilterFactory"
mapping="mapping-ISOLatin1Accent.txt"/>
</analyzer>
<analyzer type="query">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StandardFilterFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
<charFilter class="solr.MappingCharFilterFactory"
mapping="mapping-ISOLatin1Accent.txt"/>
</analyzer>
</fieldtype>
here's the synonym from the synonyms-fr.txt file :
...
PS,Parti socialiste
...
and here's the query :
"PS et".
It returns no result, whereas "Parti socialiste et" returns the results.
How can I have both queries working ? I'm thinking about different
configurations but I didn't found any solution at the moment.
Thx for reading,
Xavier Schepler