Returning search results like the query

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
blackrain
Forum Members
Forum Members
Posts: 98
Joined: Wed Feb 20, 2008 4:33 pm

Returning search results like the query

Post by blackrain »

I am trying to find the part in the search module that can be changed to return results that have partial or all of the query.
i.e.

search for [ paren ] would return [ parent, parents, parental ] etc..

currently it seems to be implicit and returns no results found.

The LISE search has the function I need for search, it would be good to get it to work in the main site search also.


cheers

Mark
blackrain
Forum Members
Forum Members
Posts: 98
Joined: Wed Feb 20, 2008 4:33 pm

Re: Returning search results like the query

Post by blackrain »

Hi,

I think the search on the site uses implicit WHERE to match word to the search but I need it to use WHERE search_word LIKE word.

so

if i type paren results for parent and parents are returned.

any ideas?

EDIT: REMOVED

But i am not sure on this and where to make the change

Thanks
Last edited by velden on Tue Jun 13, 2017 2:37 pm, edited 1 time in total.
Reason: We do not allow posting code 'hacks' in this forum.
Post Reply

Return to “The Lounge”