-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove doc limit for stats query (#1597)
## Remove doc limit for stats query Two minor changes to the search lambda: 1. removing the document-per-shard limit only for the stats query, which can take advantage of cached summary statistics insdie elastic. 2. allow the MAX_DOCS_PER_SHARD to be set in the environment. Small test fix: Grabbing environment variables at initialization doesn't work (at least in pytest). Moving it into the body of the lambda handler. Co-authored-by: Kevin Moore <[email protected]>
- Loading branch information
1 parent
dcdcdd4
commit 33a4d8f
Showing
2 changed files
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters