File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
deepsearch/cps/client/components Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -275,28 +275,9 @@ def list_items(
275
275
maximum items to list, defaults to 100
276
276
"""
277
277
278
- query_tasks = Query ()
279
-
280
278
if max_items < page_size :
281
279
page_size = max_items
282
280
283
- lookup = query_tasks .add (
284
- "ElasticQuery" ,
285
- task_id = "elastic-search" ,
286
- parameters = {
287
- "source" : ["_name" , "_id" ],
288
- "sort" : [
289
- {"description.publication_date" : {"order" : "desc" }},
290
- {"description.logs.date" : {"order" : "desc" }},
291
- ],
292
- "limit" : page_size ,
293
- },
294
- coordinates = ElasticProjectDataCollectionSource (
295
- proj_key = self .source .proj_key , index_key = self .source .index_key
296
- ),
297
- )
298
- lookup .output ("items" ).output_as ("result" )
299
-
300
281
query = DataQuery (
301
282
search_query = query_string ,
302
283
limit = page_size ,
You can’t perform that action at this time.
0 commit comments