Skip to content

Sort CM results in ES query #137

@olsi-qose

Description

@olsi-qose

Is your feature request related to a problem? Please describe.
Currently the correct sorting is applied after the catalog results are returned from the ES query using another interceptor. https://github.com/Nosto/nosto-magento2-cmp/blob/develop/Plugin/Api/Search/SearchResultSorter.php#L66

Describe the solution you'd like
A better solution would be to sort the results in the ElasticSearch query.

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions