lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <>
Subject Re: Priority in search an synonyms
Date Wed, 10 Dec 2014 15:13:38 GMT

This could be due to idf drift. I suggest you a simple and easy to understand solution.

create an additional field, lets call it text_intact and use an minimal analysis on it.
By saying minimal, I mean exclude stemming, synonym etc. Use tokenises, lowercase and may
be ascii folding.
Use this new field to boost exact matches. For example qf=text_current^5 text_minimal^75

Does that make sense?


On Wednesday, December 10, 2014 5:01 PM, Antoine REBOUL <>

I have a question , I do not know if there is a solution ...

I will index and search a field named " Libel " .
I use a " synomims " file.

I have for example the following line in my file synonyms " ipad = > Apple,
Priceminister , Amazon"

Research on iPad gives me much Apple, and Amazon Priceminister ( expected
But when I am searching "Apple", i want that the merchant Apple is returned
This is not the case , in fact, it is Amazon who gets the first place.

Sorry for my poor English , I'm using a translator.

Best Regards.

*Antoine Reboul*
Responsable Comparateurs / Plateforme emailing
Plebicom -  eBuyClub - Cashstore - Checkdeal

PLEBICOM – 29 avenue Joannes Masset – 69009 Lyon
Tel  : 04 72 85 81 49
Fax : 04 78 83 39 74

View raw message