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

Investigation - feasibility of running $search on non-materialized views

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Integration

      In scope of the Index Time Enrichment project, Atlas Search plans to add support for executing queries on views. That would require the following changes on the server side:

      • Support execution of the $_internalSearchIdLookup stage inside a view
      • Implement views with $search such that the view definition is inserted into the pipeline after the $search (and $idLookup) stage but before the rest of the user pipeline
      • If the search is executed on a view, mongot request should include the view name and the corresponding source collection UUID
      • Allow index management commands to work with views: https://www.mongodb.com/docs/manual/reference/method/js-atlas-search/

      We'd like to investigate if these changes are feasible to implement and roughly estimate the effort.

            Assignee:
            ted.tuckman@mongodb.com Ted Tuckman
            Reporter:
            alexander.lukyanchikov@mongodb.com Alexander Lukyanchikov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: