+
Skip to content

Conversation

austin-aryn-ai
Copy link
Contributor

The routine for fetching all child docs for a list of parent IDs had to make multiple calls to OpenSearch to get the count of child docs for each parent. This was done to ensure we don't do a paginated search that needs more than 10k results. To get around the 10k result limit of the from pagination, I changed to the scroll pagination so this eliminated the need to make those calls to get doc counts.

The fetching of parent docs is now done using mget instead of get.

The doc reconstruct is also done in batches.

@austin-aryn-ai austin-aryn-ai enabled auto-merge (squash) April 23, 2025 16:20
@austin-aryn-ai austin-aryn-ai merged commit 28fd9be into main Apr 23, 2025
11 of 15 checks passed
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.

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载