On Wed, Aug 02, 2006 at 11:40:28AM +0200, Benjamin Krause wrote:
> hey..
> 
> i get this error quite regularly, what exactly dies it mean?
> 
>   : Error occured at <q_prefix.c>:54
> Error: exception 6 not handled: Too many clauses
> 
> am i adding to many clauses in the query statement? 

this can happen with wild card queries, which can result in 
lots of Boolean clauses, i.e. searching for A* will give a booleanquery
having a clause for every term in your index that starts with 'A'.

You can override the default limit of 1024 by setting the
max_clause_count variable in the boolean query in question (difficult if
the query is generated by the query parser, in that case you could
override BooleanQuery#max_clause_count to return a higher value).

Jens


-- 
webit! Gesellschaft für neue Medien mbH          www.webit.de
Dipl.-Wirtschaftsingenieur Jens Krämer       [EMAIL PROTECTED]
Schnorrstraße 76                         Tel +49 351 46766  0
D-01069 Dresden                          Fax +49 351 46766 66
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to