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

couchbase
    Preparing search index...

    Interface CreateCollectionSettings

    The settings to use when creating the collection.

    interface CreateCollectionSettings {
        history?: boolean;
        maxExpiry?: number;
    }
    Index

    Properties

    Properties

    history?: boolean

    The history retention override setting in this collection. Only supported on Magma Buckets.

    maxExpiry?: number

    The maximum expiry for documents in this collection.