TooManyClauses[maxClauseCount is set to 1024]


(ppearcy) #1

Hey,
Running a freakishly large query that is bounded by the number of
companies someone is watching or has holdings in and am hitting this
error:
TooManyClauses[maxClauseCount is set to 1024]

Is there any setting exposed to override this?

Thanks,
Paul


(Shay Banon) #2

There isn't one currently, but added it just now to master:
https://github.com/elasticsearch/elasticsearch/issues/issue/482. Note, you
are probably better with a terms filter or an or over term filters in this
case.

On Sat, Nov 6, 2010 at 12:02 AM, Paul ppearcy@gmail.com wrote:

Hey,
Running a freakishly large query that is bounded by the number of
companies someone is watching or has holdings in and am hitting this
error:
TooManyClauses[maxClauseCount is set to 1024]

Is there any setting exposed to override this?

Thanks,
Paul


(ppearcy) #3

Sweet, many thanks!

On Nov 5, 4:00 pm, Shay Banon shay.ba...@elasticsearch.com wrote:

There isn't one currently, but added it just now to master:https://github.com/elasticsearch/elasticsearch/issues/issue/482. Note, you
are probably better with a terms filter or an or over term filters in this
case.

On Sat, Nov 6, 2010 at 12:02 AM, Paul ppea...@gmail.com wrote:

Hey,
Running a freakishly large query that is bounded by the number of
companies someone is watching or has holdings in and am hitting this
error:
TooManyClauses[maxClauseCount is set to 1024]

Is there any setting exposed to override this?

Thanks,
Paul


(system) #4