Live data from Hacker News

Xapian: Open source search engine library

xapian.org

41–45 of 45 posts

Re: Xapian: Open source search engine library

#41
post #22

I remember having used, a very long time ago, a self-hosted search engine on my library of PDFs, and it was unbelievably useful. I dream about a similar thing that can do OCR on scanned docs and extract text from my also sprawling library of epub and mobi files. If someone builds something like this, with maybe a LOCAL LLM to extract text descriptions from photos and movies as well as indexing metadata for everything…

[deleted]

Re: Xapian: Open source search engine library

#42
post #40
post #13

Earlier quoted context omitted.

I use recoll to index and search thousands of pdfs. Because I always have the author name in the filename I can filter queries like this: Cybernetics OR steering filename:Heidegger ext:pdf It's an absolute power tool.

If your PDFs have Author properties then you might be able to do "author:Heidegger" too. The Recoll PDF filter extracts some of these fields and if I remember right it can be configured to extract additional custom properties too.

That would be great, however most of my pdfs don't have the author property set.

Re: Xapian: Open source search engine library

#43

This project has been around and maintained for more than a decade! Small footprint, good speed. One downside might be GPL v2 for commercial use.

I used it commercially, at a very big international company. All users had access to its unmodified source code and templates. There was no trouble at all.

Re: Xapian: Open source search engine library

#45
post #28

Earlier quoted context omitted.

Evernote will do this, you can feed it a bunch of PDFs and other documents, it will OCR them and make them all searchable. it's not perfect, but you can also add manual tags for things you know are important.

At some point I'd love to further train an LLM on all my PDFs and be able to ask it questions.

For txt based pdfs, doc files etc, this is super easy to do and requires very little technical expertise or configuration. Download the gpt4all client. Pick an LLM the new meta llama3 model works really well then configure the local documents plugin.

I wrote a scraper to download all of the California EdCode from the governments site, convert them all to txt docs and I can ask questions about California EdCode in plain English.

I work in a shared governance capacity that requires us to refer to the Ed code for contractual negotiations and it’s been extremely helpful.

Post reply on HN