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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
10010110

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

Post 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?
cyberman

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

Post by cyberman »

Try Pisearch :).
10010110

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

Post by 10010110 »

Wow, that was damn quick! Are you currently bored? ;D
I’m gonna try that, thanks.
Locked

Return to “CMSMS Core”