IndexInfo represents the information about a single index including its name and field names. Array of IndexInfo objects is the result of getIndexes method and a single IndexInfo object is the result of getIndex method.

Hierarchy

  • IndexInfo

Properties

fieldTypes?: (undefined | string)[]

Array of field types corresponding to the array of field names. The type in the list is only defined if the index is on a field of type JSON and is explicitly typed. If using a server that does not support this information, this property will be undefined.

fields: string[]

Array of field names that define the index.

indexName: string

Index name.

Generated using TypeDoc