Answer the question
In order to leave comments, you need to log in
Is there a Mysql equivalent of the MATCH AGAINST function in MongoDB 3?
I decided to try MongoDB 3. There is a mysql query:
SELECT * FROM docs WHERE MATCH (title, content) AGAINST ($query IN BOOLEAN MODE) ORDER BY MATCH (title, content) AGAINST ($query) DESC;
Tell me how to make such a query on mongodb, taking into account relevance.
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