Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 49698 invoked from network); 20 Aug 2008 04:40:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Aug 2008 04:40:49 -0000 Received: (qmail 29197 invoked by uid 500); 20 Aug 2008 04:40:41 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 29156 invoked by uid 500); 20 Aug 2008 04:40:41 -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 29145 invoked by uid 99); 20 Aug 2008 04:40:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2008 21:40:41 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [203.217.22.128] (HELO web1.nuix.com.au) (203.217.22.128) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2008 04:39:45 +0000 Received: from [192.168.222.60] (unknown [192.168.222.60]) by web1.nuix.com.au (Postfix) with ESMTP id 786704ED8CA for ; Wed, 20 Aug 2008 14:39:48 +1000 (EST) Message-ID: <48ABA031.4020000@nuix.com> Date: Wed, 20 Aug 2008 14:40:17 +1000 From: Daniel Noll Organization: NUIX Pty Limited User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Re: How I can find wildcard symbol with WildcardQuery? References: <48AB9F4D.6030603@nuix.com> In-Reply-To: <48AB9F4D.6030603@nuix.com> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I wrote: > What if you need to match a literal wildcard *and* an actual wildcard. :-) Actually this was a rhetorical question, but there is at least one answer: use a regex query instead. Regexes do support escaping the special symbols, so this problem doesn't exist for those. Daniel -- Daniel Noll --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org