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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • None
    • 3
    • 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
            Reporter:
            Joe Shalabi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: