I have a shop document that has a reference for a product docuemnt
shop:{
product_id:ObjectId(...)
.
.
.
}
how to use text index for product document fields inside of shop
The answer to my question was, there is no such a way to use text indexing for refrenced documents.
which leads to embedding them inside of the document we wish to apply text-indexing for