Multiple Stemmers seem to conflict

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by ducdebreme on June 25, 2008 at 7:43am

We have a multilingual website providing German, English, French and Italian content on a Drupal 5 instance.
We used to use Drupal's internal search and had many issues about terms that were not found. I found, that the problems might be solved using stemming.
So i installed stemmer for all the languages: porterstemmer, de_stemmer, ...

But we still had issues. I discovered that all the stemmers are called one after each other. They are all hooking into hook_search_preprocess(&$text). This way, all stemmers are called in a pipeline and thus destroying the content.
I thought, the problem might be solved by forcing the stemmers, only to act, if the content's language fits to them. But i found that the stemmer has no knowledge about the language of the node, that is about to be indexed.

  • Does anyone have ideas?
  • Are the issues targeted with new search approaches?
Categories: , ,

Comments

This is a great bug report/feature request

Posted by robertdouglass on July 2, 2008 at 5:17pm

Can you please file it in the issue queue for D7? The bug is that hook_search_preprocess is not language aware.

Thanks for the feedback...

Posted by ducdebreme on July 4, 2008 at 7:21am

Search

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /