R
R
Rag'n' Code Man2021-07-15 03:46:29
MongoDB
Rag'n' Code Man, 2021-07-15 03:46:29

How to make MongoDB search even more fuzzy?

Now the database search works like this: 60ef84f303b5b116973806.png

However, if you leave out the word "Programming", then the whole result is lost
60ef852e0aeb3657330739.png

. 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:

60ef856199ee7137053475.png

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

1 answer(s)
D
Dimonchik, 2021-07-15
@iDmitriyWinX

https://stackoverflow.com/questions/3305561/how-to...
you need elasticsearch boss - you require behavior from a product that was not designed for this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question