带有 doc_ids 选项的 PouchDB cloudant 同步 - 失败

PouchDB cloudant sync with doc_ids option - failure

我正在尝试使用 doc_ids 数组选项

在 PouchDB 和 Cloudant 之间设置复制
localpouchdb.sync(cloudantremoteDBURL, { doc_ids:['1450853987668'] })

cloudant 抛出一些错误

error: true
message: "Something wrong with the request"
name: "bad_request"
reason: "filter parameter must be of the form `designname/filtername`"

有人能够使用 doc_ids 选项将 pouchDB 与 cloudant 同步吗?请帮忙

根据 sync http://pouchdb.com/api.html#sync 上的文档,您应该设置源和目标,然后将 doc_ids 传递到 options

类似

PouchDB.sync(localDB, cloudantremoteDBURL, { doc_ids:['1450853987668'] })

我向 IBM Cloudant 提出了支持请求,并确认 _doc_ids 过滤器尚未在 Cloudant 中实现。以下是他们支持的回复:

Unfortunately, Cloudant doesn't currently implement the _doc_ids filter on the _changes feed. We are planning a release early in the new year which includes the latest CouchDB feature set, including the _doc_ids filter.