Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2021
    Posts
    44

    Question Default search is not working properly on Magento 2

    Hello,

    When we searched the keyword 'jeans' on our website it was working fine but when we search 'Jean's' then it was not working. please help me how to fix this in Magento 2?

  2. #2
    Registered User
    Join Date
    Aug 2017
    Location
    Old Tappan, USA
    Posts
    95
    Hello Aayushi,

    There are various reasons why Magento 2 search doesn't work correctly. Unfortunately, this is a prevalent problem within the Magento Platform. The below-given ways will help you to fix the most common issues and improve your search in Magento 2.

    1. Clear the Magento Cache from Cache Management:

    Most of the time, Magento search does not function due to caching issues.
    Firstly, log in to your Magento Admin and then go to System > Cache management > Flush Magento cache.

    Flush Magento cache is a procedure for clearing stale data in Magento cache storage that can affect your search results.

    2. Re-Index Magento Data:

    It can also be a big issue causing a search error. To fix this, reindex all the data in Magento.
    Navigate to System > Index management > Select all > Actions > Update from the save

    3. Configure the search in Magento 2:

    Another standard solution for a not-working search in Magento 2 store is setting up the correct configurations.

    Firstly, navigate the stores -> configuration > catalog > catalog search.
    From there, set the Minimal Query Length to 1 and the Maximum Query Length to 128.
    Then, enable search suggestions (Yes) and set 2 in the Search Suggestions Count.
    Note: After these changes to the catalog search, do not forget to flush the cache

    4. Recognize or set search by synonyms:

    The functionality of synonyms is key to your internal search success and making search results more relevant.
    In order to add synonyms navigate to
    Marketing > SEO & Search > Search Synonyms.

    Subsequently, click the New Synonym Group button to create a new group of synonyms.
    Now, you will have to set the scope and enter the synonyms by separating them with commas.
    Then save the changes and review the result in the front end.

    If you are using full-text search, then try to configure MySQL. It can help if the Magento search is not working. It consists of 2 steps to resolve: increasing key_buffer_size in your MySQL and enabling MySQL query cache.
    First, you have to check whether caching is enabled or not.
    Then, you can make a query in the form with the help of 'query_cache_size.'

    I hope your search issue for Magento 2 gets fixed with the above solution and usually works.

    -------------------------
    Regards,
    harry_v
    AccuWebHosting - The best and most reliable web hosting provider
    VPS Hosting

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.