|
@@ -12,8 +12,10 @@ documents, we need to be able to look up the document and find the terms that
|
|
|
is has in a field.
|
|
|
|
|
|
Doc values are the on-disk data structure, built at document index time, which
|
|
|
-makes this data access pattern possible. Doc values are supported on almost
|
|
|
-all field types, with the __notable exception of `analyzed` string fields__.
|
|
|
+makes this data access pattern possible. They store the same values as the
|
|
|
+`_source` but in a column-oriented fashion that is way more efficient for
|
|
|
+sorting and aggregations. Doc values are supported on almost all field types,
|
|
|
+with the __notable exception of `analyzed` string fields__.
|
|
|
|
|
|
All fields which support doc values have them enabled by default. If you are
|
|
|
sure that you don't need to sort or aggregate on a field, or access the field
|