3

Using mongoDB version 3.2.9, I can only get a text index created if I supply the language_override option as below (this is in Mongoose):

schema.index({ foo: 'text', bar: 'text' }, { language_override: 'text' });

Without the language_override option, the index is never created. Does anyone know why this is?

JohnnyHK
  • 305,182
  • 66
  • 621
  • 471
evilcelery
  • 15,941
  • 8
  • 42
  • 54

0 Answers0