Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-1801

text index collation creation may require explicit 'simple' locale

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 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@mongodb.com David Golden
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: