Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 16018 invoked from network); 14 Sep 2004 11:02:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Sep 2004 11:02:17 -0000 Received: (qmail 27579 invoked by uid 500); 14 Sep 2004 11:02:08 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 27486 invoked by uid 500); 14 Sep 2004 11:02:07 -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 27471 invoked by uid 99); 14 Sep 2004 11:02:07 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [143.205.118.212] (HELO proserver2.ifit.uni-klu.ac.at) (143.205.118.212) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 14 Sep 2004 04:02:07 -0700 Received: from [143.205.118.98] ([143.205.118.98]) by proserver2.ifit.uni-klu.ac.at over TLS secured channel with Microsoft SMTPSVC(5.0.2195.6713); Tue, 14 Sep 2004 13:04:05 +0200 Message-ID: <4146D023.4070709@ifit.uni-klu.ac.at> Date: Tue, 14 Sep 2004 13:04:03 +0200 From: sergiu gordea User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lucene Users List Subject: Re: Search PharseQuery References: <003101c49a47$1ecb4510$8714a8c0@ssl> In-Reply-To: <003101c49a47$1ecb4510$8714a8c0@ssl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 14 Sep 2004 11:04:05.0104 (UTC) FILETIME=[8CA41F00:01C49A4A] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N String queryString = "\"waht is java\""; Query q = QueryParser.parse(queryString, "field", new StandardAnalyzer()); System.out.println(q.toString()); This is enough for starting .... consult Lucene API for more information Sergiu Natarajan.T wrote: >Hi, > >Thanks for your mail, that link says only theoretically but I need some >sample.... > > >Regards, >Natarajan. > > >-----Original Message----- >From: Cocula Remi [mailto:rcocula@sopragroup.com] >Sent: Tuesday, September 14, 2004 2:58 PM >To: Lucene Users List >Subject: RE: Search PharseQuery > >Use QueryParser. >please take a look at >http://today.java.net/pub/a/today/2003/11/07/QueryParserRules.html >It's pretty clear. > > >-----Message d'origine----- >De : Natarajan.T [mailto:natarajant@crimsonlogic.co.in] >Envoy� : mardi 14 septembre 2004 11:26 >� : 'Lucene Users List' >Objet : Search PharseQuery > > >Hi All, > > > >How do I implement PharseQuery API? Pls send me some sample code.( How >can I handle "java is platform" as single word? > >) > > > >Regards, > >Natarajan. > > > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: lucene-user-help@jakarta.apache.org > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: lucene-user-help@jakarta.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org