Thanks to visit codestin.com
Credit goes to docs.couchbase.com

couchbase
    Preparing search index...

    Class DesignDocumentView

    Contains information about a view in a design document.

    Index

    Properties

    Properties

    map: undefined | string

    The mapping function to use for this view.

    reduce: undefined | string

    The reduction function to use for this view.