GA Cypress runs started to timeout after the ES7 migration. A new "feature" in ES7 restricts the result's total count to 10000 instead of its exact count. Because of this change, 1. Cypress tests that depend on the result's total count fail, 2. end-users get a total count that looks less precise.
One workaround would be displaying "10.000+ results ", instead of "10.000 results", whereas another is getting the exact count from facet terms where type=Item's doc_count is available. In this PR, we preferred the latter approach that only requires changes in search.py, since the former affects numerous FF/SPC components and Cypress tests.
Notes:
It is available in hotseat
dcicsnovaultis currently in beta 7.1.3 installed
the solution is not working for frame=raw queries since facets are not included.
GA Cypress runs started to timeout after the ES7 migration. A new "feature" in ES7 restricts the result's total count to 10000 instead of its exact count. Because of this change, 1. Cypress tests that depend on the result's total count fail, 2. end-users get a total count that looks less precise.
One workaround would be displaying "10.000+ results ", instead of "10.000 results", whereas another is getting the exact count from facet terms where
type=Item
'sdoc_count
is available. In this PR, we preferred the latter approach that only requires changes insearch.py
, since the former affects numerous FF/SPC components and Cypress tests.Notes:
It is available in hotseatdcicsnovault
is currently in beta7.1.3 installedframe=raw
queries since facets are not included.