Search module / why cannot search for partial occurence of a phrase?

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.
Post Reply
docman
Forum Members
Forum Members
Posts: 103
Joined: Sat Oct 10, 2009 4:25 pm

Search module / why cannot search for partial occurence of a phrase?

Post by docman »

Hi, I wonder if anyone would have some suggestion as to how to improve on the Search module in sence of enabling it for searching for the partial occurence of a search term.

An example:

Search term="global"
The occurrence of the word "globalism" is verified in one of the contents.
Currently the module return a result=NULL.

What would be more useful is:

Search term="global"
The occurrence of the word "globalism" is verified in one of the contents.
Result="globalism".

Thanks a lot.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Search module / why cannot search for partial occurence of a phrase?

Post by jmcgin51 »

I believe the current search is for exact matches, rather than fuzzy matches.

This has been discussed before, and if you search the forums, I think you'll find a hack that implements fuzzy searching.  Use at your own risk.
docman
Forum Members
Forum Members
Posts: 103
Joined: Sat Oct 10, 2009 4:25 pm

[SOLVED] Search module / why cannot search for partial occurence of a phrase?

Post by docman »

Thanks. I look more in depth, then.
Last edited by docman on Wed Jan 06, 2010 2:32 pm, edited 1 time in total.
cyberman

Re: Search module / why cannot search for partial occurence of a phrase?

Post by cyberman »

You can try pisearch module ... it's older, but has some more options.
docman
Forum Members
Forum Members
Posts: 103
Joined: Sat Oct 10, 2009 4:25 pm

Re: Search module / why cannot search for partial occurence of a phrase?

Post by docman »

Thanks. I will look into it.
Post Reply

Return to “CMSMS Core”