Skip to content

Put filters back in the filter context where they belong#42095

Merged
Bargs merged 6 commits intoelastic:masterfrom
Bargs:filterContext
Aug 1, 2019
Merged

Put filters back in the filter context where they belong#42095
Bargs merged 6 commits intoelastic:masterfrom
Bargs:filterContext

Conversation

@Bargs
Copy link
Copy Markdown
Contributor

@Bargs Bargs commented Jul 26, 2019

Summary

Fixes #8367

As this comment makes very clear, filters were never really meant to take part in scoring in the first place. This PR puts filters back in the filter context where they were in 4.x so they can benefit from the filter cache.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

- [ ] This was checked for cross-browser compatibility, including a check against IE11
- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
- [ ] Documentation was added for features that require explanation or tutorials

For maintainers

- [ ] This was checked for breaking API changes and was labeled appropriately

@Bargs Bargs added release_note:fix Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v8.0.0 labels Jul 26, 2019
@Bargs Bargs requested a review from lukasolson July 26, 2019 22:09
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-app

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@Bargs Bargs requested a review from a team July 31, 2019 23:18
Copy link
Copy Markdown
Contributor

@lukasolson lukasolson left a comment

Choose a reason for hiding this comment

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

LGTM code/functionality.

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@Bargs Bargs added the v7.4.0 label Aug 1, 2019
@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@Bargs
Copy link
Copy Markdown
Contributor Author

Bargs commented Aug 1, 2019

retest

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@Bargs Bargs merged commit dd75d83 into elastic:master Aug 1, 2019
Bargs added a commit to Bargs/kibana that referenced this pull request Aug 1, 2019
Filters were never really meant to take part in scoring in the first place. This PR puts filters back in the filter context where they were in 4.x so they can benefit from the filter cache.
Bargs added a commit that referenced this pull request Aug 2, 2019
…2496)

Filters were never really meant to take part in scoring in the first place. This PR puts filters back in the filter context where they were in 4.x so they can benefit from the filter cache.
@thatguy7 thatguy7 mentioned this pull request Jun 2, 2020
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:fix Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v7.4.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Underlying Elasticsearch queries do not use filter context when appropriate

3 participants