2010/12/30 muhammad ismael <m.ismae...@gmail.com>: > 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?
I think, you have to set it to the number of terms in your index. Tools like Luke [1] can tell you this number. Veit [1] http://www.getopt.org/luke/ ------------------------------------------------------------------------------ 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 CLucene-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clucene-developers