What's the limit of specified values on a DLS filter?

Hi! I need to perform a query on a set of specified values, and for that I'm using a filter with a manually defined DSL query such as this one (this is an example recommended in another thread that works fine):

{
  "query": {
    "bool": {
      "filter": {
        "terms": {
          "ip": [
            "185.231.86.130",
            "166.24.243.98",
            "155.171.113.115"
          ]
        }
      }
    }
  }
}

However, my users keep on increasing the list of individual fields to specify, they might want to add hundreds of these specific IPs as written above. So my question is, is there an upper limit on the amount of values that can be listed like this?

Thanks a lot in advance for your support!

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