Here's the issue I am still having with getting the right search relevancy with the synonym plugin in place. We typically have users searching on multiple terms, and we want matches across multiple terms, particularly those that appears as phrases, to appear higher than matches for the same term multiple times. The synonym filter makes this complicated since we may have cases where the term the user enters, like "sbc", maps to a multi-term synonym like "small block", and we always want the matches for the original term to pop up first, so I'm trying to make sure the original boost is high enough to override a phrase boost that the multi-term synonym would give. Unfortunately this then means matches on the same term multiple times get pushed up over my phrase matches...those aren't going to be the most relevant matches. Not sure there's a way to solve this successfully, without a completely different approach to the synonyms... or not counting the number of matches on terms (I assume you can drop that ability, although that's not ideal either...just better than what I have now).
MJ Sent with MailTrack <https://mailtrack.io/install?source=signature&lang=en&referral=mjsmin...@gmail.com&idSignature=22> On Mon, Jun 6, 2016 at 9:39 PM, MaryJo Sminkey <mjsmin...@gmail.com> wrote: > > On Mon, Jun 6, 2016 at 7:36 PM, Joe Lawson < > jlaw...@opensourceconnections.com> wrote: > >> >> We were thinking, as you experimented with, that the 0.5 and 2.0 boosts >> were no match for the product name and keyword field boosts so that would >> influence your search as well. > > > > Yeah I definitely will have to play with the values a bit as we want the > product name matches to always appear highest, whether original or > synonyms, but I'll have to figure out how to get that result without one > word terms that have multi word synonyms getting overly boosted for a > phrase match.... while still sufficiently boosting the normal phrase match > stuff too. With the normal synonym filter I was able to just copy fields > that could have synonyms to a new field (which would be the only one with > the synonym filter), and use a different, lower boost on those fields, but > that won't work with this plugin which applies across everything in the > query. Makes it a bit more complicated to get everything just right. > > MJ > > > Sent with MailTrack > <https://mailtrack.io/install?source=signature&lang=en&referral=mjsmin...@gmail.com&idSignature=22> >