- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have upgraded to Magento 2.4 from 2.1
Catalog Search is showing zero products for any kind of query.
but advance search is showing results
I have done re-indexing cache flush all
but no results.
PHP Version 7.3
Server Ubuntu
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
do you have elastic search installed & configured?
if not then try the following:
- Login into Magento Admin
- goto system configuration -> Catalog Search
- check the search engine
update that to elasticseatch7 configure the host & ports then save
after that follow these commands :
php bin/magento cache:flush php bin/magento indexer:reset php bin/magento indexer:reindex
Note: Make sure your elastic search server's version is 7
I hope it works!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
do you have elastic search installed & configured?
if not then try the following:
- Login into Magento Admin
- goto system configuration -> Catalog Search
- check the search engine
update that to elasticseatch7 configure the host & ports then save
after that follow these commands :
php bin/magento cache:flush php bin/magento indexer:reset php bin/magento indexer:reindex
Note: Make sure your elastic search server's version is 7
I hope it works!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Search not working in magento 2.4
MySQL catalog search engine has been removed from Magento 2.4.X
So this solution how it will work? it's not working.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Search not working in magento 2.4
This isn't a direct answer to you, but for distraught Magento Devs out there who are stumbling across this post in desperation.
Check the version you selected in Magento matches the version of ES you have!
In SSH run:
curl -XGET 'http://localhost:9200'
Look at the number. If it's "6.x.x" and you've selected 7 in your magento config, your search will not work! You won't get errors, it just won't work!
Don't make the same mistakes I did.