Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made number of query terms validated below a configurable threshold #155

Merged
merged 2 commits into from
Nov 27, 2023

Conversation

jdhayhurst
Copy link
Collaborator

Copy link
Collaborator

@mbdebian mbdebian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @jdhayhurst !
Would you mind having a look at the comment on the review request?

@@ -65,6 +65,7 @@ object Configuration {
elasticsearch: ElasticsearchSettings,
clickhouse: ClickhouseSettings,
ignoreCache: Boolean,
maxNumberQueryTerms: Int,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to contextualise what this number refers to, in this case it is the number of query terms for the validation API, i.e. an example of naming would be qValidationLimitNTerms

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

renamed with your suggestion

Copy link
Collaborator

@mbdebian mbdebian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jdhayhurst ! Nice job!

@jdhayhurst jdhayhurst merged commit e57fe51 into master Nov 27, 2023
2 checks passed
@jdhayhurst jdhayhurst deleted the 3114_map_ids branch November 27, 2023 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants