API 参考
    正在准备搜索索引...

    接口 ReadPreferenceOptions

    interface ReadPreferenceOptions {
        hedge?: HedgeOptions;
        maxStalenessSeconds?: number;
    }

    层级 (查看层级一览)

    索引

    属性

    hedge?: HedgeOptions

    Server mode in which the same query is dispatched in parallel to multiple replica set members.

    maxStalenessSeconds?: number

    Max secondary read staleness in seconds, Minimum value is 90 seconds.