Live data from Hacker News

Xapian: Open source search engine library

xapian.org

21–30 of 45 posts

Re: Xapian: Open source search engine library

#21

Earlier quoted context omitted.

Elastic Search and its Amazon fork Opensearch perhaps?

Xapian is a library, while elastic has a client-server model Xapian is more like sqlite while elastic would be mariadb

Lucene which is what ES builds upon is a library with bindings in languages other than Java, and it's Apache licensed.

Re: Xapian: Open source search engine library

#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, subtitles from movies and lyrics for songs, and add that to a NAS appliance, it’d be a killer.

Re: Xapian: Open source search engine library

#24
post #13
post #6

used also by recoll, the desktop search app: https://www.recoll.org/

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.

I do it like this:

Title Year Author Name.pdf

Same benefits as you mentioned. You can also filter by time that way.

Re: Xapian: Open source search engine library

#25
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…

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.

Re: Xapian: Open source search engine library

#27
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…

I have most of this code for doing this - just needs to get rewritten for local storage (I was running it on Google Cloud). Need to pick something that doesn't run Solr as a service for local use. With Ollama, we have function calls running, so should be doable. I was also thinking about using the Open WebUI for use.

Re: Xapian: Open source search engine library

#28
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…

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.

Re: Xapian: Open source search engine library

#29
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…

DEVONthink 3 [0] (Apple only) will do most of that although I don't keep up at all with its interoperability with LLM extensions.

[0] https://www.devontechnologies.com/apps/devonthink

Re: Xapian: Open source search engine library

#30
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…

> extract text descriptions from photos and movies as well as indexing metadata for everything, subtitles from movies and lyrics for songs

The big AI players are probably already scraping the bottom of this "barrel" in their search for training data, I am sure ...

Post reply on HN