couchbase
    Preparing search index...

    Class ViewIndexManager

    ViewIndexManager is an interface which enables the management of view indexes on the cluster.

    Index

    Methods

    • Publishes a development design document to be a production design document. It does this by fetching the design document by the passed name with dev_ appended, and then performs an upsert of the production name (no dev_) with the data which was just fetched.

      Parameters

      • designDocName: string

        The name of the design document to publish.

      • Optionaloptions: PublishDesignDocumentOptions

        Optional parameters for this operation.

      • Optionalcallback: NodeCallback<void>

        A node-style callback to be invoked after execution.

      Returns Promise<void>