| 1234567891011121314151617181920212223242526272829303132333435363738 | [[norms]]=== `norms`Norms store various normalization factors that are later used at query timein order to compute the score of a document relatively to a query.Although useful for scoring, norms also require quite a lot of disk(typically in the order of one byte per document per field in your index, evenfor documents that don't have this specific field). As a consequence, if youdon't need scoring on a specific field, you should disable norms on thatfield. In  particular, this is the case for fields that are used solely forfiltering or aggregations.TIP: Norms can be disabled on existing fields usingthe <<indices-put-mapping,PUT mapping API>>.Norms can be disabled (but not reenabled after the fact), using the<<indices-put-mapping,PUT mapping API>> like so:[source,console]------------PUT my_index/_mapping{  "properties": {    "title": {      "type": "text",      "norms": false    }  }}------------// TEST[s/^/PUT my_index\n/]NOTE: Norms will not be removed instantly, but will be removed as old segmentsare merged into new segments as you continue indexing new documents. Any scorecomputation on a field that has had norms removed might return inconsistentresults since some documents won't have norms anymore while other documentsmight still have norms.
 |