27 June 2009 at 10:58am
I've found that Silverstripe's built in search feature can't match an indexing and ranking search engine for quality, so I've written some code that integrates JRank - an external search engine - into Silverstripe. You can find the code here:
It's not implemented as a module, because I'm quite new to extending Silverstripe, and PHP in general, but it is fairly easy to set up. Added to that, it works nicely as-is. Any comments or suggestions are welcome.
Awesome, clean code and nice separation of presentation from the RESTful logic. You might want to look at the RestfulService class to save yourself some coding :) I'd say the module is not that far off from having a 0.1 release, its basically just lacking some documentation.
By the way, we're currently implementing sphinx search (http://sphinxsearch.com/) as a better on-site alternative to mysql fulltext. If that goes all goes according to plan, it should become a module soon.
17 July 2009 at 12:17pm
(Last edited: 17 July 2009 12:18pm),
Thanks. I didn't know about that class. Good to hear that an integrated search engine is coming. The biggest difference between JRank and Sphinx is that JRank runs on a separate server, whereas Sphinx runs on the local server. It depends on what people want and how fast/slow their server is.