Skip to content

Search window out of bounds#239

Merged
alycejenni merged 1 commit into
devfrom
ginger/search-window
Mar 9, 2026
Merged

Search window out of bounds#239
alycejenni merged 1 commit into
devfrom
ginger/search-window

Conversation

@alycejenni

Copy link
Copy Markdown
Member

Returns a validation error when the ElasticSearch search window (from + size, usually from limit + offset) is > 10000. This still returns an error because there's no real sensible fallback, but it returns a shorter error and prevents the search reaching the ES instance in the first place.

This still returns an error because there's no real sensible fallback, but it returns a shorter error and prevents the search reaching the elasticsearch instance in the first place.
@alycejenni
alycejenni merged commit 6c59257 into dev Mar 9, 2026
4 checks passed
@coveralls

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build #794

Details

  • 3 of 6 (50.0%) changed or added relevant lines in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.04%) to 71.61%

Changes Missing Coverage Covered Lines Changed/Added Lines %
ckanext/versioned_datastore/lib/query/search/request.py 3 6 50.0%
Files with Coverage Reduction New Missed Lines %
ckanext/versioned_datastore/lib/query/search/request.py 1 77.52%
Totals Coverage Status
Change from base Build #789: -0.04%
Covered Lines: 2984
Relevant Lines: 4167

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants