Re: Synonyms in Search Results and More Accurate Matches

2015-12-01 Thread Jack Krupansky
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

Re: Synonyms in Search Results and More Accurate Matches

2015-12-01 Thread Erik Hatcher
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

Re: Synonyms in Search Results and More Accurate Matches

2015-12-01 Thread Brian Narsi
[1]: https://github.com/healthonnet/hon-lucene-synonyms > > M. > > -Original message- > > From:Brian Narsi > > Sent: Tuesday 1st December 2015 2:36 > > To: solr-user@lucene.apache.org > > Subject: Synonyms in Search Results and More Accurate Matches &g

RE: Synonyms in Search Results and More Accurate Matches

2015-12-01 Thread Markus Jelsma
solr-user@lucene.apache.org > Subject: Synonyms in Search Results and More Accurate Matches > > I am using edismax with mm=1 and qs=6 > > I have a field type with synonyms attached to it. > A sample synonym is: > > toothbrush tbrush > > For the following data: > >

Synonyms in Search Results and More Accurate Matches

2015-11-30 Thread Brian Narsi
I am using edismax with mm=1 and qs=6 I have a field type with synonyms attached to it. A sample synonym is: toothbrush tbrush For the following data: 1) Phillips toothbrush 2) Oral-B tbrush 3) Phillips Sonicare toothbrush If a user searches for q = tbrush I am getting 1), 3), 2) i.e. t