Determinizing ... would result in more than 10000 states


(Przemek Pawlas) #1

https://pastebin.com/034F5M01

I'm getting this error when trying to do an aggregation based on some IDs in 5.6.x, it seems to appear only sometimes. Could anyone explain what it means and what could be done to fix it?


(Przemek Pawlas) #2

So from what I see the pattern string is too long (because it worked with shorter IDs and size of 10000 that didn't change) and the error is very confusing - how can I get around it other than splitting into several aggregations or indexing a different unique field?

EDIT: ok, the PHP library I used confused me, you can just pass array of strings rather than a huge or regex. Problem fixed.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.