Skip to content

Range filter doesnt use related search #217

Description

@einorler

In preProcessSearch method of Range filter stats aggregation is added:

$search->addAggregation($stateAgg);

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions