Merge pull request #16777 from radar/patch-1
Add example for require_field_match to highlighting docs
This commit is contained in:
parent
300554841e
commit
380ecd7604
|
@ -421,6 +421,17 @@ be highlighted regardless of whether the query matched specifically on them.
|
|||
The default behaviour is `true`, meaning that only fields that hold a query
|
||||
match will be highlighted.
|
||||
|
||||
[source,js]
|
||||
--------------------------------------------------
|
||||
{
|
||||
"query" : {...},
|
||||
"highlight" : {
|
||||
"require_field_match": false
|
||||
"fields" : {...}
|
||||
}
|
||||
}
|
||||
--------------------------------------------------
|
||||
|
||||
[[boundary-characters]]
|
||||
==== Boundary Characters
|
||||
|
||||
|
|
Loading…
Reference in New Issue