|
|
@@ -266,11 +266,11 @@ Will become:
|
|
|
|
|
|
`text` fields are searchable by default, but by default are not available for
|
|
|
aggregations, sorting, or scripting. If you try to sort, aggregate, or access
|
|
|
-values from a script on a `text` field, you will see this exception:
|
|
|
+values from a `text` field using a script, you'll see an exception indicating
|
|
|
+that field data is disabled by default on text fields. To load field data in
|
|
|
+memory, set `fielddata=true` on your field.
|
|
|
|
|
|
-Fielddata is disabled on text fields by default. Set `fielddata=true` on
|
|
|
-`your_field_name` in order to load fielddata in memory by uninverting the
|
|
|
-inverted index. Note that this can however use significant memory.
|
|
|
+NOTE: Loading field data in memory can consume significant memory.
|
|
|
|
|
|
Field data is the only way to access the analyzed tokens from a full text field
|
|
|
in aggregations, sorting, or scripting. For example, a full text field like `New York`
|