Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-3078

Include the type field in updateSearchIndex command document

    • Type: Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: Index Management
    • None
    • Needed
    • Hide

      Summary of necessary driver changes

      •  

      Commits for syncing spec/prose tests
      (and/or refer to an existing language POC if needed)

      •  

      Context for other referenced/linked tickets

      •  
      Show
      Summary of necessary driver changes   Commits for syncing spec/prose tests (and/or refer to an existing language POC if needed)   Context for other referenced/linked tickets  

      Summary

      For remote Atlas, mms will infer the type field on an update operation on a search index, but this is not the case with local Atlas. The Search Team would like us to ensure that we are including the type field for consistency. If an updateSearchIndex operation is performed on a vector search index on local Atlas, it will raise the error: "userCommand.mappings" is required because it is assumed to be of search type and not vector type. See CLOUDP-275518 for more discussion and detail. We will need to update our prose test for updateSearchIndex and add another prose test with a vector search that uses updateSearchIndex.

      Motivation

      Users of local Atlas CLI are unable to use the updateSearchIndex helper method for vector search indexes.

            Assignee:
            Unassigned Unassigned
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: