1
0
Fork 0

fixed wrong index examples

This commit is contained in:
Jan Steemann 2012-08-23 14:16:09 +02:00
parent d55807aa83
commit 58b3985c32
6 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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