Comments (4)
Are you using the last version of the code?
Something like that was fixed a couple of months ago
from module-search-mysql-legacy.
After further investigation found that class
Magento\Framework\Search\Request\Query\Filter
which is used in\Swissup\SearchMysqlLegacy\SearchAdapter\Mysql\Mapper
is no longer available in Magento 2.4.5-p1.
You mean that class Magento\Framework\Search\Request\Query\Match
which is used in \Swissup\SearchMysqlLegacy\SearchAdapter\Mysql\Mapper
is no longer available in Magento 2.4.5-p1
use Magento\Framework\Search\Request\Query\Match as MatchQuery;
from module-search-mysql-legacy.
I hope this patch will be enough to fix it
diff --git a/SearchAdapter/Mysql/Mapper.php b/SearchAdapter/Mysql/Mapper.php
index 59b5ac3..137fa45 100644
--- a/SearchAdapter/Mysql/Mapper.php
+++ b/SearchAdapter/Mysql/Mapper.php
@@ -18,7 +18,6 @@ use Swissup\SearchMysqlLegacy\SearchAdapter\Mysql\Query\QueryContainerFactory;
use Magento\Framework\Search\EntityMetadata;
use Magento\Framework\Search\Request\Query\BoolExpression as BoolQuery;
use Magento\Framework\Search\Request\Query\Filter as FilterQuery;
-use Magento\Framework\Search\Request\Query\Match as MatchQuery;
use Magento\Framework\Search\Request\QueryInterface as RequestQueryInterface;
use Magento\Framework\Search\RequestInterface;
@@ -220,7 +219,7 @@ class Mapper
) {
switch ($query->getType()) {
case RequestQueryInterface::TYPE_MATCH:
- /** @var MatchQuery $query */
+ /** @var \Magento\Framework\Search\Request\Query\MatchQuery $query */
$select = $queryContainer->addMatchQuery(
$select,
$query,
@ecoprince please apply this patch and try to run setup:di:compile
from module-search-mysql-legacy.
@0m3r Fixed. Thanks!
from module-search-mysql-legacy.
Related Issues (10)
- Exception on Advanced Search HOT 1
- issue with index building and search HOT 4
- Column not found: '_id_filter._id' (Magento 2.4.5-p1) HOT 3
- Sourece class for virtualType SwissupAjaxsearchModelLayerSearchItemCollectionProvider does not exist
- trim(): Passing null to parameter #1 ($string) of type string is deprecated HOT 2
- Product sorting not working anymore HOT 13
- Using ${var} in strings is deprecated HOT 1
- CategoryFilter in Layered Navigation not working HOT 1
- Indexing stopped working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from module-search-mysql-legacy.