Plugin: Search with Lucene (Alpha, maybe dangerous)
Posted: Mon Aug 13, 2007 9:28 pm
I had a working version of this for some time, but it suffered of extrem memory consumption on large blogs while generating the index. Now I had the time to solve this. There's still a lot work to do.
This release is made to get some attention, comments and criticism about the current state and perhaps some ideas or patches for future development.
So go ahead if you dare...
Changelog
EDIT 20070815: Updated quoted README to version 0.2
This release is made to get some attention, comments and criticism about the current state and perhaps some ideas or patches for future development.
You may download the plugin here (user: s9y, pass: serendipity, svn possible) and install it to your s9y. (I consider this plugin too unfinished and mainly untested to put it into the CVS where spartacus would fetch it for the broad audience)README wrote:ALWAYS REMEMBER
This a highly experimental pre-alpha-version of the plugin.
Don't expect it to do anything but blow your whole installation in pieces.
REQUIRED
* PHP 5 (Zend Framework relies on this)
* A recent Zend Framework (>=1.0) installed in the folder bundled-libs (bundled-libs/Zend, I should be enough to have Zend/Search and Zend/Exception.php in there, the rest is not needed)
* Write permissions to templates_c/plugin_search_lucene
* A good BACKUP (just in case)
RECOMMENDED
* ctype-extension (used for letter/digit-recognition in UTF-8)
* mb-extension (used for multibyte string functions)
Both functions are worked around if missing, BUT this will happen at the cost of functionality and/or performance! (up to factor 20 slower with missing ctype!)
KNOWN BUGS
* Only unknown bugs at this time
PLEASE NOTE
* Search currenly is a hack and only works via a special URL
with URL-rewriting: http://example.com/search_lucene/my_term
without " : http://example.com/index.php?/search_lucene/my_term
* Check file templates_c/plugin_search_lucene.log for debug-information
So go ahead if you dare...
Changelog
EDIT 20070815: Updated quoted README to version 0.2