polar-bookshelf
polar-bookshelf copied to clipboard
Annotations search function does not search user's annotations
Describe the bug When searching for annotations you've added yourself, you get no results.
To Reproduce Steps to reproduce the behavior:
- Go to any document with annotations contributed by the user (comments on text highlights or area highlights, or flashcards made attached to those highlights)
- Search for any word in those user annotations
- The results do not include those user annotations, only highlights from the document itself
Expected behavior The contents of comments & flashcards added as annotations by the user should be included in the annotations search results.
REASON: Since some documents don't have OCR, area highlights are the only way of annotating the document - and these aren't searchable by text, so user-annotations (comments or flashcards) are the only way to search annotation text for keywords.
Screenshots
Document with comments and flashcards attached to area highlights:
Result of searching for word in flashcard:
result of searching for word in comment:
Desktop (please complete the following information):
- OS: MacOS 10.15.7
- Browser: firefox 82.0.1
(Issue present on desktop and browser versions)
This is actually more of a request for OCR support would you agree?
OCR would be great, but I specifically want to be able to search my own comments. Then I can use my own language to map out & navigate a text, and add keywords that connect things that may not have been explicitly laid out in the original document.
In a perfect world the annotation search would let you filter results by source - original text, comments, flash cards or anything else - but searching my own comments is actually the most valuable among those to me.
Can't you filter in the filter bar at the top?
The search bar labelled "filter annotations by text" returns no results containing text from comments or flash cards, and has not options to select which sources are being searched.