multiSearch.php Question

14 posts by 5 authors in: Forums > CMS Builder
Last Post: June 15, 2012   (RSS)

By northernpenguin - December 31, 2010

Hi

I tried using the multiSearch.php file referenced in the CMSB Tutorial thread, and it works well with v2.05. However, I do have a question. The current search is case sensitive. Is there anyway to make the search case insensitive?

Thanx.......... Ragi
--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke

Re: [northernpenguin] multiSearch.php Question

By Jason - January 3, 2011

Hi,

I've done some testing with the script and the search doesn't seem to be case sensitive. Could you provide me with an example url where you are getting case sensitive results?

Thanks.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] multiSearch.php Question

By yusuke - April 21, 2011

Hi

I am using multiSearch.php and it's GREAT![:)] Loving it!

I am currently facing one problem -- entering "space" using Japanese character as search keywords. In Japanese character there are two ways (kinds) of entering "space" which gives different search results.
Would it be possible to treat these two different spaces the same so search results are the same?

I am entering two kinds of "space" below
Note: They are "space"s therefore invisible.

A) This is called "Hankaku space" inside the quote --> " "

B) This is called "Zenkaku space": --> "@"

Please advise

Re: [yusuke] multiSearch.php Question

By robin - April 25, 2011

Hey,

We'll look into some sort of option for that for the future. In the meantime, this function might be useful for you:

http://php.net/manual/en/function.mb-convert-kana.php

In multisearch.php something like:
$searchOptions['keywords'] = @mb_convert_kana($FORM['q'],'s')

Hope that helps,
Robin
Robin
Programmer
interactivetools.com

Re: [Jason] multiSearch.php Question

By zip222 - November 21, 2011 - edited: January 13, 2012

I am experiencing the case sensitive issue as well. If you go here...

[removed]

and search for "design tips" vs. "Design Tips" you get a different set of results.

Re: [zip222] multiSearch.php Question

By Jason - November 21, 2011

Hi,

Could you attach the .php file you're working with so we can take a closer look at your code?

Thanks
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [zip222] multiSearch.php Question

By Jason - November 24, 2011

Hi,

Could you please fill out a [url http://www.interactivetools.com/support/] 2nd Level Support Request[/url] so we can take a closer look at what is happening with this script.

Thanks
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] multiSearch.php Question

By zip222 - June 13, 2012

I am again having a case sensitive issue with multisearch, and I don't recall what was done to resolve this previously.

Help?

Re: [zip222] multiSearch.php Question

By Jason - June 13, 2012

Hi,

Could you provide some extra details along with any code/example URLs? I need to refresh my memory. :)

Thanks
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/