Split indexing of pdf files into pages to allow features like "jump to search result"
Which SIST2 component is your Feature Request related to?
Scan / Web (future)
Is your feature request related to a problem? Please describe. When using long pdfs and searching for content inside the pdf it is always frustrating to have to search for the query inside the pdf file preview again. MUPDF already seperates the ocr into pages from what I saw, so it shouldn't be that hard to store the ocr "by the page", so the web frontend could at least know where the result is found inside the pdf.
What would you like to see happen? Implement the above.
Additional context https://github.com/sist2app/sist2/blob/master/third-party/libscan/libscan/ebook/ebook.c#L369
Its a great feature to be added
Could you explain what you would like to see in the web UI? Would pages appear as individual search results (i.e., behave the same as a .ZIP file with one file per page inside them) ?
Could you explain what you would like to see in the web UI? Would pages appear as individual search results (i.e., behave the same as a .ZIP file with one file per page inside them) ?
Yes, something similar to this. The "dream" solution would be to show all the results (expand if there are too many) with context (page no. and words around the matched result) and a link to directly jump there in the pdf.
Implemented in v4.2.0