Mirando los logs, CQL no acepta IN
después de strToLoweCase
Caused by: org.geotools.filter.text.cql2.CQLException: Encountered "in" at line 1, column 28. Was expecting one of:
<EOF>
"and" ...
"or" ...
";" ...
"*" ...
"/" ...
"+" ...
"-" ...
"not" ...
"like" ...
"ilike" ...
"exists" ...
"does-not-exist" ...
"is" ...
"between" ...
"=" ...
">" ...
"<" ...
">=" ...
"<=" ...
"<>" ...
Parsing : strToLowerCase(STATE_NAME) in ('texas','abc').
Así que tendría que utilizar =
y or
strToLowerCase(STATE_NAME) = 'texas' or strToLowerCase(STATE_NAME) = 'florida'