You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Andrew Boyd <an...@mindspring.com> on 2005/05/23 21:26:51 UTC
URL search causes BooleanQuery TooManyClauses Excp
Hi All,
I have an index with 4811 documents each of which have a field called
url. When I try to search such as:
url:http*C02MS00800* I get a BooleanQuery$TooManyClauses.
I've seen other posting with this exception but they normally are caused by doing a range
query. Any Ideas? I would ultimatly like to search the url with wildcard search so as to search
on enbedded info within the url such as state
url:http*NY* = state of new york
url:http*NJ* = new jersey etc.
Thanks,
Andrew
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: URL search causes BooleanQuery TooManyClauses Excp
Posted by Stefan Groschupf <sg...@media-style.com>.
Andrew,
the solution for RangeQueries will work for WildcardQueries as well.
see:
http://wiki.apache.org/jakarta-lucene/
LuceneFAQ#head-06fafb5d19e786a50fb3dfb8821a6af9f37aa831
HTH
Stefan
Am 23.05.2005 um 21:26 schrieb Andrew Boyd:
> Hi All,
> I have an index with 4811 documents each of which have a field
> called
> url. When I try to search such as:
>
> url:http*C02MS00800* I get a BooleanQuery$TooManyClauses.
>
> I've seen other posting with this exception but they normally are
> caused by doing a range
> query. Any Ideas? I would ultimatly like to search the url with
> wildcard search so as to search
> on enbedded info within the url such as state
>
> url:http*NY* = state of new york
> url:http*NJ* = new jersey etc.
>
> Thanks,
>
> Andrew
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
>
---------------------------------------------------------------
company: http://www.media-style.com
forum: http://www.text-mining.org
blog: http://www.find23.net