File tree 1 file changed +6
-2
lines changed
docs/reference/mapping/params
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ Term vectors contain information about the terms produced by the
8
8
* the position (or order) of each term.
9
9
* the start and end character offsets mapping the term to its
10
10
origin in the original string.
11
+ * payloads (if they are available) — user-defined binary data
12
+ associated with each term position.
11
13
12
14
These term vectors can be stored so that they can be retrieved for a
13
15
particular document.
@@ -20,9 +22,11 @@ The `term_vector` setting accepts:
20
22
`with_positions`:: Terms and positions are stored.
21
23
`with_offsets`:: Terms and character offsets are stored.
22
24
`with_positions_offsets`:: Terms, positions, and character offsets are stored.
25
+ `with_positions_payloads`:: Terms, positions, and payloads are stored.
26
+ `with_positions_offsets_payloads`:: Terms, positions, offsets and payloads are stored.
23
27
24
- The fast vector highlighter requires `with_positions_offsets`. The term
25
- vectors API can retrieve whatever is stored.
28
+ The fast vector highlighter requires `with_positions_offsets`.
29
+ <<docs-termvectors, The term vectors API>> can retrieve whatever is stored.
26
30
27
31
WARNING: Setting `with_positions_offsets` will double the size of a field's
28
32
index.
You can’t perform that action at this time.
0 commit comments