Arango v0.0.1 Arangoex.Index

ArangoDB Index methods

Summary

Functions

create_fulltext(endpoint, collection_name, field_name, opts \\ [])
create_fulltext(Arangoex.Endpoint.t, String.t, String.t, keyword) :: Arangoex.ok_error(map)

Create fulltext index

POST /_api/index#fulltext

create_general(endpoint, collection_name, body)
create_general(Arangoex.Endpoint.t, String.t, map) :: Arangoex.ok_error(map)

Create index

POST /_api/index#general

create_geo(endpoint, collection_name, field_names, opts \\ [])
create_geo(Arangoex.Endpoint.t, String.t, [String.t], keyword) :: Arangoex.ok_error(map)

Create geo-spatial index

POST /_api/index#geo

create_hash(endpoint, collection_name, field_names, opts \\ [])
create_hash(Arangoex.Endpoint.t, String.t, [String.t], keyword) :: Arangoex.ok_error(map)

Create hash index

POST /_api/index#hash

create_persistent(endpoint, collection_name, field_names, opts \\ [])
create_persistent(Arangoex.Endpoint.t, String.t, [String.t], keyword) :: Arangoex.ok_error(map)

Create a persistent index

POST /_api/index#persistent

create_skiplist(endpoint, collection_name, field_names, opts \\ [])
create_skiplist(Arangoex.Endpoint.t, String.t, [String.t], keyword) :: Arangoex.ok_error(map)

Create skip list

POST /_api/index#skiplist

delete(endpoint, index_handle)

Delete index

DELETE /_api/index/{index-handle}

index(endpoint, index_handle)

Read index

GET /_api/index/{index-handle}

indexes(endpoint, collection_name)

Read all indexes of a collection

GET /_api/index