Hi There,
I am using _xpack/sql/
to do the searching. When there's only phrase searching it's case insensitive.
But if i used wildcard + phrase combination search it's case sensitive Why? I want it both cases should be case insensitive.
e.g. If i use below sql to do searching, if only return 'super hero', not return 'SUPER HERO'
post _xpack/sql/
{
"query": "select column_A from index_A where query( '*super\\\\ hero*', 'type=phrase;default_operator=AND')"
}
if i remove the wildcard as below. it would return both.
post _xpack/sql/
{
"query": "select column_A from index_A where query( 'super\\\\ hero', 'type=phrase;default_operator=AND')"
}
Is there any solution to do wildcard + phrase combination search case insensitive, without using the analyzer?