【发布时间】:2016-04-25 14:54:22
【问题描述】:
我想找回
-
包含
_id的1的文档或
- 带有
value === 13和anotherValue === 56的文档
错误:
此选择器没有可用的索引。
这是我的查询:
{
"selector": {
"$or": [
{
"_id": "1"
},
{
"value": "13",
"anotherValue": "56"
}
]
}
}
索引设置:
Your available Indexes:
special: _id
json: value, anotherValue
json: _id, value, anotherValue
【问题讨论】:
标签: indexing couchdb cloudant couchdb-mango