1Product
2 .find({
3 $and: [
4 { _id: {$ne: someId} },
5 { $or: [
6 { 'tags': { $regex: criteria, $options: 'i' }, },
7 { 'name': { $regex: criteria, $options: 'i' }, },
8 ]},
9 ]
10 })
11 .limit(10)
12 .exec((err, similar) => {
13 //...
14 })
15