-
Notifications
You must be signed in to change notification settings - Fork 43
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
Range filter doesnt use related search #217
Comments
It should, this is a bug. |
This bug still existing, any fix? |
Yes it is still here, filter manager could be revised after ElasticsearchBundle will be done. The faster way would be if somebody could create a fix by PR and then I would merge and release a patch ;) |
I'm investigating about it. If I found any solution will create a PR. |
I'm testing it. According with @einorler i'm trying to add the FilterAggregattions of search instance but atm without results.
Any suggest whould be appreciated :) |
In
preProcessSearch
method of Range filter stats aggregation is added:FilterManagerBundle/Filter/Widget/Range/Range.php
Line 63 in 103bd48
it provides data for max and min values, but, it aggregates on all documents instead of limiting to current search. IMO it should add a
FilterAggregation
with post filters from related search instance like it is done in filters like choice, dynamic aggregate and others. Any thoughts?The text was updated successfully, but these errors were encountered: