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 1717911742 for ; Sat, 19 Jul 2014 20:40:57 +0000 (UTC) Received: (qmail 20305 invoked by uid 500); 19 Jul 2014 20:40:53 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 20233 invoked by uid 500); 19 Jul 2014 20:40:53 -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 20218 invoked by uid 99); 19 Jul 2014 20:40:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jul 2014 20:40:53 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of erickerickson@gmail.com designates 209.85.220.176 as permitted sender) Received: from [209.85.220.176] (HELO mail-vc0-f176.google.com) (209.85.220.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jul 2014 20:40:48 +0000 Received: by mail-vc0-f176.google.com with SMTP id id10so5080116vcb.7 for ; Sat, 19 Jul 2014 13:40:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=tTSuKDEBadKYYxvr0KezTpWxQ5IRGz+VdEp/qaCvEoQ=; b=jKsaWn4NTrchyiSXfolX35OCcBb3YGe+T9jAQUaWzM1fH62msSCosr/gMMQFoo5kwN D7fYW+RTDBn/1I6tVDNa29clGaNs/RFX9Xiuok73+6DRPEvDkoaCEZKJWL0n5ijMawsG QHz3lcOJTHisHz3qnkg8m8s9Jmqsb2U6xhTLcsQplmFYOgYBRSlpVgzAJ5la3M1zFcHQ V9UXCDmStmV9uRYuoh0IUcDlboamyEIhgu2Z539ri9zmNO6H/gyo+GUCqAdqHGW8rpJy 0r6yVRdlJrMYCD5yFHgBAxY+u0VerIVvZNyGYBzhuliY9HCgGD0tJhvzW4tm1F/yHNt2 KX+g== MIME-Version: 1.0 X-Received: by 10.221.41.135 with SMTP id tu7mr100046vcb.70.1405802427928; Sat, 19 Jul 2014 13:40:27 -0700 (PDT) Received: by 10.52.120.106 with HTTP; Sat, 19 Jul 2014 13:40:27 -0700 (PDT) In-Reply-To: <47bfba36c9a3435f802e1aed59488c21@FE-MBX1004.de.bosch.com> References: <47bfba36c9a3435f802e1aed59488c21@FE-MBX1004.de.bosch.com> Date: Sat, 19 Jul 2014 13:40:27 -0700 Message-ID: Subject: Re: text search problem From: Erick Erickson To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=001a1133901c57b69104fe91e2de X-Virus-Checked: Checked by ClamAV on apache.org --001a1133901c57b69104fe91e2de Content-Type: text/plain; charset=UTF-8 Try adding &debug=all to the query and see what the parsed form of the query is, likely you're 1> using phrase queries, so "broadway hotel" requires both words in the text or 2> if you're not using phrases, you're searching for the AND of the two terms. But debug=all will show you. Plus, take a look at the admin/analysis page, your tokenization may not be what you expect. Best, Erick On Fri, Jul 18, 2014 at 2:00 PM, EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions) wrote: > Hi, Below is the text_general field type when I search Text:Boradway it > is not returning all the records, it returning only few records. But when I > search for Text:*Broadway*, it is getting more records. When I get into > multiple words ln search like "Broadway Hotel", it may not get "Broadway" , > "Hotel" & "Broadway Hotel". DO you have any thought how to handle these > type of keyword search. > > Text:"Broadway,Vehicle Detailing,Water Systems,Vehicle Detailing,Car Wash > Water Recovery" > > My Field type look like this. > > positionIncrementGap="100"> > > > > words="stopwords.txt" /> > > > generateWordParts="0" generateNumberParts="0" splitOnCaseChange="0" > splitOnNumerics="0" stemEnglishPossessive="0" catenateWords="1" > catenateNumbers="1" catenateAll="1" preserveOriginal="0"/> > > > > > > > > > words="stopwords.txt" /> > ignoreCase="true" expand="true"/> > > generateWordParts="0" generateNumberParts="0" splitOnCaseChange="0" > splitOnNumerics="0" stemEnglishPossessive="0" catenateWords="1" > catenateNumbers="1" catenateAll="1" preserveOriginal="0"/> > > > > > > > Do you have any thought the behavior or how to get this? > > Thanks > > Ravi > --001a1133901c57b69104fe91e2de--