How to get the number of occurence of a keyword inside a string using mongoDb

后端 未结 0 768
北荒
北荒 2021-02-19 19:29

I\'m doing a text search using the $search operator in the aggregation below : However i\'d like to get the number of occurence of the matched keywords (not only the textScore t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题