Thank you for your question! You are right, that indexing is a central part of a backend design. In addition, all the specifics of the NoSQL data stores demand to be handled design-time in order to ensure the best performance of the data store and the apps that are using it. Unfortunately, our documentation is somewhat scarce on this topic and it is in our plans to enhance it.
Telerik Backend Services ensures automatically the index on the Id
of an item. So, in terms of querying, a search on an Id would work as it is expected to work on indexed fields. Though we are aware that our customers would like to implement a diverse searching functionality in their apps, we are still evaluating the option to allow developers to create indexes on additional fields.
In general, queries using '$where'
operators are slow and should be avoided (even in the presence of an index on this field).
Please, let us know if further questions occur.