| 1234567891011121314151617181920212223242526272829303132333435 | [[mapping-field-names-field]]=== `_field_names` fieldThe `_field_names` field used to index the names of every field in a document thatcontains any value other than `null`.  This field was used by the<<query-dsl-exists-query,`exists`>> query to find documents thateither have or don't have any non-+null+ value for a particular field.Now the `_field_names` field only indexes the names of fields that have`doc_values` and `norms` disabled. For fields which have either `doc_values`or `norm` enabled the <<query-dsl-exists-query,`exists`>> query will stillbe available but will not use the `_field_names` field.==== Disabling `_field_names`Disabling `_field_names` is often not necessary because it no longercarries the index overhead it once did. If you have a lot of fieldswhich have `doc_values` and `norms` disabled and you do not need toexecute `exists` queries using those fields you might want to disable`_field_names` be adding the following to the mappings:[source,js]--------------------------------------------------PUT tweets{  "mappings": {    "_doc": {      "_field_names": {        "enabled": false      }    }  }}--------------------------------------------------// CONSOLE
 |