Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@locus.apache.org Received: (qmail 23499 invoked from network); 11 Dec 2007 20:54:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Dec 2007 20:54:06 -0000 Received: (qmail 93505 invoked by uid 500); 11 Dec 2007 20:53:54 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 93480 invoked by uid 500); 11 Dec 2007 20:53:54 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 93471 invoked by uid 99); 11 Dec 2007 20:53:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Dec 2007 12:53:54 -0800 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Dec 2007 20:53:32 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1J2C6h-0006OW-CP for solr-dev@lucene.apache.org; Tue, 11 Dec 2007 12:53:35 -0800 Message-ID: <14283175.post@talk.nabble.com> Date: Tue, 11 Dec 2007 12:53:35 -0800 (PST) From: anuvenk To: solr-dev@lucene.apache.org Subject: Need an explanation for this synonym behaviour MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: anuvenkatesh@hotmail.com X-Virus-Checked: Checked by ClamAV on apache.org 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 +(((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 Also a search for 'specialized license plate' doesn't bring up personalized licensed plate results at all. Here is the 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 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.