P
P
pantsarny2015-12-06 19:38:59
MySQL
pantsarny, 2015-12-06 19:38:59

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

2 answer(s)
R
romy4, 2015-12-06
@romy4

Mongo is a bit off the mark. Why MySQL is not suitable for you?

P
Puma Thailand, 2015-12-06
@opium

no monga for another

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question