I'm curious how MongoDB stores a Text-Index inside the metadata. I assume it's somehow an array of stopword-filtered and stemmed words, but I can't find any official hints.
To be more clear:
I want to know how they are stored inside the metadata. E.g. how a Text-Index would look like for a document
{"content": "Dogs are man's best friend"}
where the field content has a Text-Index. My guess is, that it should be something like this:
{"words": ["dog", "man", "best", "friend"]}
but I found no official statements