ElasticSearch: How to query exact nested array
问题 I am trying to query a certain type of documents in my index. Let's see the following document: { "id": 1, "title": "My first Collection", "items": [ { "code": "SB", "order": 1, "random": "something random" }, { "code": "BB", "order": 2, "random": "something random" }, { "code": "FO", "order": 3, "random": "something random" }, { "code": "RA", "order": 4, "random": "something random" }, { "code": "FO", "order": 5, "random": "something random" } ] } The items field is a nested field. I would