What's the query? Wildcard or did you just construct a huge number of clauses?
You can always bump the allowed, see BooleanQuery.setMaxClauseCount() Best Erick On Mon, Mar 16, 2009 at 6:52 AM, liat oren <oren.l...@gmail.com> wrote: > Hi, > > I try to search a long query and get the following erroe: > org.apache.lucene.queryParser.ParseException: Cannot parse.... too many > boolean clauses > Is there any way for Lucene to receive a long query? > > Thanks, > Liat >