Follow

The fix is to set the option “language_override” to a key you know won’t be in the document, like “dummy” for example, when you call the createIndex() method.

I discovered this because I was trying to save the returned object from an API “boost” call and Mongo wouldn’t let me because it had a “language” property set to null.

· · Sidetoolz · 0  · 0  · 1