Currently, when the PDF.js viewer is set for book objects, the Solr result urls don't pass the page number or search term to the viewer.
Replicate IAV Solr search result behaviour in the PDF.js viewer.
Adds "page" and "search" params to Solr result url and passes said params to the PDF.js viewer. The viewer will highlight the search term in the document and will take the user to the page that corresponds to the Solr result.
Update the PDF.js library to the latest code.
Clear browser cache
Ensure book objects have a PDF datastream
Set book viewer to PDF.js
Search for the term that exists in book object PDF
When navigating to the book from the search result, the search term should be highlighted in the PDF.
When navigating to the page from the search result. the search term should be highlighted in the PDF AND and the viewer should be opened to the page that corresponds to the Solr result.