Error:
No index exists for this sort, try indexing by the sort fields.
I've tried creating indexes on anotherValue
, _id+anotherValue
, but no difference.
This is my query:
{
"selector": {
"_id": { "$gt": null },
"$or": [
{ "_id": "10" },
{ "value": "10", "anotherValue": "1234" }]
},
"sort": [{"anotherValue": "desc"}]
}
Indexes setup:
Your available Indexes:
special: _id