El 5/7/09 3:46 PM, Robert Stojnic escribió:
One other problem people had with lucene-search is that it eats a lot of resources... lucene-search can easily use couple of gigs of RAM just for the java process because of all of different caches and stuff. I was wondering if it was possible to make a lightweight server that would nicely work e.g. on an oldish machine with 128mb of ram or on shared hosting?
Of course if you really want to be scary there's always Zend's pure-PHP implementation of Lucene... :)
http://framework.zend.com/manual/en/zend.search.lucene.html
I suspect performance is dreadful for large or heavily loaded sites, though I'm a bit curious if anyone's fiddled with it for smaller sites. Not being able to share code with the Java implementation means there would need to be more reimplentation, of course. :(
But not needing a Java VM means it could be easier to set up, and more likely to be usable by folks on shared hosting.
-- brion