Skip to content

Range filter doesnt use related search #217

Open
@einorler

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?

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