lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anuvenk <anuvenkat...@hotmail.com>
Subject Need an explanation for this synonym behaviour
Date Tue, 11 Dec 2007 20:53:35 GMT

Hi,

  I have some trouble with my synonyms..
I just added this synonym:
specialized license plate,personalized license plate

I tried the search term:
florida specialized license plate

The results i hoped for:
I have a personalized license form for the state florida in my index. I was
hoping that would come up first.

The results i got:
All specialized license plate forms from all other states in the top 50
I see the florida personalized license plate form only if i choose the state
florida filter.

Here is the parsedquery_tostring
<str name="parsedquery_toString">
+(((text:florida^0.8 | name:florida^2.0)~0.01 (text:special^0.8 |
name:special^2.0)~0.01 (text:licens^0.8 | name:licens^2.0)~0.01
(text:plate^0.8 | name:plate^2.0)~0.01)~3) (text:"florida (special person)
licens plate"~50^0.8 | name:"florida special licens plate"~50^2.0)~0.01
</str>


Also a search for 'specialized license plate' doesn't bring up personalized
licensed plate results at all.
Here is the parsedquery_tostring
<str name="parsedquery_toString">
+(((text:special^0.8 | name:special^2.0)~0.01 (text:licens^0.8 |
name:licens^2.0)~0.01 (text:plate^0.8 | name:plate^2.0)~0.01)~3)
(text:"(special person) licens plate"~50^0.8 | name:"special licens
plate"~50^2.0)~0.01
</str>

Why this behaviour. How should i modify the synonym mapping in order to get
the expected results?

I passing the synonym filter only at query time and have expand=true

I've been stuck with this issue for quite sometime..Help please !!!!
-- 
View this message in context: http://www.nabble.com/Need-an-explanation-for-this-synonym-behaviour-tp14283175p14283175.html
Sent from the Solr - Dev mailing list archive at Nabble.com.


Mime
View raw message