[SERVER-81046] add requireSequenceTokens to SearchCommand.CursorOptions Created: 13/Sep/23 Updated: 28/Nov/23 Resolved: 11/Oct/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0, 7.0.5, 6.0.13 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Maddie Zechar | Assignee: | Maddie Zechar |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Requested: |
v7.1, v7.0, v6.0
|
||||||||
| Sprint: | QI 2023-10-02, QI 2023-10-16 | ||||||||
| Participants: | |||||||||
| Description |
|
An atlas search customer indicates that they want to paginate results by including the searchSequenceToken field in a $project stage following a $search query. For example:
As the sequence/pagination token is requested outside of the $search query, mongod has to propagate this information to mongot. It will do so by adding `requireSequenceTokens` field to SearchCommand.CursorOptions and marking it as true when it appears in a $project stage following a $search query. |
| Comments |
| Comment by Githook User [ 28/Nov/23 ] |
|
Author: {'name': 'madelinezec', 'email': 'mez2113@columbia.edu', 'username': 'madelinezec'}Message: |
| Comment by Githook User [ 21/Nov/23 ] |
|
Author: {'name': 'madelinezec', 'email': 'mez2113@columbia.edu', 'username': 'madelinezec'}Message: |
| Comment by Githook User [ 11/Oct/23 ] |
|
Author: {'name': 'madelinezec', 'email': 'mez2113@columbia.edu', 'username': 'madelinezec'}Message: |