Skip to content
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

Sort CM results in ES query #137

Open
olsi-qose opened this issue Nov 24, 2021 · 0 comments
Open

Sort CM results in ES query #137

olsi-qose opened this issue Nov 24, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@olsi-qose
Copy link
Member

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

@olsi-qose olsi-qose added the enhancement New feature or request label Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant