Allow use of RegExp in FieldIn Common CriteriaVisitor#106
Allow use of RegExp in FieldIn Common CriteriaVisitor#106alexwilson wants to merge 1 commit intoezsystems:1.5from
Conversation
|
Above feedback isn't relevant within the scope of this PR. |
|
no worries, just a cs-fixer update. I'll let you know when I fix it :) |
|
I'm not sure that that's entirely valid: Currently, it's possible to do the exact opposite with the SQL engine, i.e. insert SQL wildcards. |
|
Ok, we (@alongosz, ..) will try to investigate that with integration tests on API to better define this, thanks for finding this. |
|
@alongosz We'll need to check from API perspective what we want to do with this one, for instance if we want to limit use to % to LIKE across engines or otherwise. Related, got report from @danielmuehlbacher:
In FullTextCriterion |
|
exciting times!! |
This is to match the behaviour of the equivalent CustomField visitor.
Use-case: We would like to search for a substring within an ezstring, in Solr. Wildcards are always escaped using this criterion.