Blog - News, interviews and lots more
Vote Now! - May Site of the Month
Tweet20 May 2011 | |
Voting is now closed
The winner was DNA (NZ) submitted by DNA
You can view the winners page, or view all past winners in the Site of the Month Hall of Fame
2 Comments
RSS feed for comments on this page RSS feed for all comments
William Melbourne
31/05/2011 5:53pm (2 years ago)
I wonder how the "find me a chiropodist" site did the search engine. Unless they used a third party add on its one of the last great unknowns inside SS in my opinion
Aram Balakjian
02/06/2011 1:38pm (2 years ago)
Hi William, check out the post on the Autocomplete Member Search which, although simplified will give you a good example of how to achieve the sort of search used on the Chiropodist site.
http://www.ssbits.com/tutorials/2011/create-an-ajax-auto-complete-member-search-with-silverstripe-and-jquery/
Also check out the SearchContext Class for DataObjects which can build complex search forms for Single DO pretty well.
What get's hard is when you want to search over a number of different classes and fields and then rank those results. If you want to improve the in-built site search then I can recommend using the Lucene Search Module:
http://code.google.com/p/lucene-silverstripe-plugin/
Or if you have a bit of server experience the Sphinx Search Module:
http://silverstripe.org/sphinx-module
Post a comment ...
You cannot post comments until you have logged in. Login Here.