Skip to content

Conversation

@shreyashankar
Copy link
Collaborator

Add limit parameter to Map, Filter, Reduce, and Extract operations to cap the number of processed outputs.

For Filter operations, the limit specifically counts only the documents that pass the filter condition (i.e., evaluate to true). This ensures that the operation continues to evaluate inputs until the specified number of kept documents is reached, rather than simply stopping after processing a fixed number of initial inputs.


Open in Cursor Open in Web

Adds a limit parameter to Extract, Map, Filter, and Reduce operations to control the number of processed items.

Co-authored-by: ss.shankar505 <ss.shankar505@gmail.com>
@cursor
Copy link

cursor bot commented Nov 28, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

cursoragent and others added 2 commits November 29, 2025 12:45
Co-authored-by: ss.shankar505 <ss.shankar505@gmail.com>
Co-authored-by: ss.shankar505 <ss.shankar505@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants