sist2 icon indicating copy to clipboard operation
sist2 copied to clipboard

Preview Of Text and Count with Search Pane

Open learnerjava830 opened this issue 2 years ago • 5 comments

Which SIST2 component is your Feature Request related to? Preview Windows with search results

Is your feature request related to a problem? Please describe. Let' say i search for a keyword which has occurrences in many files. The preview window shows the portion of the highlightext in the passage and search pane to move forward with the same preview window

What would you like to see happen? An easy navigation of search results with easy accessibility with next, previous

Additional context https://docfetcherpro.com/feature-comparison/preview/ https://anytxt.net/wp-content/uploads/2021/05/2021-5-29-2-768x461.png

learnerjava830 avatar Aug 21 '22 02:08 learnerjava830

Hi, could you provide a sketch or a description of how that would look like visually within the sist2 web UI? I'm not sure I understand

simon987 avatar Aug 27 '22 18:08 simon987

Not sure if this is what op is thinking, but personally would very much like to be able to expand further the preview, maybe with a button like so? image Then when it is expanded, the previews show the context, like so: image

Other examples from Obsidian: image image image

mbhkoay avatar Jun 18 '23 07:06 mbhkoay

If you click on the (i) icon to the left of the file name, it will provide you with the full context and all hits on the search term in the document.

I don't think there is currently a display of the number of hits within the document.

dpieski avatar Jun 20 '23 14:06 dpieski

Thanks for pointing that out. The results from sist2 interface shows fewer hits than when searching in the pdf? Definitely looking forward to an enhancement for this. e.g. 33 results on the left (sist2 interface), 218 results from pdf. image

mbhkoay avatar Jul 06 '23 15:07 mbhkoay

Hi, by default sist2 indexes the first 32kb of text, you can increase the value with --content-size. This is probably why you're seeing a difference.

On Thu, Jul 6, 2023, 11:44 mbhkoay @.***> wrote:

Thanks for pointing that out. The results from sist2 interface shows fewer hits than when searching in the pdf? Definitely looking forward to an enhancement for this. e.g. 33 results on the left (sist2 interface), 218 results from pdf. [image: image] https://user-images.githubusercontent.com/29805565/251501951-b07b661b-c78f-4ebc-a3ed-0cee507d8bf8.png

— Reply to this email directly, view it on GitHub https://github.com/simon987/sist2/issues/299#issuecomment-1623903611, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWKPU7HBPL7QKBYRFSO2D3XO3MNLANCNFSM57EFVEYA . You are receiving this because you commented.Message ID: @.***>

simon987 avatar Jul 06 '23 15:07 simon987