Answer the question
In order to leave comments, you need to log in
How to make MongoDB search even more fuzzy?
Now the database search works like this:
However, if you leave out the word "Programming", then the whole result is lost
. Is it possible to make the database search more fuzzy? However, it is important that the score parameter remains available so that you can sort by relevance.
Here's how it works at the moment:
UPD: I liked this library (Mongoose Fuzzy Searching) , but it's not entirely clear how to filter the output here by score and the number of installations is a little scary.
UPD2: I found several mongodb documentation pages that talk about fuzzy searching, but they all refer to MongoDB Atlas .
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question