feathers-mongodb-fuzzy-search icon indicating copy to clipboard operation
feathers-mongodb-fuzzy-search copied to clipboard

Force to set default_language and language_override when creating index

Open gabrielstuff opened this issue 6 years ago • 7 comments

Hello,

While creating text index for fields, I was not able to do it without specifying { default_language: 'en', language_override: 'en' }

In the documentation, you appear to simply tell the user to:

service.Model.createIndex({ username: 'text' }) which trows an error.

Maybe it is related to mongo version, but I suggest to explain a bit more this part.

Thanks for the great work

gabrielstuff avatar Apr 19 '18 21:04 gabrielstuff