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

[Algolia] Multiple Sortby fields not supported #70

Open
alexander-schranz opened this issue Jan 12, 2023 · 0 comments
Open

[Algolia] Multiple Sortby fields not supported #70

alexander-schranz opened this issue Jan 12, 2023 · 0 comments
Labels
Adapter: Algolia Algolia Adapter related issue features New feature or request

Comments

@alexander-schranz
Copy link
Member

Currently we are not supporting to sortby document by multipl sortBy in the Algolia adapter. It has the reasons because in Algolia we need to create for each sortableField an own replica with a custom ranking.

https://github.com/schranz-search/schranz-search/blob/0fa3b56ee10521fd481ed5fe5358f38cb061ccb0/packages/seal-algolia-adapter/AlgoliaSchemaManager.php#L44-L71

And so we can just search by one specific sorted index: https://github.com/schranz-search/schranz-search/blob/0fa3b56ee10521fd481ed5fe5358f38cb061ccb0/packages/seal-algolia-adapter/AlgoliaConnection.php#L104-L107

@alexander-schranz alexander-schranz added features New feature or request Adapter: Algolia Algolia Adapter related issue labels Jan 12, 2023
@alexander-schranz alexander-schranz changed the title [Algolia] Sortby multiple fields not supported [Algolia] Multipple Sortby fields not supported Jan 12, 2023
@alexander-schranz alexander-schranz changed the title [Algolia] Multipple Sortby fields not supported [Algolia] Multiple Sortby fields not supported Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Adapter: Algolia Algolia Adapter related issue features New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant