View Source ElasticsearchEx.Api.Utils (Elasticsearch_ex v0.6.0)
Provides some helpers to make the HTTP calls easier by extracting and manipulating options.
Summary
Functions
Extracts from the opts
the index and the other options.
Extracts from the opts
the index and the other options.
Extracts from the opts
, the key index
and id
.
Extracts from the opts
, the key index
and id
.
Takes all the items of the list and merge to a valid URL.
Types
Functions
Extracts from the opts
the index and the other options.
Extracts from the opts
the index and the other options.
Raises an exception if the option index
is missing.
Extracts from the opts
, the key index
and id
.
Raises an exception if the index
key is missing.
Extracts from the opts
, the key index
and id
.
Raises an exception if the index
or the id
keys are missing.
Takes all the items of the list and merge to a valid URL.
Removes the nil
values and add a leading /
.