-
Notifications
You must be signed in to change notification settings - Fork 10
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
Undo limit on search results for lookups #3761
Comments
@kallimathios Can you please provide precise instructions on how this can be replicated? |
Hi @justinlittman - no problem. Please see below for this specific example, and if I can provide more details please let me know. -In Sinopia Stage, navigate to the template pcc:bf2:Monograph:Work, and create a new description Thank you! |
Thanks. Exactly what I needed. |
I believe the pagination issue is due to a known and long-standing bug in QA: LD4P/qa_server#477 (cc @sfolsom). We can easily change the number of results on a page. What would you like that number to be? (If I recall, it was deliberately set to a low number for display purposes.) |
Thank you - I will take a look at the bug and hope to have more info about an ideal number soon! |
Thanks for cc'ing me. With the move to data provider API-based QA lookups, I wonder if we need to reconsider how pagination should be handled. We're relying on what data providers include in their responses, and I haven't noticed any counts and rank coming from their native APIs to translate into the QA response. For APIs that are returning RDF (no order), results are being sorted alphabetically in the JSON that QA is providing. For APIs that return JSON, we're using the relevancy order that they provide in the QA-styled JSON. Is there the possibility that Sinopia could take the results of the search and chunk it up into pages? |
@sfolsom If I'm not mistaken, the bug is with cached QA lookups. Does QA pagination work correctly for direct QA lookups? I'd suggest that pagination is firmly a QA responsibility and should not be handled by a consuming application like Sinopia. |
I'm seeing evidence that at least some direct lookups have @justinlittman can you confirm what needs to be provided to support pagination in Sinopia? Is it |
I believe that is correct @sfolsom. |
Describe the feature you'd like
We would like to
Give an example
When searching a name with many entries like "twain, mark" we are only returned 10 results, none of which contain the desired authority. Further pagination is needed.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
I left Sinopia and navigated to the service which the lookup is caching in order to find the authority and provide the full LC label for my lookup search in Sinopia. Sinopia's lookup will not return the desired result using the URI or the LC identifier. Alternatively, after visiting id.loc.gov, I could enter my own URI/label and no longer use the lookup service.
The text was updated successfully, but these errors were encountered: