WARNING: Version 1.6 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
IP Type
editIP Type
editAn ip
mapping type allows to store ipv4 addresses in a numeric form
allowing to easily sort, and range query it (using ip values).
The following table lists all the attributes that can be used with an ip type:
Attribute | Description |
---|---|
|
[1.5.0]
Deprecated in 1.5.0. Use |
|
Set to |
|
Set to |
|
The precision step (influences the number of terms
generated for each number value). Defaults to |
|
The boost value. Defaults to |
|
When there is a (JSON) null value for the field, use the
|
|
Should the field be included in the |
|
Set to |