couchbase
    Preparing search index...

    Interface ISearchIndex

    Provides information about a search index. This class is currently incomplete and must be casted from any in TypeScript.

    interface ISearchIndex {
        name: string;
        params: { [key: string]: any };
        planParams: { [key: string]: any };
        sourceName: string;
        sourceParams: { [key: string]: any };
        sourceType: string;
        sourceUuid: string;
        type: string;
        uuid?: string;
    }

    Implemented by

    Index

    Properties

    name: string

    The name of the search index.

    params: { [key: string]: any }

    Parameters to specify such as the store type and mappins.

    planParams: { [key: string]: any }

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

    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.

    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.