Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 49422 invoked from network); 17 Jun 2010 22:20:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Jun 2010 22:20:04 -0000 Received: (qmail 64739 invoked by uid 500); 17 Jun 2010 22:20:02 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 64686 invoked by uid 500); 17 Jun 2010 22:20:01 -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 64678 invoked by uid 99); 17 Jun 2010 22:20:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jun 2010 22:20:01 +0000 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [74.125.83.48] (HELO mail-gw0-f48.google.com) (74.125.83.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jun 2010 22:19:55 +0000 Received: by gwaa18 with SMTP id a18so365253gwa.35 for ; Thu, 17 Jun 2010 15:19:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.160.8 with SMTP id i8mr123000ybe.395.1276813174065; Thu, 17 Jun 2010 15:19:34 -0700 (PDT) Received: by 10.151.41.9 with HTTP; Thu, 17 Jun 2010 15:19:34 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Jun 2010 18:19:34 -0400 Message-ID: Subject: Re: phrase search in a particular case From: Michael McCandless To: java-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 SpanFirstQuery? Mike On Thu, Jun 17, 2010 at 3:23 PM, rakesh rakesh wrote: > Hi, > > I have thousands of article titles in lucene index. So for a query "Oil > spill" I want to return all the article title starts with "Oil spill". I do > not want those titles which has this phrase but do not start with this. > > Can anyone help me. > > Thanks in advance > > Thanks > rakesh > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org