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.
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 forCBX
, I get no results, I get no results forCbx
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,
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.
is working on a reply...