lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: synonyms with dashes '-'
Date Tue, 06 Dec 2011 13:28:39 GMT
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.birac@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
>

Mime
View raw message