Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 53238 invoked from network); 3 Mar 2008 15:19:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Mar 2008 15:19:04 -0000 Received: (qmail 11033 invoked by uid 500); 3 Mar 2008 15:18:52 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 11009 invoked by uid 500); 3 Mar 2008 15:18:52 -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 10994 invoked by uid 99); 3 Mar 2008 15:18:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2008 07:18:52 -0800 X-ASF-Spam-Status: No, hits=3.5 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of erickerickson@gmail.com designates 209.85.134.185 as permitted sender) Received: from [209.85.134.185] (HELO mu-out-0910.google.com) (209.85.134.185) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2008 15:18:17 +0000 Received: by mu-out-0910.google.com with SMTP id g7so121175muf.0 for ; Mon, 03 Mar 2008 07:17:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=a9QMpEv57DNGnt9nzq0n2r5vkhCO5V2q7p+iBSeLreo=; b=kS0h6Sk/T6ixEWJ8it+F4vmvcdYa1Zouh5OjdPZChPOgcMUfq3ZyEV4SIhXV8/yV1ZW1y+SPEkRxLvo3TX+xZtWMKlR2xGLzNq8cG/Dao0t3nVVnge2g94jLKmHFodKl9z0k+QV0hYsNb6es87j5KR0r9Vz94pQIHTHwcBoOTFU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=vmlgobctR7sf58n2lYYiHUipX9CvuStYlXLYknYvGFcHAZ492qmmIGUS5HsKcTtgm5Zi4u5T6Q0b1V8MuXEVcAJWuR+Odu1l5ZnyuV6eOBBH+7mS8s4nX92x7H32Dw20pRL1tjWe+pB9bQ6TnDYARaSjOKhsDc4LC+xXoKg1xP0= Received: by 10.82.105.13 with SMTP id d13mr23268820buc.28.1204555250246; Mon, 03 Mar 2008 06:40:50 -0800 (PST) Received: by 10.82.151.7 with HTTP; Mon, 3 Mar 2008 06:40:50 -0800 (PST) Message-ID: <359a92830803030640n1be9d74dsd295696a4ba3ed6d@mail.gmail.com> Date: Mon, 3 Mar 2008 09:40:50 -0500 From: "Erick Erickson" To: java-user@lucene.apache.org Subject: Re: how do i search clause In-Reply-To: <3126751e0803022256g4e047e7dpf0b4ca8dd0d943eb@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_34798_19761850.1204555250187" References: <3126751e0803022256g4e047e7dpf0b4ca8dd0d943eb@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_34798_19761850.1204555250187 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Well, you can use PhraseQuery or, if you're using the usual QueryParser, enclose your phrase in quotes. You should probably look at the syntax explanations on the Lucene site... Best Erick On Mon, Mar 3, 2008 at 1:56 AM, anjana m wrote: > "Rats give clue to > smoking >i > want to search with this clause > my serach is serachinf or a single input word. > How do i enhacne it to serach for a cluase. > please provide me nfo and classes that i need to use. > > thanks and regards > anjnana > ------=_Part_34798_19761850.1204555250187--