Page 1 of 1

Modify Search module to search for any combination of characters within a string

Posted: Fri Nov 09, 2007 12:32 pm
by 10010110
OK, the title might sound a little confusing. ;D I’m gonna try to explain:

The Search module currently returns a false positive (i.e. “not found”) if I put in a word that is just a part of a compound. I have a site that is listing a couple of domains that are available (or not, haha), and if someone is searching it should return a result even if she is only searching for a word within that domain name, while currently it’s only returning a positive result if I search for the entire and correct string.

Example:
Domain = thequickbrownfoxjumpsoverthelazydog.com

A search for, say, “fox” should also return this domain as result while it currently returns “no match found” if I’m not searching for the entire domain name (except the TLD after the period).

How would I have to modify the search module to achieve that?

Re: Modify Search module to search for any combination of characters within a string

Posted: Fri Nov 09, 2007 12:35 pm
by cyberman
Try Pisearch :).

Re: Modify Search module to search for any combination of characters within a st

Posted: Fri Nov 09, 2007 12:44 pm
by 10010110
Wow, that was damn quick! Are you currently bored? ;D
I’m gonna try that, thanks.