I am trying to override the search query when loading the search results page. For example: the user enters "Gren Aple", and my script fixes syntax/spelling errors and loads the page with the result of "Green Apple". I will be glad to any help.

  • 1
    You Can implement a Search engine like Solr or elasticSearch that will do this for you in a effective a well Mar 5 '18 at 14:33

I can suggest installing and enabling elasticSearch. It's a great feature, some more information here: http://devdocs.magento.com/guides/v2.1/config-guide/elasticsearch/es-overview.html


Suggest you to give a try at Elasticsuite : https://github.com/Smile-SA/elasticsuite

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.