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

Query scopes #990

Merged
merged 7 commits into from
Jun 4, 2023
Merged

Query scopes #990

merged 7 commits into from
Jun 4, 2023

Conversation

SanderMertens
Copy link
Owner

This PR implements query scopes, which allows for grouping a set of terms in a query in a "scope", to which query operators can be applied. A query scope is created using curly brackets in the query DSL. An example:

Position, !{Velocity || Speed}

Some limitations still apply to how query scopes can be used, see the query manual for details.

This PR also includes the following changes:

  • Fix issue in rule engine with anonymous source variables and component terms
  • Fix issue with JSON serialization of query without $this source while alert module is imported
  • Fix naming inconsistency between alerts/metrics addon

@SanderMertens SanderMertens merged commit a63116a into master Jun 4, 2023
@SanderMertens SanderMertens deleted the query_scopes branch June 4, 2023 05:17
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.

None yet

1 participant