I'm currently developing a question feature on my website that allows users to search for a specific question. For example, if someone searches "how do I cook a cake?" they should be able to find a link to a similar question titled "how do I make a cake?". However, at the moment, the user cannot find the second question when searching for the first one. I have only used the search bar in collection.find({})
. How can I solve this issue? Is there an API available that can generate sentences with similar meaning to aid in searching?
Thank you!