Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 51982 invoked from network); 10 Sep 2008 16:28:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Sep 2008 16:28:05 -0000 Received: (qmail 43449 invoked by uid 500); 10 Sep 2008 16:27:55 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 43420 invoked by uid 500); 10 Sep 2008 16:27:55 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 43409 invoked by uid 99); 10 Sep 2008 16:27:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2008 09:27:55 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [128.230.108.46] (HELO SUEXCL-02.ad.syr.edu) (128.230.108.46) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2008 16:26:58 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Re: Replacing FAST functionality at sesam.no-ShingleFilter+exactmatching Date: Wed, 10 Sep 2008 12:27:04 -0400 Message-ID: <9294E20AED46934EA459020706463F94EF382A@SUEXCL-02.ad.syr.edu> In-Reply-To: A<1221062533.8908.63.camel@localhost> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re: Replacing FAST functionality at sesam.no-ShingleFilter+exactmatching Thread-Index: AckTXndUByBJin1LReezckwdqzGUQQAALT5Q From: "Steven A Rowe" To: X-Virus-Checked: Checked by ClamAV on apache.org On 09/10/2008 at 12:02 PM, Mck wrote: > > > But this does not return the hits i want. > >=20 > > Have you tried submitting the query without quotes? (That's where = the > > PhraseQuery likely comes from.) >=20 > Yes. It does not work. It returns just the unigrams, again the same > behaviour as mentioned earlier. >=20 > Debugging ShingleFilter in this case it shows that no > shingles are ever constructed. There are 3 separate tokens in the > query and that's all. >=20 > The ShingleFilter appears to only work, at least for me, on phrases. > I would think this correct as each shingle is in fact a sub-phrase to > the larger original phrase. Is that presumption correct? ShingleFilter has nothing to do with phrase queries (other than the fact = that it can be used to replace them in some circumstances). I'm not an expert on Solr query parsing, but there *must* be a way to = submit a query that is not turned into a phrase query. Really. =20 And if you have configured an analyzer that includes a query-time = filter, it should be invoked, regardless of whether a phrase query is = constructed. Steve --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org