search module - find substrings

heinzd - February 5, 2009 - 19:55

Hello

I'm playing around now for a while with drupal 6. The search function works, but I want it also to find substrings.
eg. if there's a word "spotlight" in an article, a search for "spot" or "light" should return that article.
I've looked for some custom code, but I couldn't find anything usable.
As substring search works default in Joomla I'd be very pleased to have it in Drupal too.

Who can tell me how to get it working?

thanks a lot
bye
Heinz Dumfart

_

WorldFallz - February 5, 2009 - 20:15

For english there's the http://drupal.org/project/porterstemmer module, and iirc, there's some for other languages. Perhaps a look at the code might be useful.

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

thanks, I'll have a look at

heinzd - February 5, 2009 - 22:02

thanks, I'll have a look at it, but actually I'd need something for german language

_

WorldFallz - February 5, 2009 - 23:25

die deutsche Version ist hier: http://drupal.org/project/de_stemmer ;-)

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

 
 

Drupal is a registered trademark of Dries Buytaert.