You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "rnewson (via GitHub)" <gi...@apache.org> on 2023/09/29 09:28:46 UTC
[GitHub] [couchdb] rnewson commented on pull request #4782: fix(`mango`): prevent occasional duplication of paginated `text` results
rnewson commented on PR #4782:
URL: https://github.com/apache/couchdb/pull/4782#issuecomment-1740586890
The problem with search-backed mango queries is the execute/1 function that slurps up all the matches in a loop before passing them over for processing. We should fix that. If we do, then there will be no need for `documents_seen` as we can de-dupe as we iterate (and, critically, terminate the loop early once we have accumulated enough hits).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org