Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 83500 invoked from network); 9 Mar 2005 09:15:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Mar 2005 09:15:40 -0000 Received: (qmail 9255 invoked by uid 500); 9 Mar 2005 09:15:35 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 9221 invoked by uid 500); 9 Mar 2005 09:15:35 -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 9208 invoked by uid 500); 9 Mar 2005 09:15:35 -0000 Delivered-To: apmail-jakarta-lucene-user@jakarta.apache.org Received: (qmail 9205 invoked by uid 99); 9 Mar 2005 09:15:35 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=HTML_MESSAGE,SUBJ_ALL_CAPS,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from daakghar.controlnet.co.in (HELO daakghar.controlnet.co.in) (203.199.26.74) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 09 Mar 2005 01:15:34 -0800 Received: from kartik1 ([192.168.4.1]) by dakiya.controlnet.co.in (Netscape Messaging Server 4.15) with ESMTP id ID2VUU00.H3U for ; Wed, 9 Mar 2005 15:02:54 +0530 From: "Karthik N S" To: "LUCENE" Subject: SPAN QUERY [HOW TO] Date: Wed, 9 Mar 2005 14:52:21 +0530 Message-ID: MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_0002_01C524B7.98E6E110" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0002_01C524B7.98E6E110 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0003_01C524B7.98E6E110" ------=_NextPart_001_0003_01C524B7.98E6E110 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi Guys Apologies.......... The new Feature of lucene 'span query' really is interesting But need expert suggestions on achieveing the same. I have 3 documents Document 1 contains = ELECTRONICS DIGITAL CAMERA Document 2 contains = ELECTRONICS DIGITAL CAMERA 0PTICS Document 3 contains = ELECTRONICS DIGITAL CAMERA ACCESSIORIES search word = " DIGITAL CAMERA " Returned hits = 1st doc ONLY [ 2 and 3rd document should not be in the hit ] SpanQuery /PharseQuery ???? How would one achieve this ??? Please WITH WARM REGARDS HAVE A NICE DAY [ N.S.KARTHIK] ------=_NextPart_001_0003_01C524B7.98E6E110 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi =20

Guys

Apologies..........

 

The new=20 Feature of lucene 'span query' really is = interesting

But need=20 expert suggestions on achieveing the same.

I have 3=20 documents

Document 1=20 contains   =3D  ELECTRONICS  DIGITAL CAMERA =
Document 2=20 contains   =3D  ELECTRONICS  = DIGITAL=20 CAMERA 0PTICS
Document 3 contains  = =3D  =20 ELECTRONICS  DIGITAL CAMERA = ACCESSIORIES

 

search word=20 =3D " DIGITAL CAMERA "

Returned=20 hits  =3D 1st doc   ONLY [ 2 and 3rd document should not = be in the=20 hit ]

SpanQuery /PharseQuery  = ????

 

How would=20 one achieve this ??? Please

 


WITH WARM REGARDS
HAVE A = NICE DAY
[=20 N.S.KARTHIK]

------=_NextPart_001_0003_01C524B7.98E6E110-- ------=_NextPart_000_0002_01C524B7.98E6E110--