In MongoDB 3.6 I have a collection of data with a text search index. It can find the longer version of a word, but not a shorter version, how can I make it find both versions?
db.test.createIndex({name: 'text', description: 'text'});
db.test.insert({name: 'MYREALLYLONGNAME', description: 'MYREALLYLONGNAME'});
db.test.find({$text: {$search: 'MYREALLYLONGNA'}});
> FINDS IT
db.test.find({$text: {$search: 'MYREALLYL'}});
> DOES NOT FIND IT