Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Maybe it's just me, but over the years Solr and Lucene have become an impenetrable project. When I first started playing with Lucene many years ago it was very simple, transparent code backed by solid and understandable algorithms and data structures. Now of course, it was limited.

But now Solr has absorbed Lucene and it seems to do everything and the kitchen sink. The abstractions in Solr in my experience are mindbogglingly complicated if you want to extend its capabilities, because it does so many things.

I have yet to look at 4.0 but I hope they have removed as much as they have added. I think if the focus for the next release of Solr was to remove lots of unused, poorly factored, or complicated features it would be a huge benefit to the project.



Yes, a bit like Java itself, I see it as trending towards being an "Aircraft Supercarrier Battle Fleet" of functionality. (See also: the Hadoop ecosystem.)

But, it's free, powerful, and supported by a giant community... so once you get the hang of picking and choosing the parts you need, ignoring the rest until needed, you can get impressive results with minimal effort.


Solr _is_ designed to be a lot more than Lucene.

You can always continue to use Lucene if you want to write the bulk of the search engine functionality yourself, and just need an indexing+search library.


It does do a lot of stuff, mostly that only gets in the way once you start scratching around and realise there's a lot to figure out.

For me one place it could really be simplified is the basic config it comes with. When you first approach the project the config files are so complete that you just have no idea where to start.

Then again, once you figure out the basics you have an amazingly powerful search engine that performs admirably and can scale to massive loads.


You can use ElasticSearch (based on Lucene - http://www.elasticsearch.org/) if Solr/Lucene seems to complex. I wasn't very successful in getting a stable setup when I tested it (more than a year ago), but as you can see from their web page, they aim at making things easier.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: