Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-3437

Implement builder for $search (Atlas Search)

    • Done
    • Implement builder for $search (Atlas Search)
    • 4
    • 3
    • 3
    • 100
    • Hide

      Engineer: Boris

      Summary: Implement builder for $search

      2023-01-06: Maintaining target end date of 2023-01-13
      Status update:

      • In Code Review

      2022-12-22: Updated target end date to 2023-01-13
      Status update:

      • This is code complete and in review now
      • Pushed out the end date to add more time for reviews since multiple people are OOO this week and next

      2022-12-09: Setting end date to 2022-12-30

      Status update:

      • POC with basic functionality completed
      • Incorporating MongoDB.Labs.Search library in-progress
      Show
      Engineer: Boris Summary: Implement builder for $search 2023-01-06: Maintaining target end date of 2023-01-13 Status update: In Code Review 2022-12-22: Updated target end date to 2023-01-13 Status update: This is code complete and in review now Pushed out the end date to add more time for reviews since multiple people are OOO this week and next 2022-12-09: Setting end date to 2022-12-30 Status update: POC with basic functionality completed Incorporating MongoDB.Labs.Search library in-progress

      Although we support Atlas Search ($search), it requires the use of EmptyPipelineDefinition<T>().AppendStage() and opaque JSON strings.

      https://mongodb.github.io/mongo-csharp-driver/2.11/reference/driver/crud/reading/#text-search

      This is problematic because there is no refactoring support, no strong typing, and no mapping (e.g. you must refer to fields by their database names, not their application-level names).

      We could make $search easier to use and more discoverable from our driver if we provided a builder and/or aggregation stage that enabled the use of strong typing as we do with other query-related operations.

            Assignee:
            boris.dogadov@mongodb.com Boris Dogadov
            Reporter:
            james.kovacs@mongodb.com James Kovacs
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              6 weeks