I’m exploring ways to add a “Did You Mean” functionality to Bagisto’s product search. I want to handle typos and provide suggestions for users.
Has anyone implemented this before? Is Elasticsearch necessary, or are there alternative approaches? Any guidance, examples, or best practices would be greatly appreciated.
If you want to implement a “Did You Mean” feature in Bagisto to handle typos and suggest correct products, there are a couple of approaches you can take.
Using Elasticsearch (Recommended for large catalogs):
Bagisto supports Elasticsearch integration.
It provides fuzzy search and suggesters that can automatically suggest correct terms.
Thank you, @chandrasekhar121. This explanation can be very helpful. I’ll proceed with implementing the Elasticsearch suggester approach for our catalog.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.