Hello,
I have a collection that contains 5 documents.
Each document has two fields named: name, content
something like this:
id: ec589s
name: "Hammers"
content: " Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim "
id: ec590j
name: “Stars”
content: " voluptate velit esse cillum dolore "
I want to search for a specific word and get its position as well as its document name.
For example, I look for the word “dolore” and it should be my response:
Stars, 29
thanks in advance.