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 - statistics metadata? #230

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

search API - statistics metadata? #230

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.

Some PDP implementation may want to add additional statistics data on the result set, like

  • number of total records (e.g. for pagination)
  • query-related profiling data (e.g. database response time)

This could be done either in a dedicated 'statistics' attribute, or a more general 'context' attribute.

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