On Mon, Jun 29, 2009 at 4:24 PM, Phil Marshall<[email protected]> wrote: > We currently use htdig for the search tool on our websites. Although we have > been using it for years, we have had a few complaints from customers > recently. So we are looking for a better tool to replace it. What do you use > on your sites? What are the generally preferred tools?
Depends on what languages you're using for your site. If you're using Java, the standard answer is "Lucene". If you're using PHP, Zend Framework has a component "Zend_Search_Lucene" that allows you to both create and search Lucene-compatible indexes using PHP. This gives you the flexibility to use Java tools to analyze and populate the index if you want -- but also to do it all from within PHP. Another solution I've seen people using is Solr. Solr actually utilizes Lucene internally, but provides a lot of features on top of it like query and result caching. You deploy it on a standalone server, and then use web service API calls to query it. This is a nice alternative as it offloads the heavy processing from your website, and allows you to use any language you want on the website (so long as you can then make web service calls from that language... and I can't think of any cases where that wouldn't be true). -- Matthew Weier O'Phinney [email protected] http://weierophinney.net/matthew/
