0
没有可用的指标,我想检索文档_id
与value === 13
和anotherValue === 56
的
与
1
OR
- 文件
错误:
There is no index available for this selector.
这是我的查询:
{
"selector": {
"$or": [
{
"_id": "1"
},
{
"value": "13",
"anotherValue": "56"
}
]
}
}
指标设置:
Your available Indexes:
special: _id
json: value, anotherValue
json: _id, value, anotherValue
谢谢!任何机会你可以看看这个(类似,但使用'sort'):http://stackoverflow.com/questions/36868228/perform-sort-on-field-thats-not-primary-index – bobbyrne01