shell> curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF
{
"type" : "geo",
"fields" : [
"b"
]
}
EOF
HTTP/1.1 Created
content-type: application/json; charset=utf-8
x-content-type-options: nosniff
{
"bestIndexedLevel" : 17,
"fields" : [
"b"
],
"geoJson" : false,
"id" : "products/70372",
"isNewlyCreated" : true,
"maxNumCoverCells" : 8,
"name" : "idx_1646382074391691266",
"sparse" : true,
"type" : "geo",
"unique" : false,
"worstIndexedLevel" : 4,
"error" : false,
"code" : 201
}