Open TiSiE opened 5 years ago
The language_override field of the text index "fulltext" - as defined by TemplateValues entity - is set to to the field 'language' of the job entity.
Thus, this field must only contain values valid for mongo text searches. https://docs.mongodb.com/manual/reference/text-search-languages/#text-search-languages
If invalid values are set, Doctrine/Mongo will throw an Exception.
As we want the language field to hold any value, we must change the "language_override" field in the index definition.
can this be closed?
The language_override field of the text index "fulltext" - as defined by TemplateValues entity - is set to to the field 'language' of the job entity.
Thus, this field must only contain values valid for mongo text searches. https://docs.mongodb.com/manual/reference/text-search-languages/#text-search-languages
If invalid values are set, Doctrine/Mongo will throw an Exception.
As we want the language field to hold any value, we must change the "language_override" field in the index definition.