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 for federated / multi-search #24

Open
Ra0R opened this issue Nov 25, 2022 · 2 comments
Open

Support for federated / multi-search #24

Ra0R opened this issue Nov 25, 2022 · 2 comments

Comments

@Ra0R
Copy link

Ra0R commented Nov 25, 2022

Description

https://typesense.org/docs/0.23.0/api/federated-multi-search.html#multi-search-parameters

It does not seem like the library supports multi-search / feterated. Is this a planned feature?

@kishorenc
Copy link
Member

@Ra0R

The client does support multi-search. Check the example here: https://github.com/typesense/typesense-java/blob/master/src/test/java/org/typesense/api/MultiSearchTest.java#L75

@psyklopz
Copy link

A type for MultiSearchParameters exists, but it doesn't appear that any API calls use that type.
I'd much prefer to use a strict type than the HashMaps shown in the above example.

This allows the compiler to enforce that the fields are named appropriately.

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