Skip to content

Commit b96b82e

Browse files
authored
Add highlight query
1 parent ff17737 commit b96b82e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

kibana/tdc-connections-2021/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,4 +532,19 @@ GET /busca-artigos-livros/_search
532532
}
533533
}
534534
}
535+
536+
GET /busca-geral/_search
537+
{
538+
"query": {
539+
"query_string": {
540+
"query":"recuperação",
541+
"fields": ["todos"]
542+
}
543+
},
544+
"highlight": {
545+
"fields" : {
546+
"todos" : { "pre_tags" : ["<strong>"], "post_tags" : ["</strong>"] }
547+
}
548+
}
549+
}
535550
```

0 commit comments

Comments
 (0)