I was having problems with short words that were subject to stemming not being indexed or searchable. Words like "eka" or "öga" will be stemmed to "ek" and "ög" and with the default word size setting of 3, these will not be indexed nor searchable. This patch makes it so that strings that would be stemmed to be less than index word size circumvent stemming.

You can also lower the word size to 2. Still, that doesn't get around the problem that there might be two letter words you may want to index, words would be stemmed without this patch, such as "ås" or "is".

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

solipsist’s picture

A less than or equal should be a greater than or equal :)

frjo’s picture

Assigned: Unassigned » frjo
Status: Needs review » Fixed

Committed to HEAD and 6-dev, will be part of the next release. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.