Ich mag würde
Dokument mit
_id
von1
ODER
- Dokument mit
value === 13
UNDanotherValue === 56
abrufen
Fehler:
There is no index available for this selector.
Diese meine Frage ist:
{
"selector": {
"$or": [
{
"_id": "1"
},
{
"value": "13",
"anotherValue": "56"
}
]
}
}
Indizes Setup:
Your available Indexes:
special: _id
json: value, anotherValue
json: _id, value, anotherValue
danke! Jede Chance, die Sie sich ansehen könnten (ähnlich, aber mit 'sort'): http://stackoverflow.com/questions/36868228/perform-sort-on-field-thats-not-primary-index – bobbyrne01