Skip to content

Commit

Permalink
query_engine.ts: set DEFAULT_RELATIVE_INDEX_READ_COST_PER_DOCUMENT=8
Browse files Browse the repository at this point in the history
  • Loading branch information
dconeybe committed Sep 5, 2023
1 parent 74fc4cf commit 84d9565
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/firestore/src/local/query_engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ const DEFAULT_INDEX_AUTO_CREATION_MIN_COLLECTION_SIZE = 100;
* (([index, docKey] + [docKey, docContent]) per document in the result set)
* / ([docKey, docContent] per documents in full collection scan) coming from
* experiment [enter PR experiment URL here].
* TODO: Enter PR experiment URL above.
* TODO(b/299091879) Choose a value appropriate for the browser/OS combination,
* as determined by more data points from running the experiment.
*/
const DEFAULT_RELATIVE_INDEX_READ_COST_PER_DOCUMENT = 2;
const DEFAULT_RELATIVE_INDEX_READ_COST_PER_DOCUMENT = 8;

/**
* The Firestore query engine.
Expand Down

0 comments on commit 84d9565

Please sign in to comment.