summaryrefslogtreecommitdiffstats
path: root/tests/files/search/GET_highlight.txt
blob: 8dc23ea29de7b04be1f3bb5cfacf764820ffb3e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
GET /my-index-000001/_search
{
  "query": {
    "match_phrase": { "message": "number 1" }
  },
  "highlight": {
    "fields": {
      "message": {
        "type": "plain",
        "fragment_size": 15,
        "number_of_fragments": 3,
        "fragmenter": "simple"
      }
    }
  }
}