I’m looking for a self hosted solution to this problem:

I want to create a full text search index from a collection of PDF manuals (text, not images, I don’t care about OCR here). There is a UI to search for text matches in documents, and clicking a search hit opens the PDF scrolled to where the search hit is (bonus points if the search hit is hilighted)

  • Jérôme Flesch@lemmy.kwain.net
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    1 year ago

    Paperwork seems to fit most of the bill except for one thing: it won’t scroll to where the search hit is (but it will highlight the matching keywords).

    Just beware Paperwork won’t just create an index. It’ll organize the PDF its own way in its own work directory.

    (full disclosure: I’m its main dev)

      • Jérôme Flesch@lemmy.kwain.net
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 year ago

        I think there is some confusion here.

        Paperwork is a desktop application, not a web application. (eh, self-hosting doesn’t necessarily always imply web applications ! :). I for one use Nextcloud and nextcloud-desktop to keep my Paperwork work directories in sync on all my computers.

    • Carunga@feddit.de
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Paperless is great. But it does not highlight the search text. The android app paperless mobile does. Another option could be zotero. It is meant for sientific papers but very powerful in handling large PDF collections. Hard to completly selfhost. But using WebDAV as storage is straightforward. Good look, let us know where you land.

  • Illecors@lemmy.cafe
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    1 year ago

    A very crude solution would be to merge all PDFs into a single file and just use the search of your favourite PDF viewer.

  • krnl386@lemmy.ca
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    I haven’t used any of these, but I wonder if any of the self-hosted open source document management platforms would serve your purpose? Something like PaperMerge or similar?

  • doeknius_gloek@feddit.de
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    That’s a very specific problem and I don’t know if there is an existing solution that does exactly what you want.

    paperless-ngx does a lot of the things you ask for, it lets you upload pdfs, does OCR and gives you full text search via a web ui. It’s just not made specifically for manuals and it does not highlight the search hits or scrolls to them.

  • bdonvr@thelemmy.club
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 year ago

    So like self-hosted Spotlight? That would be cool

    Or rather - FOSS Spotlight. I suppose it’s already self hosted

    • poVoq@slrpnk.net
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Not by default, but I am relatively sure that the full text search extension does.