elastic search match query over array object
问题 Suppose i've 3 doc doc_1 = { "citedIn": [ "Bar Councils Act, 1926 - Section 15", "Contract Act, 1872 - Section 23" ] } doc_2 = { "citedIn":[ "15 C. B 400", "Contract Act, 1872 - Section 55" ] } doc_3 = { "citedIn":[ "15 C. B 400", "Contract Act, 1872 - Section 15" ] } Here citedIn field is a array object.Now i want run a stander match query { "query": { "match": {"citedIn":{"query": "Contract act 15" , "operator":"and" }} } } The above query return all of the 3 doc, but it suppose to return