Skip to content

Commit

Permalink
[DOC] Clarify settings and documentation about norms.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpountz committed Mar 25, 2014
1 parent 79d0434 commit de97b2a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/reference/mapping/types/core-types.asciidoc
Expand Up @@ -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`.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit de97b2a

Please sign in to comment.