Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 95885 invoked from network); 24 Nov 2001 10:33:24 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 24 Nov 2001 10:33:24 -0000 Received: (qmail 11805 invoked by uid 97); 24 Nov 2001 10:33:35 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 11765 invoked by uid 97); 24 Nov 2001 10:33:33 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 11754 invoked from network); 24 Nov 2001 10:33:32 -0000 From: rahul.sawhney@philips.com Subject: query parser and specific type of query To: lucene-user@jakarta.apache.org X-Mailer: Lotus Notes Release 5.0.5 September 22, 2000 Message-ID: Date: Sat, 24 Nov 2001 15:54:22 +0530 X-MIMETrack: Serialize by Router on ehv001soh/H/SERVER/PHILIPS(Release 5.0.5 |September 22, 2000) at 24/11/2001 11:33:52 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I would like to know how to do the following using Lucene: I index some file containing a string "king of spades" using stop analyzer. The analyzer filters out "of" in the above string since it is not useful for searching and indexes king and spades. Its fine till this point. Now i would like to search for the same string "king of spades". My questions are, 1. If i want to generate a PhraseQuery from the QueryParser using StopAnalyzer, what should be done? 2. If i want to generate a FuzzyQuery from the QueryParser using StopAnalyzer, what should be done? thanks for any help, regards, ==Rahul== ------------------------------------------- rahul.sawhney@philips.com Ph: 5579000 Extn: 1029 ------------------------------------------- -- To unsubscribe, e-mail: For additional commands, e-mail: