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

Fix field analyzers loading when search changes #2997

Merged
merged 2 commits into from Oct 28, 2016
Merged

Fix field analyzers loading when search changes #2997

merged 2 commits into from Oct 28, 2016

Conversation

edmundoa
Copy link
Contributor

Before this PR, quick values and field statistics analyzers didn't update when a new search was executed, something that was confusing, as described in #2908.

This PR makes those components to fetch new data when any search parameter changes, keeping the data in sync with the current search.

Field graphs do not require any changes, as they were already updating when the search histogram was refreshed.

Fixes #2908

Edmundo Alvarez added 2 commits October 27, 2016 16:26
Before this change we were using the current input values as
search parameters, instead of using those used in the last executed
search.
When a new search is executed, fetch new quick values and field
statictics data. In this way the displayed information will be in sync
with the search query, time range, and stream used in the message list
and histogram.

The field graphs were already updating when the search histogram
changed, so they do not require further changes at this point.

Fixes #2908
@edmundoa edmundoa added this to the 2.2.0 milestone Oct 27, 2016
@joschi joschi self-assigned this Oct 28, 2016
Copy link
Contributor

@joschi joschi left a comment

Choose a reason for hiding this comment

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

LGTM. 👍

@joschi joschi merged commit 277af69 into master Oct 28, 2016
@joschi joschi deleted the issue-2908 branch October 28, 2016 13:18
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

2 participants