Details matter. Your analysis chain on the field may well
be the issue.

Look at the terms in the field (admin/schema browser).
Look at &debugQuery=on to see how the query is parsed
Look at the admin/analysis page to see the effects of the analysis chain.

You might review:
http://wiki.apache.org/solr/UsingMailingLists

Best
Erick

On Mon, Dec 5, 2011 at 11:08 AM, Zoran | Bax-shop.nl
<zoran.bi...@bax-shop.nl> wrote:
> Hello,
>
> When i add a synonym to synonyms.txt it works fine. For example:
> foo => bar (when searching for foo, also bar gets found)
>
> But this won't work (asume bar-bar is somewhere indexed) :
> foo => bar-bar
>
> what should i do to enable the searching of synonyms with dashes in them?
>
> Thank you,
>
> Zoran
>

Reply via email to