If I issue a query in Firestore Java admin SDK and limit the number of documents to "n", I wanted to know if I will get "n" documents (assuming that there are more than n documents which satisfy the query).
The documentation doesn't specifically indicate that the number of documents returned could be lesser than the page limit even if there were more documents which satisfied the query.
Although I havent seen this behaviour in Firestore but I have observed this in Datastore when accessed from python library as explained by this SO question.
I want to make the assumption that this condition wont occur for implementing pagination in my API.
Could anybody clarify?