1
0
Fork 0
arangodb/Documentation/Examples/RestIndexCreateNewFulltext....

19 lines
416 B
Plaintext

shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products
{ "type" : "fulltext", "fields" : [ "text" ] }
HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"id" : "products/1318938070",
"type" : "fulltext",
"unique" : false,
"minLength" : 2,
"fields" : [
"text"
],
"isNewlyCreated" : true,
"error" : false,
"code" : 201
}