Why does firestore not work with multiple field range filters?
I also want to know why I can not do full text search.
Is there a reason for the algorithm?
I want to know the reason.
Why does firestore not work with multiple field range filters?
I also want to know why I can not do full text search.
Is there a reason for the algorithm?
I want to know the reason.
Firestore has a quite unique performance guarantee: the time it takes to retrieve data only depends on the amount of data you retrieve, not on the amount of data you retrieve it from. So no matter if there are a thousand, a million, or a billion documents in a collection, retrieving ten of those documents will always take the same amount of time.
In order to be able to guarantee this performance, Firestore has a limited set of (mostly query) capabilities. For example: Firestore only supports queries for which it can jump to the correct starting point in an index, and stream results from that starting point until the end of the query. This precludes it from supporting things like:
For another good explanation of this, see the Getting to know Cloud Firestore episode on queries.