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 support for prefix query #1

Merged

Conversation

@santiagoaguiar santiagoaguiar force-pushed the santi/add-prefix-query branch from 4062894 to 75cee9e Compare August 22, 2022 22:24
@santiagoaguiar santiagoaguiar force-pushed the santi/add-prefix-query branch from 75cee9e to 57b9cd6 Compare August 22, 2022 22:45
def _compare_value_for_field(self, doc_source, field, value, ignore_case, is_wildcard=False):
if is_wildcard:
def _compare_value_for_field(self, doc_source, field, value, ignore_case, is_wildcard=False, is_prefix=False):
if (is_wildcard or is_prefix) and type(value) == type({}):
Copy link
Author

Choose a reason for hiding this comment

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

Also allow for shorthand syntax.

@grgilad grgilad merged commit b692eec into monte-carlo-data:master Aug 28, 2022
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