[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
all.
|`norms.enabled` |Boolean value if norms should be enabled or not. Defaults
to `true` for `analyzed` fields, and to `false` for `not_analyzed` fields.
See the <<norms,section about norms>>.
|`norms: {enabled: <value>}` |Boolean value if norms should be enabled or
not. Defaults to `true` for `analyzed` fields, and to `false` for
`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 for all fields by configuring the index setting `index.norms.loading`
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
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
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