Skip to content

Commit 063ee6b

Browse files
committed
update highlighting note on _all
1 parent 31abec0 commit 063ee6b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

guide/reference/mapping/all-field.textile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,5 @@ p. The @_all@ fields allows for @store@, @term_vector@ and @analyzer@ (with spec
5353

5454
h2. Highlighting
5555

56-
For any field to allow "highlighting":../api/search/highlighting.html it has to be either stored or part of the @_source@ filed. By default @_all@ filed does not qualify for either of this thus highlighting for it does not yeild any data. Although it is possible to allow for @store@ it is not usually practical to use @_all@ filed for highlighting because it can mix content from several fields into a single highlighting fragment.
56+
For any field to allow "highlighting":../api/search/highlighting.html it has to be either stored or part of the @_source@ filed. By default @_all@ filed does not qualify for either of this thus highlighting for it does not yield any data. Although it is possible to @store@ it, note that the @_all@ field is basically an aggregation of all fields, which means more data will be stored, and highlighting it might produce strange results.
57+

0 commit comments

Comments
 (0)