-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[search source] Stop building invalid queries and then rewriting them #60954
[search source] Stop building invalid queries and then rewriting them #60954
Conversation
Pinging @elastic/kibana-app-arch (Team:AppArch) |
@wylieconlon code seems LGTM, however would you mind giving some pointers on how to test this? |
@lizozom Sure, the way to test this is by using the Filters aggregation. I tested with two steps:
It's also a good idea to test a migration, such as from 7.6 to this snapshot, using the same configuration. The filters should all work. |
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM. Tested locally (Chrome macOS):
✔️ created filters agg in a bar chart using both kql and lucene, same results.
✔️ verified filters manager still works when clicking on a bar for both kql and lucene.
✔️ exported vis with same configuration from 6.8.8 cloud instance. imported into this branch. verified all of the above still work as expected.
@wylieconlon Thanks for this cleanup!
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
…elastic#60954) * Stop rewriting invalid filters in search source * Fix type issue * Use automated fixing tool * Update test * Fix test * Fix docs Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
It appears that this was a compatibility layer added many years ago, but never removed. This finally removes it.
Checklist