Using Synonyms is actually narrowing the result set in some cases

View: New views
2 Messages — Rating Filter:   Alert me  

Using Synonyms is actually narrowing the result set in some cases

by rajkovuru :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I recently introduced a small set of synonyms to be expanded at query time. I didn't and would not want to modify the index so applied synonyms to query.

Synonyms match correctly and the query is expanded indeed, however in some cases , usually multi word synonyms the query is returning less results than it would without synonyms..

Any pointers to where the problem could be?


Example:

before synonyms

search for crm about 1000 results

synonyms implemented

crm, customer relationship management

search for crm about 200 results

One would expect solr to return more results as a result of using synonyms but the effect is exactly opposite..


Thanks
Raj

Re: Using Synonyms is actually narrowing the result set in some cases

by Otis Gospodnetic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Raj, could you please use the solr-user list for this?
When reposting there, please include debugQuery=true output for both queries.



Thanks,
Otis --
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----

> From: rajkovuru <raj@...>
> To: solr-dev@...
> Sent: Tuesday, July 7, 2009 3:41:13 PM
> Subject: Using Synonyms is actually narrowing the result set in some cases
>
>
> Hi,
>
> I recently introduced a small set of synonyms to be expanded at query time.
> I didn't and would not want to modify the index so applied synonyms to
> query.
>
> Synonyms match correctly and the query is expanded indeed, however in some
> cases , usually multi word synonyms the query is returning less results than
> it would without synonyms..
>
> Any pointers to where the problem could be?
>
>
> Example:
>
> before synonyms
>
> search for crm about 1000 results
>
> synonyms implemented
>
> crm, customer relationship management
>
> search for crm about 200 results
>
> One would expect solr to return more results as a result of using synonyms
> but the effect is exactly opposite..
>
>
> Thanks
> Rah
> --
> View this message in context:
> http://www.nabble.com/Using-Synonyms-is-actually-narrowing-the-result-set-in-some-cases-tp24380034p24380034.html
> Sent from the Solr - Dev mailing list archive at Nabble.com.