WARNING: Version 1.4 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 |
---|---|
|
The name of the field that will be stored in the index. Defaults to the property/field name. |
|
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 |