> You haven't given us the full details on how you are using the
> SynonymFilterFactory ("expand" true or false?) but in general: yes the
> SynonymFilter finds the longest match it can.

Sorry - doing expansion at index time:
<filter class="solr.SynonymFilterFactory" synonyms="title_synonyms.txt" 
ignoreCase="true" expand="true"/>

>
> if every svp is also a vp, then being explict in your synonyms (when
> doing
> index time expansion) should work...
>
> vp,vice president
> svp,senior vice president=>vp,svp,senior vice president

That worked - thanks!

Reply via email to