cancel
Showing results for 
Search instead for 
Did you mean: 

Search not working in magento 2.4

SOLVED
Highlighted

Search not working in magento 2.4

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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Search not working in magento 2.4

@Virendra 

do you have elastic search installed & configured? 

if not then try the following: 

 

  1. Login into Magento Admin
  2. goto system configuration -> Catalog Search
  3. check the search engine 

update that to MySQL and save

after that follow these commands : 

php bin/magento cache:flush
php bin/magento indexer:reset
php bin/magento indexer:reindex

 

I hope it works!

View solution in original post

1 REPLY 1
Highlighted

Re: Search not working in magento 2.4

@Virendra 

do you have elastic search installed & configured? 

if not then try the following: 

 

  1. Login into Magento Admin
  2. goto system configuration -> Catalog Search
  3. check the search engine 

update that to MySQL and save

after that follow these commands : 

php bin/magento cache:flush
php bin/magento indexer:reset
php bin/magento indexer:reindex

 

I hope it works!

View solution in original post