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

createIndexes permits some text index-only options for non-text indexes

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Query Optimization
    • ALL

    Description

      SERVER-54712 broke a test in the Swift driver against latest (v4.9.0-alpha7-524-ge07610a) which was relying on the server accepting weights for a non text index. In the process of investigating I noticed that there seem to be a number of other text index-only options that are still allowed for a non-text index:

      • default_language
      • language_override
      • textIndexVersion

      I would assume these should be handled in the same way as weights? Sorry if there's a ticket for this already; it didn't seem to quite be covered by those linked to SERVER-54712.

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            kaitlin.mahar@mongodb.com Kaitlin Mahar
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: