I am trying to write a query, In which multiple values should get matched with the field.
In the example, I am trying to get results from all months with the matching field in the query. What I don't know is, how to write this query in dsl ?
months = [2,3,4]
client = Elasticsearch()
s = Search(using=client, index="namco_revenuestream")
s = s.query("match", month_period=months)