Home / Documentation / REST APIs / Setup API

Setup API

Creates the .zentity-models index.

The request accepts two endpoints:

POST _zentity/_setup

URL query string parameters

Param Type Default Required Description
number_of_shards Integer 1 No Define the number of primary shards for the index.
number_of_replicas Integer 1 No Define the number of replica shards for the index.

 


Continue Reading

REST APIs Models API
© 2018 Dave Moore.
Licensed under the Apache License, Version 2.0.
Elasticsearch is a trademark of Elasticsearch BV.
This website uses Google Analytics.