N
N
nezzard2020-10-23 23:06:06
MongoDB
nezzard, 2020-10-23 23:06:06

Is it possible to search for similar words in mongodb?

Good day, I can’t find if there is an opportunity to search for similar words in Mongodb.
For example, there are 10 posts in the database, I add the 11th, and so that I can see the most popular words from all 11 posts.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
N, 2020-10-23
@Fernus

https://docs.mongodb.com/manual/text-search/
If this is "past", then it is unlikely ...
More precisely, if there is no selection criterion for the word / set of words ...

M
Max, 2020-10-24
@7workers

No, there is no such thing as a "simple request". it is necessary to create or look for a library on the desired PL

P
Philipp, 2020-10-24
@zoonman

No. There is no such. This is not a database function.
What you want requires parsing into words, stemming, forming a directory with ranking. It's actually not that hard to do it yourself. There are many different libraries for such operations.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question