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 D32E7988D for ; Tue, 14 Feb 2012 11:58:12 +0000 (UTC) Received: (qmail 46581 invoked by uid 500); 14 Feb 2012 11:54:46 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 24574 invoked by uid 500); 14 Feb 2012 11:52:47 -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 5674 invoked by uid 99); 14 Feb 2012 10:04:24 -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 10:04:24 +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 10:04: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 0302A1B64FE for ; Tue, 14 Feb 2012 10:04:00 +0000 (UTC) Date: Tue, 14 Feb 2012 10:04:00 +0000 (UTC) From: "Dmitry Kan (Commented) (JIRA)" To: dev@lucene.apache.org Message-ID: <1009761142.35898.1329213840013.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= 07614#comment-13207614 ]=20 Dmitry Kan commented on LUCENE-3758: ------------------------------------ Hello! If I were to implement two different versions of span near queries: with or= der and without order, would this class be the right point to start? I'm thinking to add support for new query operator that would support order= of terms in the near query, as (if I correctly understand), "~" operator d= oesn't preserve the order. =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