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

search API - add context metadata #229

Open
umbrellaassociates opened this issue Feb 26, 2025 · 0 comments
Open

search API - add context metadata #229

umbrellaassociates opened this issue Feb 26, 2025 · 0 comments

Comments

@umbrellaassociates
Copy link

Search API currently only returns results and pages properties.

there is no place to add additional contextual data to the results.

One use case is the so called "Zookie" in SpiceDB or a general time-based token that represents a state of the resultset.
In SpiceDB, the Zookie/token is used by the application and used for later PDP/PIP requests, making some advantage of the databases caching mechanism.

Another possible use case for context-data could be application specific statistics, like the number of records.

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

1 participant