File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed 
elasticsearch/stac_fastapi/elasticsearch 
opensearch/stac_fastapi/opensearch Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -337,12 +337,6 @@ async def get_all_collections(
337337                else  {"bool" : {"must" : query_parts }}
338338            )
339339
340-         # Create a copy of the body for count query (without pagination and sorting) 
341-         count_body  =  body .copy ()
342-         if  "search_after"  in  count_body :
343-             del  count_body ["search_after" ]
344-         count_body ["size" ] =  0 
345- 
346340        # Create async tasks for both search and count 
347341        search_task  =  asyncio .create_task (
348342            self .client .search (
Original file line number Diff line number Diff line change @@ -321,12 +321,6 @@ async def get_all_collections(
321321                else  {"bool" : {"must" : query_parts }}
322322            )
323323
324-         # Create a copy of the body for count query (without pagination and sorting) 
325-         count_body  =  body .copy ()
326-         if  "search_after"  in  count_body :
327-             del  count_body ["search_after" ]
328-         count_body ["size" ] =  0 
329- 
330324        # Create async tasks for both search and count 
331325        search_task  =  asyncio .create_task (
332326            self .client .search (
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments