text index collation creation may require explicit 'simple' locale

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 4.2.0, 4.3.1
    • Affects Version/s: None
    • Component/s: mongorestore

      There may be a bug with creating a text index without a collation setting if the collection has a default collation set. From SERVER-31089:

      When there is no collation in the getIndexes output, it means that the index has the simple collation. Then if the collection has a non-simple default collation, backup must specify {collation: {locale: "simple"}} in the createIndexes command. Otherwise, the index will inherit the collection default collation, which will be incorrect.

              Assignee:
              David Golden
              Reporter:
              David Golden
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: