Which is best search engine for Drupal - Apache Solr, Faceted Search or Lucene Search?

This Comment will be submitted for moderation and will not be accessible to other users until it has been approved.


-4 points

I'm looking for the best Drupal search engine. I'm thinking on integrate Drupal with Lucene but maybe it would be a better solution to add a PHP search API like "Lucene Search API".
Any suggestions?

Thank you in advance.
Angel



-4 points

I'm pretty happy with the apachesolr module, which integrates with Apache Solr - which I think is Lucerne as well? Some of these names get a bit confusing.

~John

Anonymous's picture
Created by Anonymous
1 point

Use Apache Solr if your running the site on a big server or you have a separate server to run Apache Solr on.
If your running a site on a small VPS I would recommend that you look into Lucene Search API. Also it's pretty easy to setup compared with Apache Solr.

Cheers,
Evan

Anonymous's picture
Created by Anonymous
-3 points

Take a look at Acquia Search ( http://acquia.com/products-services/acquia-search ). Its built on both the open source Lucene and Solr distributions from the Apache project. Install the Acquia Search modules on your site, connect to the Acquia Network and that's it.

Thanks
Mike

Anonymous's picture
Created by Anonymous
1 point

Thanks for all your suggestions. I'll take a insight look at Apache Solr, seems to be the most recommended.

John, indeed Apache Solr uses Lucene. I didn't know that. Thanks again.

Anonymous's picture
Created by Anonymous
-26 points

Can you define what you mean by "best" here? Without more to go on you'll hear a lot of different answers and you'd might as well just browse the list of search-related modules at Drupal.org.

As an example, Solr is powerful but is more difficult to set up (and create custom filters for). Google's CSE are free and defers the load to Google's servers but they don't index private content. "Best" means different things to different people.

If you end up using Drupal's core search module or the Search Lucene API, check out Thrifty404. It replaces the standard "Page not found" page with one that includes a search form populated with search terms taken from the URL.

-Chris

Anonymous's picture
Created by Anonymous
-6 points

Infact for a not very popular site, or a site without a lot of content, use the faceted search module. It gives you all the power of Solr without the hassles of setting up Jetty or Tomcat. And the price you pay for this simplicity is scalability.

Other option is the Lucene API from the Zend Framework, as indicated above. I am not sure how it compares to faceted search since I have never used it.

http://drupal.org/project/faceted_search

Anonymous's picture
Created by Anonymous
2 points

I personally think Drupal's core search module is underrated - if you just want a simple search up and running right now, it gets the job done.

But for a large site, the faceting capabilities of Solr are quite nice - for example, the Drupal.org site uses it, and that's what lets you narrow down a search to just modules of a particular Drupal version and stuff.

Beware of Thrifty404 and its ilk, though. Searching can be a resource intensive process, and you have to stop and consider whether you really want a search run every time your site hits a 404 - every time a stupid browser requests favicon.ico automatically, for example. However, with the right caching in front of the server, it may not be that much of an issue.

~Gary

Anonymous's picture
Created by Anonymous
0 points

Apache Solr + Drupal Solr module seems the best option to satisfy my project needs.
Scalability and the Lucene search power is mandatory.

Thanks again Everybody.All your comments have been very useful.

Regards
Angel

Anonymous's picture
Created by Anonymous

Post Comment

  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.