How convert needed SQL query to Elastic DSL

Hello everyone,
I have an index with 19 mapped fields and I need to query it with query like this:

SELECT * FROM my-index WHERE field1 IN (value1, value2) AND field2 IN (valueX, valueY, valueZ) AND *anyOfThe19Fields* CONTAINS '2-f2d2cd00-8990-11ec-95bc-000d3a2d1528';

I really can't figure out how I can implement something like that with a single query.

I would appreciate your help, thx :slight_smile:

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