Skip to content

Commit

Permalink
Fixes fast vector highlighter docs per issue 24318. (#34190)
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
j-haj authored and Christoph Büscher committed Nov 8, 2018
1 parent 72e615a commit c3478a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/reference/search/request/highlighting.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,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,
Expand Down

0 comments on commit c3478a5

Please sign in to comment.