Details
-
Bug
-
Resolution: Fixed
-
High
-
1.13.4, 2.3.2, 2.4.0
Description
Solr works differently then LegacySE (Legacy Search Engine, aka sql search) on these two criterions:
- LIKE: LegacySE expects value to have a "%" in value, while Solr adds wildcards before and after the string ("$value")
I suggest we standardize how LegacySE and Solr work to allow "*" as wildcard to align with FullText.
ref:
- https://github.com/ezsystems/ezpublish-kernel-ee/blob/8fbf6c1e78cf9a15a7f0e490e23984c890bc7c42/eZ/Publish/Core/Search/Legacy/Content/Common/Gateway/CriterionHandler/FieldValue/Handler.php#L101-L107
- https://github.com/ezsystems/ezplatform-solr-search-engine/blob/41f89f605ef56969f321c8246a6a873b541c9682/lib/Query/Common/CriterionVisitor/Field/FieldLike.php