Difference between Search Core and Search Lucene API

vreugde - May 13, 2009 - 12:49

Hi there


Lately i have being looking around for a good search module, and i have found the Search Lucene API.
But i cannot find what the big differences are between the Search Lucene API and the Search from the core.


Can somebody help me?

Greetz Maikel

DIfferences between Search Lucene API and core search

cpliakas - June 11, 2009 - 20:00

Hi.

I am the author of the Search Lucene API module. The major difference is that Lucene is an extremely advanced search engine library that offers much more functionality than core search. Below are some of the features that Search Lucene API has which core search does not:

  • Wildcard searching - ap* will match application, apple, and ape.
  • Fuzzy searching, based on Levenstein distance - test~ will match tent, Dropal~ will match Drupal.
  • Proximity searches - "Drupal php"~5 will match Drupal and php within 5 words of each other.
  • Term boosting - Drupal^4 php will match documents with Drupal or php, but will make documents with Drupal more relevant in the search results.
  • Support for all of the following boolean operators: AND, OR, AND NOT
  • Term Grouping - (framework OR library) AND php syntax is allowed.

Search Lucene API also has build in caching to improve search performance, and it is not SQL based which tends to be slow for textual searches. In addition, it is Drush aware and has a built-in Facet API to allow developers to easily create facets. Facets can also be managed via the administrative interface. Search Lucene API also exposes more hooks than the core search so you can interact with the search process without having to rewrite code.

Hope this helps,
Chris

As of the 2.0 release, Search

cpliakas - October 22, 2009 - 21:42

As of the 2.0 release, Search Lucene API also has a built-in facet API to display facets in many different ways, more advanced content bias settings, the ability to sort search results by field, and it correctly highlights matches when using projects such as Porter-Stemmer.

How does this fit with Google

Road Runner - October 23, 2009 - 11:34

How does this fit with Google Custom Search? I guess I'm not sure about all the technologies involved. I use Google Custom because it allows me to present Adsense ads - not sure what else it will do yet.

 
 

Drupal is a registered trademark of Dries Buytaert.