diff --git a/docs/reference/search/request/highlighting.asciidoc b/docs/reference/search/request/highlighting.asciidoc index 97f31c0db7a08..d0a9ad04b0b4a 100644 --- a/docs/reference/search/request/highlighting.asciidoc +++ b/docs/reference/search/request/highlighting.asciidoc @@ -485,32 +485,6 @@ GET /_search // CONSOLE // TEST[setup:twitter] - -[[highlight-all]] -[float] -=== Highlight in all fields - -By default, only fields that contains a query match are highlighted. Set -`require_field_match` to `false` to highlight all fields. - -[source,js] --------------------------------------------------- -GET /_search -{ - "query" : { - "match": { "user": "kimchy" } - }, - "highlight" : { - "require_field_match": false, - "fields": { - "_all" : { "pre_tags" : [""], "post_tags" : [""] } - } - } -} --------------------------------------------------- -// CONSOLE -// TEST[setup:twitter] - [[matched-fields]] [float] === Combine matches on multiple fields