How to make search text query to mongodb?

Need to do a product search on the title. That is, if a word from query is in the title of the item, then return this document. The client is angular, the server on the node.
June 14th 19 at 20:50
3 answers
June 14th 19 at 20:52
June 14th 19 at 20:54
The Monge is a full-text search, regular season only for small collections for sorted the entire collection without indexes.
June 14th 19 at 20:56
The field in the collection that look, it is necessary to index our database as "text" and then to query operators .find( { $text: { $search: "bla-bla" } } )

Find more questions by tags MongoDBWeb Development