Indexes

Delete index for field in collection

Changed on

Delete field index for collection

delete/collections/{collection_name}/index/{field_name}

Request

Path parameters

collection_namestring required

Name of the collection

field_namestring required

Name of the field where to delete the index

Query parameters

waitboolean

If true, wait for changes to actually happen

ordering'weak' | 'medium' | 'strong'

Defines write ordering guarantees for collection operations

  • weak - write operations may be reordered, works faster, default

  • medium - write operations go through dynamically selected leader, may be inconsistent for a short period of time in case of leader change

  • strong - Write operations go through the permanent leader, consistent, but may be unavailable if leader is down

define ordering guarantees for the operation

timeoutinteger

Timeout for the operation

Response

successful operation

timenumber float

Time spent to process this request

statusstring

Example response

{
  "time": 0.002,
  "status": "ok"
}

Changes

    • warning

      added the new wait_timeout enum value to the / response property for the response status

    • info

      added the new optional query request parameter timeout

    • info

      added to the response property anyOf list for the response status

    • info

      removed from the response property anyOf list for the response status