Developer forum

Forum » CMS - Standard features » Is the index query case sensitive?

Is the index query case sensitive?

Hans Ravnsfjall
Hans Ravnsfjall
Reply

Have worked with this many times, but not really noticed this before

Seems the index query is case sensitive?

I have a parameter of type text, where i search through the index for pages matching the parameter value.

If the parameter value is eg. = "mypagetitle" and the page title is "MYPAGETITLE" with uppercase, I donĀ“t get a result. Meaning i have to write the lettercase exactly as the pagetitle, to get a result.
 

Is there a way to set the query to ignore letter case/ make it not casesensitive?

 

/Hans


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

I think it depends on your scenario. But set the analyzed checkbox and it should be case insensitive. Problem is that it will also split sentences into seperate search terms...

Votes for this answer: 1
 
Hans Ravnsfjall
Hans Ravnsfjall
Reply

yes, of course

Analyzed. How could i forget?

Thanks Nicolai

 

/Hans

 

You must be logged in to post in the forum