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

User IDL to define the query command structure between mongod and mongot

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

      DocumentSourceInternalSearchMongotRemote is the class currently used for all
      communication with mongot during query processing.

      All possible commands (originating from a $serach / $searchMeta / $vectorSearch) turn into an executor::RemoteCommandRequest through the getRemoteCommandForSearchQuery() function, which doesn't not clearly define the command structure, but rather just modifies BSON ad-hoc.

      Define one or more types of IDL structures to clearly define what these command(s) should look like, and then use the C++ bindings to construct these requests when sending to mongot.

      Also, once this works on the mongod side, we should file a ticket with the search team to use the same bindings in Java on their side.

            Assignee:
            Unassigned Unassigned
            Reporter:
            joseph.shalabi@mongodb.com Joe Shalabi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: