Community & Support

Drupal search needs whole word

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

I am not sure I understand

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.)

----------------------------------------------------------------------
http://classicvinyl.biz ~ http://vinylclassics.biz ~ http://jazz.vinylclassics.biz
My YouTube Channel

well

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.

Partial word matching

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.

PorterStemmer worked

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

I take it back

StemPorter appears to have STOPPED working.

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

Yeah... it definitely doesn't

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.

Did you re-index the site

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

nobody click here