Jump to content

Textsearches for words with plus-sign do not match in PageFields


horst
 Share

Recommended Posts

Hi,

I use a search with MySQL like operator:

$matches = $pages->find("{$suchFelder}%=$q, limit=$limit");

My $suchFelder are: 'body|headline|pagefield.title'

When searching for a phrase like schmidt+meier the result contains matches with the phrase if it is in body or headline, but not if it is in pagefield.title. Why isn't it consistent? Why doesn't it find them in pagefield.title?

If I do a search only for schmidt it returns all matches, including that from pagefield.title.

If this is a bug, I'm also interested in a (quick) workaround. I need this to work properly for a live site!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...