Area: UI
Sub-Area: Search Settings
Applies to: Cloud
Issue
You want to change how many results show per page in search, or you saw a per-page selector problem in embedded list search results, or you can't page to the end of a large result set.
You Might Be Asking
Which page sizes can I choose? On the global search results page you can choose 10, 20 or 30 results per page. The selector appears only when the total number of results is larger than the default page size. It does not offer 50 or 100.
Which version fixed the pagination problem in embedded lists? DataHub Cloud v0.3.11.1 fixed it. The release note reads "[UI] Fix pagination overflow on embedded list search results". The fix is listed under v0.3.11.1, not the base v0.3.11 release. It is scoped to embedded list search results, not all search contexts.
Can I page past 10,000 results?
No. The search UI pages through only the first 10,000 results. For larger result sets, use the scrollAcrossEntities GraphQL API. In Cloud v0.3.13.2, DataHub added a guard against requests outside the 10,000 asset boundary, such as going to the last page with 30 results per page. The v0.3.13 release notes also list a known issue: going to one of the last pages near 10,000 results can time out and show no results.
Cause
The v0.3.11.1 release note describes a pagination overflow bug in embedded list search results. It was fixed in v0.3.11.1.
The 10,000 limit is a limit of the search UI. It requests no more than the first 10,000 results.
Solution
- On the global search results page, pick 10, 20 or 30 from the results-per-page selector. If you don't see the selector, the result count is not above the default page size.
- If you still see a pagination problem in an embedded list search results on a current Cloud release, contact DataHub Support.
- If you need more than 10,000 results, use the
scrollAcrossEntitiesGraphQL API instead of paging through the UI. See Searching at scale. - If a page near the 10,000th result shows no results, narrow the query or filters so the result set is smaller, or use
scrollAcrossEntities. See the v0.3.13 release notes.