lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Volodymyr Bychkoviak <vbychkov...@i-hypergrid.com>
Subject Re: WildCard search replacement
Date Mon, 25 Apr 2005 06:40:22 GMT
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


Mime
View raw message