Skip to content

Commit

Permalink
Add highlight query
Browse files Browse the repository at this point in the history
  • Loading branch information
rtancman authored Jun 8, 2021
1 parent ff17737 commit b96b82e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions kibana/tdc-connections-2021/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -532,4 +532,19 @@ GET /busca-artigos-livros/_search
}
}
}
GET /busca-geral/_search
{
"query": {
"query_string": {
"query":"recuperação",
"fields": ["todos"]
}
},
"highlight": {
"fields" : {
"todos" : { "pre_tags" : ["<strong>"], "post_tags" : ["</strong>"] }
}
}
}
```

0 comments on commit b96b82e

Please sign in to comment.