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

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Duplicate
    • Priority: 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 Mbida Owona
              Reporter:
              Graeme Downes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: