Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 9215 invoked from network); 17 Sep 2009 22:32:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Sep 2009 22:32:33 -0000 Received: (qmail 90192 invoked by uid 500); 17 Sep 2009 22:32:31 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 90114 invoked by uid 500); 17 Sep 2009 22:32:31 -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 90104 invoked by uid 99); 17 Sep 2009 22:32:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 22:32:30 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [77.238.184.38] (HELO smtp106.mail.ukl.yahoo.com) (77.238.184.38) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 17 Sep 2009 22:32:21 +0000 Received: (qmail 4025 invoked from network); 17 Sep 2009 22:31:59 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:Mime-Version:Content-Type:Subject:Date:In-Reply-To:To:References:Message-Id:X-Mailer; b=IPet0yGITYfhY8XzKF/84YxrCtasD9lOFgJTCg8Y30A7faOigCZGgFK/a+5ReAdSRJn4cvi0s5fPvJFkmhnJqKV9aX4SK5renbg2v1uQsPBcLWBtUqEhovFPkGthNP/LS5Y7lCJgaKTAv1Z+6NIRIf6XPz+XtbZlYrsQ1Q6IbEg= ; Received: from i-194-106-34-5.freedom2surf.net (markharw00d@194.106.34.5 with plain) by smtp106.mail.ukl.yahoo.com with SMTP; 17 Sep 2009 22:31:59 +0000 GMT X-Yahoo-SMTP: rdTGKYaswBBzjeOz17cOw.4gNsDMDjs6 X-YMail-OSG: DtDgrY0VM1klkagEdWmoqEBPThJBkaqeWiwfqcZdg1Jvu3ZjMayg7JJjU0bRUIqTuJuGVooVAq1jIYTu9FSAZzsk3lJfCOsJz0LaRsrq6ogERbugexHaEBs0bICX3D4s2eh3d7uvF7Ie5IFb2PrYidsw6uPH4wO5ADTbe3Viyc6JNAWWlAjHj2mz7PLv_Ik_ds66MRs3v2WpN_slUzUhkvvRVANhfYvsANuW6T3kUBdnhGeaaNlbbjJCz8Jd8wCgofKJ3ccrB5aVvN1tvS5fIhw.9gXOR.vOsvYrwI6m X-Yahoo-Newman-Property: ymail-3 From: Mark Harwood Mime-Version: 1.0 (Apple Message framework v1075.2) Content-Type: multipart/alternative; boundary=Apple-Mail-8-41610731 Subject: Re: How to perform a phrase "begins with" query? Date: Thu, 17 Sep 2009 23:31:57 +0100 In-Reply-To: <5B20DEF02611534DB08854076CE825D8037FA3B6@sc1exc2.corp.emainc.com> To: java-user@lucene.apache.org References: <5B20DEF02611534DB08854076CE825D8037FA3B6@sc1exc2.corp.emainc.com> Message-Id: <81608FC2-D067-40F0-8C57-E7DFDD6F6395@yahoo.co.uk> X-Mailer: Apple Mail (2.1075.2) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-8-41610731 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed > Since you can't (and it doesn't make sense to) use wildcards in phrase > queries, You can with this: http://svn.apache.org/repos/asf/lucene/java/trunk/contrib/misc/src/java/org/apache/lucene/queryParser/complexPhrase/ Discussion here: http://tinyurl.com/lrnage Cheers, Mark --Apple-Mail-8-41610731--