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

add restriction for regexp queries when prevent_prefix_wildcard #3451

Merged
merged 7 commits into from
Nov 13, 2023

Conversation

lesleydreyer
Copy link
Contributor

@lesleydreyer lesleydreyer commented Nov 2, 2023

  • Add restriction for prevent_prefix_wildcard on regexp queries ensuring they aren't prefixed with a regexp operator and also have a guaranteed match (i.e. ab* has to match a but a* doesn't so could search the whole index

@lesleydreyer lesleydreyer changed the title add restriction for regexp queries when prevent_prefix_wildcard WIP: add restriction for regexp queries when prevent_prefix_wildcard Nov 2, 2023
@lesleydreyer lesleydreyer changed the title WIP: add restriction for regexp queries when prevent_prefix_wildcard add restriction for regexp queries when prevent_prefix_wildcard Nov 13, 2023
Copy link
Member

@jsnoble jsnoble left a comment

Choose a reason for hiding this comment

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

LGTM

@jsnoble jsnoble merged commit 665d795 into master Nov 13, 2023
39 checks passed
@jsnoble jsnoble deleted the prevent-prefix-wildcard-check-for-regexp-queries branch November 13, 2023 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants