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

support extra query parameters in algolia search params. #126

Open
ribrdb opened this issue Oct 4, 2022 · 2 comments
Open

support extra query parameters in algolia search params. #126

ribrdb opened this issue Oct 4, 2022 · 2 comments

Comments

@ribrdb
Copy link

ribrdb commented Oct 4, 2022

Description

The algolia helper supports setting arbitrary query params (using setQueryParameter). However the adapter ignores these.
It would be nice if the adapter could take extra params from here and pass them along to typesense.
I am trying to build a widget that is managed by the instantsearch state to configure the query_by param.
I can directly modify the typesense client, but then the instantsearch routing state doesn't update.

@jasonbosco
Copy link
Member

jasonbosco commented Oct 4, 2022

Could you share a small sample project I can run locally that uses setQueryParameter? I can then use that to add support for it in the adapter.

If it's easier, feel free to fork this demo project to use setQueryParameter: https://github.com/typesense/typesense-instantsearch-demo

@jhotujec
Copy link

jhotujec commented Mar 4, 2023

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants