[DOC] Clarify settings and documentation about norms.

This commit is contained in:
Adrien Grand 2014-03-25 16:05:23 +01:00
parent fc8dc3f733
commit c977a49b76
1 changed files with 5 additions and 4 deletions

View File

@ -110,11 +110,11 @@ Automatically set to `true` when the fielddata format is `doc_values`.
`null_value` as the field value. Defaults to not adding the field at `null_value` as the field value. Defaults to not adding the field at
all. all.
|`norms.enabled` |Boolean value if norms should be enabled or not. Defaults |`norms: {enabled: <value>}` |Boolean value if norms should be enabled or
to `true` for `analyzed` fields, and to `false` for `not_analyzed` fields. not. Defaults to `true` for `analyzed` fields, and to `false` for
See the <<norms,section about norms>>. `not_analyzed` fields. See the <<norms,section about norms>>.
|`norms.loading` |Describes how norms should be loaded, possible values are |`norms: {loading: <value>}` |Describes how norms should be loaded, possible values are
`eager` and `lazy` (default). It is possible to change the default value to `eager` and `lazy` (default). It is possible to change the default value to
eager for all fields by configuring the index setting `index.norms.loading` eager for all fields by configuring the index setting `index.norms.loading`
to `eager`. to `eager`.
@ -181,6 +181,7 @@ you don't need scoring on a specific field, it is highly recommended to disable
norms on it. In particular, this is the case for fields that are used solely norms on it. In particular, this is the case for fields that are used solely
for filtering or aggregations. for filtering or aggregations.
coming[1.2.0]
In case you would like to disable norms after the fact, it is possible to do so In case you would like to disable norms after the fact, it is possible to do so
by using the <<indices-put-mapping,PUT mapping API>>. Please however note that by using the <<indices-put-mapping,PUT mapping API>>. Please however note that
norms won't be removed instantly, but as your index will receive new insertions norms won't be removed instantly, but as your index will receive new insertions