Return array of responses in sharded createSearchIndexes to expose per-shard index IDs

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Sharded createSearchIndexes does not return per-shard index IDs in its response. This prevents by-ID search index operations (update, drop, list) from being tested in e2e suites against a real mongot.

      by-ID tests in jstests/with_mongot/search_mocked/text_search_index_commands.js remain mocked because index IDs are not reliably available after creating a search index on a sharded collection. See jstests/libs/query_integration_search/search.js ln#224 for the current helper limitation.

      Came up during review of PR #58455 (SERVER-131309).

            Assignee:
            Unassigned
            Reporter:
            Aditya Deshpande
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: