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

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

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • ALL

      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.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            kaitlin.mahar@mongodb.com Kaitlin Mahar
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: