Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 88862 invoked from network); 27 Apr 2005 17:17:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Apr 2005 17:17:04 -0000 Received: (qmail 73030 invoked by uid 500); 27 Apr 2005 17:17:51 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 73001 invoked by uid 500); 27 Apr 2005 17:17:51 -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 72986 invoked by uid 99); 27 Apr 2005 17:17:51 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from uar.spline-software.com (HELO uar.i-hypergrid.com) (194.44.193.196) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 27 Apr 2005 10:17:51 -0700 Received: from [192.168.0.86] (vbychkoviak.jforce [192.168.0.86]) by uar.i-hypergrid.com (Postfix) with ESMTP id A9A7E33445 for ; Wed, 27 Apr 2005 20:16:50 +0300 (EEST) Message-ID: <426FC8FD.9020908@i-hypergrid.com> Date: Wed, 27 Apr 2005 20:16:45 +0300 From: Volodymyr Bychkoviak User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Re: WildCard search replacement References: <20050427171203.84061.qmail@web32108.mail.mud.yahoo.com> In-Reply-To: <20050427171203.84061.qmail@web32108.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Glad to help you. Aalap Parikh wrote: >Thanks very much. Volodymyr, your trick about wildcard >search replacement has helped me a lot. Great idea!!! > >Thanks a lot again. > >--- Volodymyr Bychkoviak >wrote: > > >>Hi. >> >>Aalap Parikh wrote: >> >> >> >>>Hi, >>> >>>The idea about begin marker sounds good. And the >>>prefix could be anything and could be made really >>>small by just using may be 2 or 3 or even less >>>characters. >>> >>> >>> >>> >>if you want to use 1 character for begin marker make >>sure you don't nave >>same tokens. But I think that making it 2 characters >>long is the best way. >> >> >> >>>In terms of the PrefixQuery for 123* wildcard >>> >>> >>search, >> >> >>>wouldn't such a query be rewritten to a >>> >>> >>BooleanQuery? >> >> >>> >>> >>> >>> >>Yes, PrefixQuery is rewritten to a BooleanQuery. >> >> >> >>>I tried using PrefixQuery and it did give me the >>>TooManyClauseException. >>> >>> >>> >>> >>Then you should use this approach. :) >> >>regards, >>Volodymyr Bychkoviak >> >> >> >> >--------------------------------------------------------------------- > > >>To unsubscribe, e-mail: >>java-user-unsubscribe@lucene.apache.org >>For additional commands, e-mail: >>java-user-help@lucene.apache.org >> >> >> >> > >--------------------------------------------------------------------- >To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org >For additional commands, e-mail: java-user-help@lucene.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org