ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Unknown
    • 10.0.6, 9.1.6, 8.4.6
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Dotnet Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      The GitHub Actions “Atlas test” job pulls mongodb/mongodb-atlas-local:latest. The current image changed how listSearchIndexes reports index state, so 173 tests in SearchIndexTests and SearchIndexExamplesTests fail with KeyNotFoundException: Element 'latestVersion' not found. The last green run on the repo was Nov 5. The failure is independent of any PR; unrelated PRs fail the same way.

      What changed in the server response

      1. latestVersion (int) is replaced by latestDefinitionVersion: { version, createdAt }{}.
      2. Index definition properties equal to their default are no longer returned (for example store: true, norms: "include", indexOptions: "offsets", minGrams: 2, maxGrams: 15, tokenization: "edgeGram", indexDoubles/indexIntegers: true).
      3. Key order and the order of scalar lists such as include/exclude are not preserved.

       

            Assignee:
            Damien Guard
            Reporter:
            Damien Guard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: