Skip to content

Commit fc65d59

Browse files
committed
add a note to reuse existing fields
1 parent e0421b0 commit fc65d59

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/firestore/test/integration/api/composite_index_query.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ import { apiDescribe } from '../util/helpers';
4545
* To get started, please refer to the instructions provided in the README file. This will guide you
4646
* through setting up your local testing environment and updating the Terraform configuration with
4747
* any new composite indexes required for your testing scenarios.
48+
*
49+
* Note: Whenever feasible, make use of the current document fields (such as 'a,' 'b,' 'author,'
50+
* 'title') to avoid introducing new composite indexes and surpassing the limit. Refer to the
51+
* guidelines at https://firebase.google.com/docs/firestore/quotas#indexes for further information.
4852
*/
4953
apiDescribe('Composite Index Queries', persistence => {
5054
// OR Query tests only run when the SDK's local cache is configured to use

0 commit comments

Comments
 (0)