Create an index

Create an index #

Creates a new index under a collectioin.

Examples #

The following request creates a new index called my-index under collection my-namespace:my-collection

PUT /my-namespace:my-collection/_index/my_index

Request #

PUT /<target>/_index/<name>

Path parameters #

  • <target>
    (Required, string) The collection which the index belongs to.

  • <name>
    (Required, string) Name of the index you wish to create.

Calendar June 18, 2024
Edit Edit this page