ElasticSearch Query Examples
Find an exact match of a nested field
(note that .keyword has to be added to string fields)
{
  "query": {
    "bool": {
      "must": [
        {
          "term": {
            "metadata.title.keyword": "File test.pdf"
          }
        }
      ]
    }
  },
  "size": 200
}