Synonyms 1 fetching 2001, how to avoid

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Synonyms 1 fetching 2001, how to avoid

RaviWhy
Hi,

I am searching on movie titles. with synonyms text file mapped to 1,one.

With this, when I am searching for '1'  I am expecting '1 in kind' but I am getting results which have titles like "2001: My year" .

I am using query time analyser with

<filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt"
                                        ignoreCase="true" expand="true" />

I am going to try with expand=false. But anything else I need to look at?
Reply | Threaded
Open this post in threaded view
|

Re: Synonyms 1 fetching 2001, how to avoid

Erick Erickson
Please review:
http://wiki.apache.org/solr/UsingMailingLists

You haven't shown the relevant parts of your configs.
You haven't shown the queries you're using, with &debugQuery=on
You haven't shown the input
You haven't explained why you think synonyms have anything
 to do with the problem.

So it's really hard to say much of anything.

Best
Erick

On Wed, Nov 23, 2011 at 6:30 PM, RaviWhy <[hidden email]> wrote:

> Hi,
>
> I am searching on movie titles. with synonyms text file mapped to 1,one.
>
> With this, when I am searching for '1'  I am expecting '1 in kind' but I am
> getting results which have titles like "2001: My year" .
>
> I am using query time analyser with
>
> <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt"
>                                        ignoreCase="true" expand="true" />
>
> I am going to try with expand=false. But anything else I need to look at?
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Synonyms-1-fetching-2001-how-to-avoid-tp3532398p3532398.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>