Quinton Pike
Quinton Pike

Reputation: 3861

Nodejs,MongoDB - Query posts that have similar tags

So I have a lot of posts in a MongoDB Collection, which has an array of artists which is referenced to the Artists collection.

What I am trying to do is display similar posts on the singular post page, for instance "Posts you might also like:"

Performance is crucial to me, so the quickest way possible would be most beneficial.

Thanks!

(Im using Node.js and Mongoose)

Upvotes: 0

Views: 218

Answers (1)

Sergio Tulentsev
Sergio Tulentsev

Reputation: 230346

This is called a recommendation engine. It's a complex topic, specific to your app and is not something you can achieve by executing one simple query.

Upvotes: 2

Related Questions