Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A0439CF7 for ; Thu, 30 Aug 2012 20:17:46 +0000 (UTC) Received: (qmail 40352 invoked by uid 500); 30 Aug 2012 20:17:43 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 40218 invoked by uid 500); 30 Aug 2012 20:17:42 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 40206 invoked by uid 99); 30 Aug 2012 20:17:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2012 20:17:42 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FSL_RCVD_USER,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of szhang715@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2012 20:17:33 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1T7BAu-0003qR-3G for solr-user@lucene.apache.org; Thu, 30 Aug 2012 13:17:12 -0700 Date: Thu, 30 Aug 2012 13:17:12 -0700 (PDT) From: zsy715 To: solr-user@lucene.apache.org Message-ID: <1346357832053-4004485.post@n3.nabble.com> Subject: about phrase synonyms MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I am new to Solr. Now I have got a problem so I hope you guys can help me out. In my synonyms.txt file I have got a lot of phrases like following: ecu,electronic control unit,environmental control unit, when I query ecu, the debugQuery shows this: "parsedquery":"+DisjunctionMaxQuery((symptom:\"(ecu electron environment) control unit\"))", "parsedquery_toString":"+(symptom:\"(ecu electron environment) control unit\")", This is not what I expect. I have set expand="true" for SynonymFilterFactory. So anyone can help me? Best, Andy -- View this message in context: http://lucene.472066.n3.nabble.com/about-phrase-synonyms-tp4004485.html Sent from the Solr - User mailing list archive at Nabble.com.