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

Support Exclusion Syntax in Elasticsearch Multi-target index lookups #4414

Closed
esatterwhite opened this issue Jan 17, 2024 · 0 comments · Fixed by #4458
Closed

Support Exclusion Syntax in Elasticsearch Multi-target index lookups #4414

esatterwhite opened this issue Jan 17, 2024 · 0 comments · Fixed by #4458
Assignees
Labels
enhancement New feature or request

Comments

@esatterwhite
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
There are cases when executing searches or aggregations over multiple indexes via glob patterns where we need to
exclude a specific subset of them via a similar, more specific pattern.

Describe the solution you'd like
index names, or patterns that start with the minus (-) symbol should be excluded from the associated search query

Additional context

Example
 http://localhost:7280/api/v1/_elastic/logline.abc123-2024-01.01.*,-logline.abc123-2024-01.01.*.*/_search

https://www.elastic.co/guide/en/elasticsearch/reference/7.14/multi-index.html#multi-index

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants