In elasticsearch there are documents with a list field:
"tags": ["ENUM_A", "ENUM_B", "ENUM_C"] It is required to find documents in which the list field contains at least one entry from the list in the request (i.e., the example should match the ["ENUM_A", "ENUM_D"] and not match the simple ["ENUM_D"] ). How to do it? The terms filter did not work (maybe I just didn’t cook it right).
update: terms for some reason works great on numbers, but does not work on strings.