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 85522F44E for ; Wed, 3 Apr 2013 23:37:33 +0000 (UTC) Received: (qmail 41279 invoked by uid 500); 3 Apr 2013 23:37:30 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 41154 invoked by uid 500); 3 Apr 2013 23:37:30 -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 41145 invoked by uid 99); 3 Apr 2013 23:37:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Apr 2013 23:37:30 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of skmirch@hotmail.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Apr 2013 23:37:23 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UNXEk-0005KL-Ri for solr-user@lucene.apache.org; Wed, 03 Apr 2013 16:37:02 -0700 Date: Wed, 3 Apr 2013 16:37:02 -0700 (PDT) From: skmirch To: solr-user@lucene.apache.org Message-ID: <1365032222848-4053674.post@n3.nabble.com> In-Reply-To: <1365028115283-4053650.post@n3.nabble.com> References: <1364860210356-4053038.post@n3.nabble.com> <1365009545219-4053534.post@n3.nabble.com> <8F0D0142CA7ECC4287A9EC1BD8CB880C1A043639D4@USLVDCMBVP01.ingramcontent.com> <1365028115283-4053650.post@n3.nabble.com> Subject: RE: Solr Multiword Search MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org The following query is doing a word search (based on my previous post)... solr/spell?q=(charles+and+the+choclit+factory+OR+(title2:("charles+and+the+choclit+factory")))&spellcheck.collate=true&spellcheck=true&spellcheck.q=charles+and+the+choclit+factory It produces a lot of unwanted matches. In order to do a phrase search, I changed it to: solr/spell?q=("charles+and+the+choclit+factory"+OR+(title2:("charles+and+the+choclit+factory")))&spellcheck.collate=true&spellcheck=true&spellcheck.q=charles+and+the+choclit+factory It does not find any match for the words in the phrase I am looking for and does poorly in the suggested collations. I want phrase corrections. How do I achieve this? "charles and the chocolit factory" produces the following collations: false charles and the chocolat factory 2849777 charles and the chocolat factory charles and the chocalit factory 2849464 charles and the chocalit factory charles and the chocolat factors 2841190 charles and the chocolat factors charley and the chocolat factory 2827908 charley and the chocolat factory charles and the chocalit factors 2840877 charles and the chocalit factors charles and the chocklit factory 2849464 charles and the chocklit factory charles and the chocolat factorz 2841173 charles and the chocolat factorz charley and the chocalit factory 2827595 charley and the chocalit factory charley and the chocolat factors 2819321 charley and the chocolat factors charlies and the chocolat factory 2826661 charlies and the chocolat factory Notice number of hits. This does not look right? Please help. Thanks. -- Sandeep -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Multiword-Search-tp4053038p4053674.html Sent from the Solr - User mailing list archive at Nabble.com.