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

Invert filter condition to fix numeric field errors #4168

merged 1 commit into from Sep 21, 2017


Copy link

@bernd bernd commented Sep 21, 2017

This broke in #4149

@bernd bernd added this to the 2.4.0 milestone Sep 21, 2017
@bernd bernd requested a review from joschi Sep 21, 2017
@@ -579,7 +579,7 @@ public HistogramResult fieldHistogram(String query,
if (failedShards > 0) {
final List<String> errors ="failures").spliterator(), false)
.map(failure -> failure.path("reason").path("reason").asText())
.filter(s -> !s.isEmpty())

This comment has been minimized.


joschi Sep 21, 2017

A test for this would be great.

joschi approved these changes Sep 21, 2017
@joschi joschi merged commit a3b8c6d into master Sep 21, 2017
5 checks passed
5 checks passed
ci-web-linter Jenkins build graylog-pr-linter-check 1931 has succeeded
continuous-integration/travis-ci/pr The Travis CI build passed
continuous-integration/travis-ci/push The Travis CI build passed
graylog-project/pr Jenkins build graylog-project-pr-snapshot 484 has succeeded
license/cla Contributor License Agreement is signed.
@joschi joschi deleted the fix-check-for-failed-shards branch Sep 21, 2017
@joschi joschi self-assigned this Sep 21, 2017
@joschi joschi added the bug label Sep 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants