You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/search/request/highlighting.asciidoc
+122Lines changed: 122 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -401,6 +401,128 @@ GET /_search
401
401
// CONSOLE
402
402
// TEST[setup:twitter]
403
403
404
+
==== Fragmenter
405
+
406
+
Fragmenter can control how text should be broken up in highlight snippets.
407
+
However, this option is applicable only for the Plain Highlighter.
408
+
There are two options:
409
+
410
+
[horizontal]
411
+
`simple`:: Breaks up text into same sized fragments.
412
+
`span`:: Same as the simple fragmenter, but tries not to break up text between highlighted terms (this is applicable when using phrase like queries). This is the default.
0 commit comments