AutocompleteService.CreateIndex

CreateIndex creates a new index.

JSON input

{
	"index": {
		"indexPath": "firesearch/indexes/all-products-index-1",
		"name": "All Products AutocompleteIndex",
		"caseSensitive": false
	}
}

JSON output

{
	"index": {
		"indexPath": "firesearch/indexes/all-products-index-1",
		"name": "All Products AutocompleteIndex",
		"caseSensitive": false
	},
	"error": "something went wrong"
}