Show us your qf and pf params. Do you have PF2 set? That's the key for
getting the phrase "engineer boots" boosted higher than just boots. You may
also simply have to give a higher PF2 boost since "boots" probably has a
much higher term frequency than "engineer" or even the natural Lucene score
for "engineer boot".
Also check the &debugQuery=true "explain" scoring to see how engineer, boot,
and "engineer boot" are being scored - you may have to add some specific
query phrases to force "engineer boot" into the top results to comparing the
scoring.
-- Jack Krupansky
-----Original Message-----
From: David Quarterman
Sent: Tuesday, February 19, 2013 6:21 AM
To: solr-user@lucene.apache.org
Subject: Edismax odd results
Hi all,
We have an index of boots which contains harness boots, engineer boots ,
ankle boots, etc. An edismax search on the index for 'harness boots' brings
back 2,175 boots with 'harness' results at the top. 'Searching 'engineer
boots' brings back everything but 'engineer boots', same for 'ankle boots' -
in fact, same result set of 1,873 mostly boots but a few other products
mixed in.
We're on SOLR 4.0 and the field we're querying is stemmed (snowball),
lowercased on WhiteSpaceTokenizer. Any ideas?
Regards,
David Q