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.
do you have elastic search installed & configured?
if not then try the following:
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!
do you have elastic search installed & configured?
if not then try the following:
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!
MySQL catalog search engine has been removed from Magento 2.4.X
So this solution how it will work? it's not working.
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.