From d00b23c8b139bc4485f9f67205166500b6f24460 Mon Sep 17 00:00:00 2001 From: Jeff Hajewski Date: Thu, 8 Nov 2018 04:09:03 -0600 Subject: [PATCH] Fixes fast vector highlighter docs per issue 24318. (#34190) The `fvh` highlighter does not support span queries. This fix updates the docs to add a warning stating the lack of span query support for `fvh`. --- docs/reference/search/request/highlighting.asciidoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/reference/search/request/highlighting.asciidoc b/docs/reference/search/request/highlighting.asciidoc index 2da11c14b58..a506f6219fc 100644 --- a/docs/reference/search/request/highlighting.asciidoc +++ b/docs/reference/search/request/highlighting.asciidoc @@ -79,6 +79,10 @@ This highlighter can be used on fields with `term_vector` set to for things like phrase matches being sorted above term matches when highlighting a Boosting Query that boosts phrase matches over term matches +[WARNING] +The `fvh` highlighter does not support span queries. If you need support for +span queries, try an alternative highlighter, such as the `unified` highlighter. + [[offsets-strategy]] ==== Offsets Strategy To create meaningful search snippets from the terms being queried,