-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
GenerateScopedSearchKeyParams missing collection
#119
Comments
@DanSnow Could you expand on your use case for expecting |
Thanks for the explanation. My colleague told me that Our use case is: We have a static site generator to generate multiple sites. And we used TypeSense as the search provider which stores all the articles across all the sites. We want to limit the search only to a specific site. So I'm supposed to limit the collection in the parent API key and adding |
Description
I think the
collection
definition is probably missing herehttps:/typesense/typesense-js/blob/master/src/Typesense/Keys.ts#L12
Steps to reproduce
Expected Behavior
Can use
collection
to generate a scoped search keyActual Behavior
Type error
Metadata
Typsense Version:
OS:
The text was updated successfully, but these errors were encountered: