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 102301082B for ; Wed, 24 Apr 2013 14:36:19 +0000 (UTC) Received: (qmail 1667 invoked by uid 500); 24 Apr 2013 14:36:15 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 1595 invoked by uid 500); 24 Apr 2013 14:36:15 -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 1586 invoked by uid 99); 24 Apr 2013 14:36:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Apr 2013 14:36:15 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of SRS0=2LH5Wm=OL=basetechnology.com=jack@yourhostingaccount.com designates 65.254.253.146 as permitted sender) Received: from [65.254.253.146] (HELO mailout18.yourhostingaccount.com) (65.254.253.146) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Apr 2013 14:36:10 +0000 Received: from mailscan13.yourhostingaccount.com ([10.1.15.13] helo=mailscan13.yourhostingaccount.com) by mailout18.yourhostingaccount.com with esmtp (Exim) id 1UV0nV-0000Gl-Cw for solr-user@lucene.apache.org; Wed, 24 Apr 2013 10:35:49 -0400 Received: from impout02.yourhostingaccount.com ([10.1.55.2] helo=impout02.yourhostingaccount.com) by mailscan13.yourhostingaccount.com with esmtp (Exim) id 1UV0nV-0000dF-4p for solr-user@lucene.apache.org; Wed, 24 Apr 2013 10:35:49 -0400 Received: from authsmtp09.yourhostingaccount.com ([10.1.18.9]) by impout02.yourhostingaccount.com with NO UCE id Tqbo1l00F0BkWne01qboAg; Wed, 24 Apr 2013 10:35:48 -0400 X-Authority-Analysis: v=2.0 cv=HIVB5/Rv c=1 sm=1 a=UdCbmyego4VUa/xJBgcoFg==:17 a=aQzbgH187woA:10 a=0dLqY9V3pk8A:10 a=3jZET7lWBKwA:10 a=8nJEP1OIZ-IA:10 a=jvYhGVW7AAAA:8 a=r-EKSa19c2YA:10 a=mV9VRH-2AAAA:8 a=9I5xiGouAAAA:8 a=VOVAIkswXbyUDC0aKv4A:9 a=wPNLvfGTeEIA:10 a=GZDE1sbo7toA:10 a=2fPOlPt4dusA:10 a=6Nsp9XPxgQEopsMv/m97rg==:117 X-EN-OrigOutIP: 10.1.18.9 X-EN-IMPSID: Tqbo1l00F0BkWne01qboAg Received: from 207-237-114-232.c3-0.nyr-ubr1.nyr.ny.cable.rcn.com ([207.237.114.232] helo=JackKrupansky) by authsmtp09.yourhostingaccount.com with esmtpa (Exim) id 1UV0nN-0003tJ-I3 for solr-user@lucene.apache.org; Wed, 24 Apr 2013 10:35:42 -0400 Message-ID: From: "Jack Krupansky" To: References: <1366811036819-4058581.post@n3.nabble.com> In-Reply-To: <1366811036819-4058581.post@n3.nabble.com> Subject: Re: solr.StopFilterFactory doesn't work with wildcard Date: Wed, 24 Apr 2013 10:35:37 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3555.308 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308 X-EN-UserInfo: e0a4b55451ed9f27313ebf02e3d4348d:fc4a93e1349e680c52bdd723c0ab3ef6 X-EN-AuthUser: jack@basetechnology.com Sender: "Jack Krupansky" X-EN-OrigIP: 207.237.114.232 X-EN-OrigHost: 207-237-114-232.c3-0.nyr-ubr1.nyr.ny.cable.rcn.com X-Virus-Checked: Checked by ClamAV on apache.org Well, what is happening is that the query parser detects a "prefix query" ("series*") and then does a term analysis on the prefix alone ("series"), which you probably have in your stop words list, which causes the analyzer to return... nothing, which is what the error is complaining about. You can workaround my querying for serie* (as long as "serie" is not also a stop word. In any case, technically, the stop filter is doing exactly what it is supposed to do. In all honesty, I can't imagine a context in which a noun such as "series" would be on a stop word list. What's your thinking on why it is there?? -- Jack Krupansky -----Original Message----- From: Dmitry Baranov Sent: Wednesday, April 24, 2013 9:43 AM To: solr-user@lucene.apache.org Subject: solr.StopFilterFactory doesn't work with wildcard Good day! I have a problem with the solr.StopFilterFactory and wildcard text search. For query like this 'hp* pavilion* series* d4*', where 'series' is stop word, I recieve error: 'analyzer returned no terms for multiTerm term: series' But for query like this 'hp* pavilion* series d4*', I recieve expected results. Could you help me? I have field type for search as below: Solr version: solr-spec 4.0.0.2012.10.06.03.04.33 solr-impl 4.0.0 1394950 - rmuir - 2012-10-06 03:04:33 lucene-spec 4.0.0 lucene-impl 4.0.0 1394950 - rmuir - 2012-10-06 03:00:40 -- View this message in context: http://lucene.472066.n3.nabble.com/solr-StopFilterFactory-doesn-t-work-with-wildcard-tp4058581.html Sent from the Solr - User mailing list archive at Nabble.com.