Index-time synonym expansion maximizes recall (not missing any documents,
especially partial matches), but minimizes precision and relevancy - you
are unable to select or boost exact matches. Ditto for ngrams.
As Erik indicates, using edismax with separate fields for precision (exact
matches) and
One technique that works well is to use copyField to end up with two indexed
fields, one with synonyms, one without. Then you can qf=title^5
title_with_synonyms^1 with edismax and weight the “exacter” field higher than
one with synonyms.
—
Erik Hatcher, Senior Solutions Architect
http://www.lu
I do not have synonyms enabled at query time. Below is my fieldtype
On Tue, Dec 1, 2015 at 4:18 AM, Markus Jelsma
wrote:
> Hello - it looks like you have synonyms enabled at query time, which is
> fine, but also means TF*IDF stats are different for tbrush and toothbrush,
> causing t
Hello - it looks like you have synonyms enabled at query time, which is fine,
but also means TF*IDF stats are different for tbrush and toothbrush, causing
this order to be the way it is. There is no solution available in Solr right
now that would boost user-entered terms over expanded synonyms b