A wildcard query for *Butterflies* should not match a text field with the value I like butterflies.
This used to be the behaviour before 7.8 but then this fix to wildcard queries on keyword fields inadvertently changed the behaviour for text fields. Now it always normalizes the search string due to changes in the common base class (StringFieldType).
The solution should be to only normalize the search string when the new case_insensitive query flag is set to true.
A
wildcardquery for*Butterflies*should not match atextfield with the valueI like butterflies.This used to be the behaviour before 7.8 but then this fix to
wildcardqueries onkeywordfields inadvertently changed the behaviour fortextfields. Now it always normalizes the search string due to changes in the common base class (StringFieldType).The solution should be to only normalize the search string when the new
case_insensitivequery flag is set to true.