1
0
Fork 0
arangodb/Documentation/Examples/RestSimpleFulltext.generated

27 lines
638 B
Plaintext

shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/fulltext
{ "collection": "products", "attribute" : "text", "query" : "word" }
HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"result" : [
{
"_id" : "products/1341285846",
"_key" : "1341285846",
"_rev" : "1341285846",
"text" : "this text also has a word"
},
{
"_id" : "products/1341089238",
"_key" : "1341089238",
"_rev" : "1341089238",
"text" : "this text contains word"
}
],
"hasMore" : false,
"count" : 2,
"error" : false,
"code" : 201
}