-
Notifications
You must be signed in to change notification settings - Fork 3
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
Report number of results available #213
Comments
Plan discussed in QA-Sinopia meeting today... Proposed results structure
Work involved:QA:
Cache:
|
Might want to include record_offset to anticipate the need to know where in the pagination this result came from... |
Does Sinopia have a DOI or comparable to use as a subject URI for the count? |
Not really, in the past we've used a |
@eichmann Why would the count need a subject URI? Shouldn't QA just be returning JSON? |
@jcoyne QA will return the json in the Proposed Results Structure. But QA does not receive all results, so the results coming from the cache have to tell QA the |
@elrayle how does this look for a count triple: http://ld4l.org/ld4l_services/cache http://vivoweb.org/ontology/core#count "712" . Not sure that count is actually a vivo property, but there's nice symmetry with rank. |
Demo implementation running at http://wintermute.slis.uiowa.edu:8081/ld4l_services/share_vde/x_batch.jsp for all VDE sites and 'x' is one of the site names. Counts are easy, as my tag library already provide it. |
@eichmann This looks good. I'll give it a go today and see about creating the results info in the QA response. |
Ready on stage for QA authorities driven from LD4L_CACHE. This does not include Discogs. |
Final format of the response header is...
|
This issue is complete for LD4L_CACHE. A new issue was created for the DISCOGs work. #252 Create response header with pagination information for Discogs |
In order to paginate through a result set, it is helpful to know how many results are in the full set (vs the number returned on the current page). Ideally, the UI could return the URL for the next and previous pages. See http://demo.projectblacklight.org/catalog.json?f[format][]=Book for an example.
The text was updated successfully, but these errors were encountered: