I am using the basic search module. It appears that it has to match the entire word.
I've even tried the options in the "Advanced search", but to no avail.

Here's an example. I created a page called "Testing Search"

When I search:
tes
test
testi
.....

It returns no hits.
When I search "testing", only then does it return a hit.

This is quite bad. What am I doing wrong? How do I fix this?

Yes, I've re-indexed my site.

Thank you!

Comments

bwv’s picture

I am not sure I understand why you think its "quite bad." Should we not assume a modicum of literacy amongst those who visit our websites? (PS: I tried the same thing on my site and came up with no hits.)

dayalsoap’s picture

Suppose someone wanted to search for "pictures" and i had named my thing "picture albums"... i mean, there are a number of cases I can think of where a shorter word will suffice.

Porter-Stemmer seems to be what I need. I'll report back later.

matkeane’s picture

Hi,

In order to match partial words like that, you need to do something called 'stemming' - and the Porter-Stemmer module does just that - http://drupal.org/project/porterstemmer - although only with English text.

dayalsoap’s picture

It works great!! thank you for your help!!!

dayalsoap’s picture

StemPorter appears to have STOPPED working.

This is quite disappointing. I need to allow my users to have some flexibility in their searching.......

dayalsoap’s picture

Yeah... it definitely doesn't work.

The example above, no longer works.

It worked once, now it no longer works.

It's surprising to me that how power drupal is, they are a bit haphazzard at letting modules into the community. half of the modules and themes frankly do not work.

matkeane’s picture

Did you re-index the site after installing the Porter-stemmer module?

rooby’s picture

For a drupal 7 version of partial word search see - #498752-19: Partial word search for Drupal 7
And for support for the search filter and argument in views also see #1480594-5: Filter Search Terms partial matching

Note that these are hacks but they are useful.