Skip to content

Commit 4b6ac3f

Browse files
Merge branch 'mrschmidt/indexfree-query-engine' of github.com:firebase/firebase-android-sdk into mrschmidt/indexfree-query-engine
2 parents 664f6e3 + 335b3e4 commit 4b6ac3f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

firebase-firestore/src/main/java/com/google/firebase/firestore/local/IndexFreeQueryEngine.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,8 @@ public ImmutableSortedMap<DocumentKey, Document> getDocumentsMatchingQuery(
9393
localDocumentsView.getDocuments(remoteKeys);
9494

9595
// Limit queries are not eligible for index-free query execution if any part of the result was
96-
// modified
97-
// after we received the last query snapshot. This makes sure that we re-populate the view with
98-
// older documents that may sort before the modified document.
96+
// modified after we received the last query snapshot. This makes sure that we re-populate the
97+
// view with older documents that may sort before the modified document.
9998
if (query.hasLimit()
10099
&& containsUpdatesSinceSnapshotVersion(previousResults, queryData.getSnapshotVersion())) {
101100
return null;

0 commit comments

Comments
 (0)