Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Owain Williams 481 posts 1413 karma points MVP 7x c-trib
    Apr 09, 2021 @ 13:27
    Owain Williams
    1

    Uppercase ignored within Examine search

    I have an issue with a site search. If the content of a page has, for example, the word CBX in it and I search for CBX, I get no results, I get no results for Cbx either.

    If I however search for cbx I get the 1 result I am expecting.

    I've tested this on a clean install of Umbraco 8.12 with just the starter kit installed and it does the exact same thing.

    How can I make Examine ignore the case of a word and always bring back a result, whether it's Uppercase, Capitalised or not?

    What I need is if a user types in CBX, CBx, cBX, etc. I always get a result.

    Thanks,

  • Owain Williams 481 posts 1413 karma points MVP 7x c-trib
    Apr 09, 2021 @ 13:54
    Owain Williams
    1

    The solution I've ended up going for it to lowercase the user input but it just feels there is something else going on with Examine / Lucene.

    If anyone else has come across this or can replicate the issue in a clean install, I'd be interested to hear your thoughts.

Please Sign in or register to post replies

Write your reply to:

Draft