In a web application used to search content inside documents, we have a view displaying the main parts of a documents:
- Chapters
- Diagrams
- Tables of data
Users can search for specific words inside this document extract. The app then displays chapters, diagrams and tables corresponding to the search.
The thing is that the order of elements is important to have an idea on the document and data. On the other hand, it is necessary to help the user find the best matches in the document for his search.
I identified two approaches: 1. Make a list of the 3 best matches at the top of the page, redirecting to the elements in context 2. Display an indicator of pertinence for each element.
Do you have any good examples in mind of good implementations for these solutions? Do you think of another solution?