News for hackers. Stuff that matters.
Re:Replacing Elasticsearch with Rust and SQLite (2017) by leetrout on Sunday May 16, 2021 @06:59PM (#27177957)
I’m always surprised when people haven’t heard of Xapian which is also in this space.

I tell people Xapian is the SQLite of search.

https://xapian.org/

Re:Replacing Elasticsearch with Rust and SQLite (2017) by shakow on Sunday May 16, 2021 @09:33PM (#27179160)
I know it for being the backbone of the equally austere notmuch MUA (https://notmuchmail.org/), where it does a great job of churning instantly through dozens of thousands of mails.
Re:Replacing Elasticsearch with Rust and SQLite (2017) by kanwisher on Sunday May 16, 2021 @10:51PM (#27179624)
Looks like its GPL not LGPL. Seems not usable for most people
Re:Replacing Elasticsearch with Rust and SQLite (2017) by randshift on Monday May 17, 2021 @10:06AM (#27183551)
I used this pretty extensively at a startup in 2012 or so. It was very easy to use and modify, but definitely lacked the polish of ElasticSearch at the time. There were SWIG bindings that let us use it with Python.
Re:Replacing Elasticsearch with Rust and SQLite (2017) by yukinon on Sunday May 16, 2021 @07:38PM (#27178320)
I'm not surprised. Low-tech website with zero marketing and no big players using it or throwing their weight behind it.

I've perused their docs and the immediate question for me is, why would I use this over another more popular search library or database that already has a wealth of stackoverflow and blog posts?

I'm sure it's a fine tool, but I don't see a reason why an enterprise should hedge their bets on this unknown.

Re:Replacing Elasticsearch with Rust and SQLite (2017) by yakubin on Sunday May 16, 2021 @08:49PM (#27178829)
Notmuch[1] is using it. It has a good reputation.

[1]: <https://notmuchmail.org/>

Re:Replacing Elasticsearch with Rust and SQLite (2017) by yukinon on Monday May 17, 2021 @02:56AM (#27180710)
Thanks for the example, I'm aware of Notmuch but had no idea it relied on Xapian. However, back to my original point, there's simply not enough people or large projects/companies that rely on and use Xapian. I'm 99% positive that there is less than a handful of people at any of the last two Fortune 500 companies I've worked for that even knows what Notmuch is. But everyone knows Elastic, MongoDB, etc..

Again, I don't think Xapian is a bad tool or that it's underperforming by any stretch, but OP should not be surprised at all that most people have not heard of it.

Re:Replacing Elasticsearch with Rust and SQLite (2017) by pbowyer on Monday May 17, 2021 @02:41AM (#27180637)
I tried, and was never able to get the accuracy of results I expected when searching a SaaS address book. I had better results doing the search in SQL FWIW (though that was slower)
Re:Replacing Elasticsearch with Rust and SQLite (2017) by papito on Sunday May 16, 2021 @07:40PM (#27178345)
Yeah, I did a POC with Xapian ages ago. You would have a hard time convincing anyone to add a C++ indexer to their stack. I know I know, bindings, and all, but still.
Re:Replacing Elasticsearch with Rust and SQLite (2017) by singhrac on Sunday May 16, 2021 @08:08PM (#27178562)
Over one in Java? I’m not a Xapian proponent or anything, but my understanding was that ElasticSearch was slightly annoying to maintain because you need to worry about heap memory usage.
Re:Replacing Elasticsearch with Rust and SQLite (2017) by WatchDog on Sunday May 16, 2021 @08:15PM (#27178618)
If my app was already running on the JVM, it's a pretty easy decision to run it embedded.
Re:Replacing Elasticsearch with Rust and SQLite (2017) by happyweasel on Monday May 17, 2021 @02:20AM (#27180542)
Does it do precise group-by queries? (facets) Can you do custom ranking by providing a class / plugin? (even a c++ plugin would be fine) thanks..
Re:Replacing Elasticsearch with Rust and SQLite (2017) by randshift on Monday May 17, 2021 @10:04AM (#27183528)