All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Search not matching words with apostophes.

Graham Baines 21 Jul 2014 11:49 question, complete

Hi,
I have noticed that search keyword are not matching where the word in the index has an apostrophe in it, for example:

lloyds does not find content containing lloyd's.

Is there anything I an do to make it ignore characters like this?

Replies

  1. Low 21 Jul 2014 12:05

    Right now, all punctuation characters are replaced by a space, resulting in that "lloyd's" is changed to "lloyd s", making "lloyds" a different word. There isn't a way to change that at the moment.

    I can imagine it might be useful to define which characters are stripped out fully, and which are replaced with a space, for more control. Will investigate that feature.

  2. Graham Baines 21 Jul 2014 12:23

    Hi, thanks for the speedy reply.

    Does this mean that if I use loose_ends="right" then 'lloyd' before the space could match lloyd's in the index? Or does the multi keyword usage turn off loose ends?

    Thanks

  3. Low 21 Jul 2014 12:29

    Loose Ends will work if the Search Mode is not set to "Auto". If you're using search_mode="auto". Using the former, "lloyd" will match "lloyd's"; using the latter, "lloyd*" will match "lloyd's".

    Multi keywords have no effect on that.

  4. Graham Baines 21 Jul 2014 12:30

    Ok great, thanks again.