Skip to content

[elasticsearch-plugin] Optimize priceRange method #5

@Izayda

Description

@Izayda

Is your feature request related to a problem? Please describe.
Now, when we query prices field in search query we always trigger rather heavy query despite of attributes listed in prices field.

For example, if we want to get only

range {
    min
    max
}

we don't need to send to elastic whole query

Describe the solution you'd like
Elastic plugin dynamically determine what aggregations should be send to elastic instance.

Describe alternatives you've considered
Just be slightly slower.

Metadata

Metadata

Assignees

No one assigned

    Labels

    elasticsearch-pluginRelated to the elasticsearch-plugin package
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions