mirror of https://gitee.com/bigwinds/arangodb
fixed wrong index examples
This commit is contained in:
parent
d55807aa83
commit
58b3985c32
|
@ -1,4 +1,4 @@
|
|||
> curl --data @- -X POST --dump - http://localhost:8529/_api/index/99886352
|
||||
> curl --data @- -X POST --dump - http://localhost:8529/_api/index?collection=99886352
|
||||
{ "type" : "geo", "fields" : [ "e", "f" ] }
|
||||
|
||||
HTTP/1.1 201 Created
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
> curl --data @- -X POST --dump - http://localhost:8529/_api/index/95560976
|
||||
> curl --data @- -X POST --dump - http://localhost:8529/_api/index?collection=95560976
|
||||
{ "type" : "geo", "fields" : [ "b" ] }
|
||||
|
||||
HTTP/1.1 201 Created
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
> curl --data @- -X POST --dump - http://localhost:8529/_api/index/105981200
|
||||
> curl --data @- -X POST --dump - http://localhost:8529/_api/index?collection=105981200
|
||||
{ "type" : "hash", "unique" : false, "fields" : [ "a", "b" ] }
|
||||
|
||||
HTTP/1.1 201 Created
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
> curl --data @- -X POST --dump - http://localhost:8529/_api/index/109061392
|
||||
> curl --data @- -X POST --dump - http://localhost:8529/_api/index?collection=109061392
|
||||
{ "type" : "skiplist", "unique" : false, "fields" : [ "a", "b" ] }
|
||||
|
||||
HTTP/1.1 201 Created
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
> curl --data @- -X POST --dump - http://localhost:8529/_api/index/102901008
|
||||
> curl --data @- -X POST --dump - http://localhost:8529/_api/index?collection=102901008
|
||||
{ "type" : "hash", "unique" : true, "fields" : [ "a", "b" ] }
|
||||
|
||||
HTTP/1.1 201 Created
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
> curl --data @- -X POST --dump - http://localhost:8529/_api/index/112141584
|
||||
> curl --data @- -X POST --dump - http://localhost:8529/_api/index?collection=112141584
|
||||
{ "type" : "skiplist", "unique" : true, "fields" : [ "a", "b" ] }
|
||||
|
||||
HTTP/1.1 201 Created
|
||||
|
|
Loading…
Reference in New Issue