Closed F21 closed 11 years ago
The library only supports creating an index with a type, fields and uniqueness.
However, different indices have extra configuration. For example geo indices have an extra set of configuration here: http://www.arangodb.org/manuals/1.3.devel/IndexGeoHttp.html
I propose that we add an extra argument to index() in CollectionHandler that takes an array of those configuration arguments.
index()
CollectionHandler
The library only supports creating an index with a type, fields and uniqueness.
However, different indices have extra configuration. For example geo indices have an extra set of configuration here: http://www.arangodb.org/manuals/1.3.devel/IndexGeoHttp.html
I propose that we add an extra argument to
index()
inCollectionHandler
that takes an array of those configuration arguments.