Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@www.apache.org Received: (qmail 96067 invoked from network); 14 Feb 2004 01:10:23 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 14 Feb 2004 01:10:23 -0000 Received: (qmail 640 invoked by uid 500); 14 Feb 2004 01:10:05 -0000 Delivered-To: apmail-jakarta-lucene-dev-archive@jakarta.apache.org Received: (qmail 625 invoked by uid 500); 14 Feb 2004 01:10:04 -0000 Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Developers List" Reply-To: "Lucene Developers List" Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 610 invoked from network); 14 Feb 2004 01:10:04 -0000 Received: from unknown (HELO simmts8-srv.bellnexxia.net) (206.47.199.166) by daedalus.apache.org with SMTP; 14 Feb 2004 01:10:04 -0000 Received: from ace ([64.228.71.167]) by simmts8-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040214011009.ZCJY21310.simmts8-srv.bellnexxia.net@ace> for ; Fri, 13 Feb 2004 20:10:09 -0500 Message-ID: <002701c3f297$4bd91fd0$3f5cfea9@ace> From: "Paolo Spadafora" To: "lucene dev" Subject: Re: New Query Type(s) Date: Fri, 13 Feb 2004 20:10:12 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0024_01C3F26D.62EF41B0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0024_01C3F26D.62EF41B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Doug, did you implement such a feature yet? I know i am bothering you with = these phrasequery issues...sorry... and, thank you. We all appreciate you. Paolo. PS: search engine that support that use a sintax like: "a b c" w/10 "a f g"=20 for this type of query, users do not like to use "(" much.=20 Jochen wrote: > Please disregard my prior post. I see that I outed myself as stupid. This was not a stupid request, but a reasonable one. In fact I=20 currently have a contract to implement such a feature. It should show=20 up in the next month or so. Doug >>-----Original Message----- >>From: Jochen [mailto:lucenelist@quontis.com] >>Sent: Wednesday, January 07, 2004 8:48 AM >>To: 'Lucene Developers List' >>Subject: New Query Type(s) >> >>Lucene Gurus: >> >> After looking at and trying out lucene for quite some time (and >>liking it), I would like to create some advanced queries to speed up = our >>system. The first one I need to be as follows: >> >> (+"a b c" +"d e")~10 >> >> In other words, I need to run a query in where two phrases (for >>right now an exact match will be fine) are in some defined proximity = (in >>this example, I need "a b c" somewhere close to "d e"). >> >> The indexes created nicely support this kind of functionality, and >>the pieces of are all implemented (PhraseQuery, BooleanQuery, = PhraseQuery >>with Slop). However, I believe that they cannot be stringed together = with >>the current lucene version, to give me what I need. >> >> I have studied the code and I will write the code to create this >>type of query (and make it available, if I get it working), but I = would >>very >>much appreciate a high level roadmap from more experienced people = (i.e. >>create a new Query Object, change this and that object to do such and = such >>...). >> >> Cheers! >> Jochen ------=_NextPart_000_0024_01C3F26D.62EF41B0--