-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMR-9582 Making the values a def config so that they can be set in AW… (
#2020) * CMR-9582 Making the values a def config so that they can be set in AWS, setting the maximum search result value to 200K. * CMR-9582 Fixing typo. * CMR-9582 Fixing the page size to what it was. * CMR-9582 Fixing getting the configuration value
- Loading branch information
Showing
2 changed files
with
18 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,16 @@ | |
"CMR support email address" | ||
{:default "[email protected]"}) | ||
|
||
(defconfig es-unlimited-page-size | ||
"This is the number of items we will request from elastic search at a time when | ||
the page size is set to unlimited." | ||
{:default 10000 | ||
:type Long}) | ||
|
||
(defconfig es-max-unlimited-hits | ||
"Sets an upper limit in order to get all results from elastic search | ||
without paging. This is used by CMR applications to load data into their | ||
caches." | ||
{:default 200000 | ||
:type Long}) | ||
|
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