@@ -1923,9 +1923,8 @@ boolean shouldRetryQuery(
1923
1923
* <em>without actually downloading the documents</em>.
1924
1924
*
1925
1925
* <p>Using the returned query to count the documents is efficient because only the final count,
1926
- * not the documents' data, is downloaded. The returned query can even count the documents if the
1927
- * result set would be prohibitively large to download entirely (for example thousands of
1928
- * documents).
1926
+ * not the documents' data, is downloaded. The returned query can count the documents in cases
1927
+ * where the result set is prohibitively large to download entirely (thousands of documents).
1929
1928
*
1930
1929
* @return a query that counts the documents in the result set of this query.
1931
1930
*/
@@ -1935,13 +1934,13 @@ public AggregateQuery count() {
1935
1934
}
1936
1935
1937
1936
/**
1938
- * Calculates the specified aggregations over the documents in the result set of the given query,
1939
- * without actually downloading the documents.
1937
+ * Calculates the specified aggregations over the documents in the result set of the given query
1938
+ * <em> without actually downloading the documents</em> .
1940
1939
*
1941
- * <p>Using this function to perform aggregations is efficient because only the final aggregation
1942
- * values, not the documents' data, is downloaded. This function can even perform aggregations of
1943
- * the documents if the result set would be prohibitively large to download entirely (for example
1944
- * thousands of documents).
1940
+ * <p>Using the returned query to perform aggregations is efficient because only the final
1941
+ * aggregation values, not the documents' data, is downloaded. The returned query can perform
1942
+ * aggregations of the documents in cases where the result set is prohibitively large to download
1943
+ * entirely ( thousands of documents).
1945
1944
*
1946
1945
* @return an {@link AggregateQuery} that performs aggregations on the documents in the result set
1947
1946
* of this query.
0 commit comments