: I understand the concern for resources, but by throwing an exception you
: have also preempted a legitimate query. How then should one go about
: performing a query for all document where a field begins with char X?
that's the rub .. the "legitimacy" of the query is based on the index it
is ex
: 1) colorzing your mail doesn't play nicely with the mailing list ...
: sending "diffs" is the prefered way to show potential changes to the
code.
So I discovered on sending the message. :)
: 2) assuming i understand what it is you've changed, you've "worked
arround" the TooManyClausesException
: I dug into the code I found where the PrefixQuery rewrites itself as a
: BooleanQuery. Unfortunately, it doesn't respect the maxClauseCount of
: the BooleanQuery in the process. Thus, when we hit a sufficiently large
: number of results, this causes the TooManyClauses exception that a
: number