Set it to max int (2^31). CLucene should have a macro for that. But as
ppl before me mentioned these searches would be very slow.
Itamar.
On 30/12/2010 2:06 PM, muhammad ismael wrote:
> Hi,
> I am using WildcardQuery but i got Too many clauses exception so i set
> the maximum clauses to 2000000 but now sometimes work and sometimes it
> gives the exception
> How can i know the maximum clauses to set it?
>
> Mohammad Ismael
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
>
>
> _______________________________________________
> CLucene-developers mailing list
> CLu...@li...
> https://lists.sourceforge.net/lists/listinfo/clucene-developers
|