5 ms·
nice. I've been waiting to see some full-text search engine in Go for a while to compete with the omnipresent Lucene. Things like Go's low memory footprint coul
by drsintoma 13y ago
nice. I've been waiting to see some full-text search engine in Go for a while to compete with the omnipresent Lucene. Things like Go's low memory footprint could give it an important advantage in this area. This looks like a first step in that direction.
- danieldk 13y agoThings like Go's low memory footprint could give it an important advantage in this area. You know that there is a C++ version of Lucene? http://clucene.sourceforge.net/ http://clucene.sourceforge.net/ There's also Xapian, which is built in C++: http://xapian.org/ http://xapian.org/ So, if Java's footprint is a concern, there are alternatives.
- nkurz 13y agoI hadn't realized that CLucene was still active, thanks! Apache Lucy is another option that might appeal if you consider Lucene bloated. It's written in C, and while there aren't Go bindings yet, there's great interest in providing them and a couple people starting on them: http://mail-archives.apache.org/mod_mbox/lucy-user/201308.mbox/browser http://mail-archives.apache.org/mod_mbox/lucy-user/201308.mb...
- vidarh 13y agoAs for other non-Java Lucene alternatives, Sphinx works great, is compact and the C++ code is fairly easy to pick up enough of to make modifications if needed: http://www.spingxsearch.com http://www.spingxsearch.com
- mumrah 13y agoSince 4.0, Lucene's memory usage has dropped quite a bit actually.
- moondowner 13y agoThere are a lot of good people working on Lucene, and every year good contributions come via GSoC.
- gwu78 13y agoThere are certainly alternatives to Lucene. What about idzebra? It's written in C, it predates Lucene and it was used as the indexing system for Harvest (the origin of Squid). What is more likely than "low memory footprint" to give an indexing system written in Go an advantage over alternatives is the marketing of Go. It seems the language is being promoted nearly every day on HN's front page. If this is any indication of usage trends among developers, the Go Authors must be pleased.