lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Lu" <chris...@gmail.com>
Subject Re: too many clauses exception
Date Fri, 04 Jul 2008 06:27:47 GMT
This is easy, use:
        BooleanQuery.setMaxClauseCount(4096);

-- 
Chris Lu
-------------------------
Instant Scalable Full-Text Search On Any Database/Application
site: http://www.dbsight.net
demo: http://search.dbsight.com
Lucene Database Search in 3 minutes:
http://wiki.dbsight.com/index.php?title=Create_Lucene_Database_Search_in_3_minutes
DBSight customer, a shopping comparison site, (anonymous per request) got
2.6 Million Euro funding!

On Thu, Jul 3, 2008 at 11:23 PM, Gaurav Sharma <gaurav.gash@gmail.com>
wrote:

>
>
> Hi,
>
> I am stuck with one more exception.
> When i am using a wild card such as a* i am getting too many clauses
> exception. It saying maximum clause count is set to 1024. Is there any way
> to increase this count.
> Can u please help me out in overcoming this.
>
> Thanks in advance.
> -Gaurav
>
>
>
> -----
> -Gaurav
> --
> View this message in context:
> http://www.nabble.com/indexing-unsupported-mime-types-using-Lucene-tp17983491p18273569.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message