Open randalldfloyd opened 5 years ago
The current behavior is that if a user is somewhere within a multi-page digital object and performs a new search, the viewer does not reset to a page with search results. This typically leaves the user on a page with no results wondering if the search worked or not, and leaving them to use the navigation controls to find hits, which may not be obvious at first.
It seems that the IIIF Content Search specification provides a mechanism for this, which is a property called "startIndex" in the response: https://iiif.io/api/search/1.0/#paging-results
As a
User searching extracted text in a multi-page digital object
I want
To be taken to the first page that a search term exists on
So that
When a term first occurs somewhere within the multi-page object (but not on the current page), the viewing pane won't leave the user stuck on the current page and require them to navigate to the first page that has a search result on it.