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

Add support for searchAfter/searchBefore to the MongoDB.Driver.Search.SearchOptions

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Dotnet Drivers
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Currently there is no way to specify searchAfter and searchBefore unless the $search stage is built using low-level BSON document.

      https://www.mongodb.com/docs/atlas/atlas-search/paginate-results/#searchafter-syntax

      As a result, these optimizations cannot be incorporated easily with the IAggregateFluent.Search() method.

            Assignee:
            adelin.mbidaowona@mongodb.com Adelin Mbida Owona
            Reporter:
            graeme@greenpatchinc.com Graeme Downes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None