[EMAIL PROTECTED] schrieb:

> Hi Harald,
> 
> its nice too see, that there are others out there in Germany dealing with 
> the same problems as we have been doing in the past years :-)
> 
> So for the "too many clauses" problem I have a solution for you, that I 
> want to share:
> Just include somewhere at the very beginning of your program (retrieval 
> part) the call:
> 
> BooleanQuery.setMaxClauseCount(1000*1000);

As you can see in the source code, I tried this already:
  query.setMaxClauseCount(262144);
It even don't work with higher values, it just crashed with Not enough
Memory -Error :-(

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to