File tree Expand file tree Collapse file tree
src/SearchAPI/application Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
3535- Aria stacking uses aria frame id instead of frame number for stacking
3636- asf_search uses ` SearchAPISession ` by default for search queries
3737- bump asf-search to v9.0.4
38- - increase search query limit to 3000 , raise error if expected output is over that number
38+ - increase search query limit to 2000 , raise error if expected output is over that number
3939
4040------
4141## [ 1.0.4] ( https://github.com/asfadmin/Discovery-SearchAPI-v3/compare/v1.0.3...v1.0.4 )
Original file line number Diff line number Diff line change @@ -180,11 +180,11 @@ async def process_search_request(request: Request) -> SearchOptsModel:
180180 if query_opts .granule_list is None and query_opts .product_list is None and output != 'python' :
181181 if query_opts .maxResults is None :
182182 maxResults = asf .search_count (opts = query_opts )
183- if maxResults > 3000 :
183+ if maxResults > 2000 :
184184 raise ValueError (
185185 (
186- 'SearchAPI no longer supports unbounded searches with expected results over 3000 , '
187- 'please use the asf-search python module for long-lived searches or set `maxResults` to 3000 or less.'
186+ 'SearchAPI no longer supports unbounded searches with expected results over 2000 , '
187+ 'please use the asf-search python module for long-lived searches or set `maxResults` to 2000 or less.'
188188 '\n To have SearchAPI automatically generate a python script for the equivalent search to your SearchAPI query '
189189 'set `output=python`'
190190 )
You can’t perform that action at this time.
0 commit comments