Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A21FB9C7D for ; Tue, 14 Feb 2012 14:18:23 +0000 (UTC) Received: (qmail 33736 invoked by uid 500); 14 Feb 2012 14:18:22 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 33695 invoked by uid 500); 14 Feb 2012 14:18:22 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 33688 invoked by uid 99); 14 Feb 2012 14:18:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2012 14:18:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2012 14:18:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6384D1B7B19 for ; Tue, 14 Feb 2012 14:17:59 +0000 (UTC) Date: Tue, 14 Feb 2012 14:17:59 +0000 (UTC) From: =?utf-8?Q?Tom=C3=A1s_Fern=C3=A1ndez_L=C3=B6bbe_=28Commented=29_=28JIRA=29?= To: dev@lucene.apache.org Message-ID: <1739214128.36441.1329229079409.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1698589914.9904.1328644380171.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3758) Allow the ComplexPhraseQueryParser to search order or un-order proximity queries. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-3758?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D132= 07729#comment-13207729 ]=20 Tom=C3=A1s Fern=C3=A1ndez L=C3=B6bbe commented on LUCENE-3758: ----------------------------------------------- Basically, a search like '"foo bar"#2' would match documents with the terms= "foo" and "bar" with up to 2 positions of distance from each other and onl= y if "foo" is before "bar"? =20 > Allow the ComplexPhraseQueryParser to search order or un-order proximity = queries. > -------------------------------------------------------------------------= -------- > > Key: LUCENE-3758 > URL: https://issues.apache.org/jira/browse/LUCENE-3758 > Project: Lucene - Java > Issue Type: Improvement > Components: core/queryparser > Affects Versions: 4.0 > Reporter: Tom=C3=A1s Fern=C3=A1ndez L=C3=B6bbe > Priority: Minor > Fix For: 4.0 > > Attachments: LUCENE-3758.patch > > > The ComplexPhraseQueryParser use SpanNearQuery, but always set the "inOrd= er" value hardcoded to "true". This could be configurable. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org