Terms Lookup on Ip fields and the too_many_clauses: maxClauseCount issue

Hi,
I'm trying to make a query with Terms Lookup to filter an index by ip addresses included in an array (of another document in another index).
I get the too_many_clauses: maxClauseCount issue, but I found in questions from other users that it can be avoided using the conditional token 'filter' (I don't need any ranking), but in my case I still get the error.

I found this issue (from 2017) that is EXACTLY my case:

https://github.com/elastic/elasticsearch/issues/25667

I can't understand if the issue was fixed and closed (and there is a regression) or just closed.

I'm using the version 7.10.2

Thank you in advance

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