From 43335925dc8d96b505fce243afdc8df0017aa55b Mon Sep 17 00:00:00 2001 From: Jeff Hajewski Date: Mon, 1 Oct 2018 10:38:42 -0500 Subject: [PATCH] Fixes fast vector highlighter docs per issue 24318. 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 2da11c14b5804..a506f6219fc19 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,