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

Unexpected #NOEXPANSION query failures #2341

Open
ivakegg opened this issue Apr 9, 2024 · 0 comments · May be fixed by #2342
Open

Unexpected #NOEXPANSION query failures #2341

ivakegg opened this issue Apr 9, 2024 · 0 comments · May be fixed by #2342
Assignees

Comments

@ivakegg
Copy link
Collaborator

ivakegg commented Apr 9, 2024

A query submitted as follows:
(A:(val1) OR B:(val2)) AND #NOEXPANSION(A,B)
failed with "Invalid arguments to function. noExpansion

This appeared to work correctly:
A:/asdfasf/ and #NOEXPANSION(A)

It appears that users want the #NOEXPANSION function to work for a list of fields.

@lbschanno lbschanno self-assigned this Apr 9, 2024
lbschanno added a commit that referenced this issue Apr 9, 2024
The #NOEXPANSION function should support specifying multiple fields.
Update the NoExpansion JEXL function implementation to allow multiple
fields.

Fixes #2341
@lbschanno lbschanno linked a pull request Apr 9, 2024 that will close this issue
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 a pull request may close this issue.

2 participants