Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-18501

Improve error message when server fails to start due to unsupported text index language

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.1.5
    • Affects Version/s: 3.1.2
    • Component/s: Text Search
    • Labels:
    • Fully Compatible
    • Platform 4 06/05/15, Platform 5 06/26/16

      If you a) create a text index with the default language set to an RLP-only language and b) forget to specify the RLP command-line option the next time you start mongod, you'll see an error message like this:

      [initandlisten] Assertion failure swl.getStatus().isOK() src/mongo/db/fts/fts_spec.cpp 95
      ...
      [initandlisten] exception in initAndListen: 0 assertion src/mongo/db/fts/fts_spec.cpp:95, terminating
      

      It'd be more user-friendly to mention that the error is related to text index languages.

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            kamran.khan Kamran K.
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: