Elastic Search 2.0/2.1 Issue with Highlighter and the Bool Query Elastic Search 2.0/2.1 Issue with Highlighter and the Bool Query elasticsearch elasticsearch

Elastic Search 2.0/2.1 Issue with Highlighter and the Bool Query


You can use highlight query for this purpose. change your highlight part to

"highlight": {    "fields": {      "*": {        "highlight_query": {          "query_string": {            "query": "east west"          }        }      }    }  }