Fuzzy search module ported to Drupal 6


By Aaron - Posted on 07 March 2010

I've just released a Drupal 6 version of the Fuzzy Search module. The module works independently of Drupal's core search, using its own index and settings.

Fuzzy means that it will return partial matches. If you search for treat, it would match treatise, treatment and treating. It also sorts results based on how accurate the match is. Treat would sore higher than treatment, becase treat matches the full keyword in your search.

I added a block to the module that returns nodes base on a query in the url. I'm using this in a similar content block on a new site. It has the potential to be slow as the index table grows, so the block probably isn't recommended on every page. I'm using it on a node/add page to suggest existing content that might keep the user from creating a new node.

Give it a try and let me know how you like it.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor.
Fill in the blank