Class SearchIndex

This class is currently incomplete and must be casted to any in TypeScript to be used.

Implements

Properties

name: string

The name of the search index.

params: {
    [key: string]: any;
}

Parameters to specify such as the store type and mappins.

Type declaration

  • [key: string]: any
planParams: {
    [key: string]: any;
}

Plan properties such as the number of replicas and number of partitions.

Type declaration

  • [key: string]: any
sourceName: string

Name of the source of the data (ie: the bucket name).

sourceParams: {
    [key: string]: any;
}

Extra parameters for the source. These are usually things like advanced connection options and tuning parameters.

Type declaration

  • [key: string]: any
sourceType: string

The type of the source (couchbase or nil).

sourceUuid: string

The UUID of the data source.

type: string

The type of index to use (fulltext-index or fulltext-alias).

uuid?: string

The UUID of the search index. Used for updates to ensure consistency.