|
@@ -24,7 +24,7 @@ class DeleteTask:
|
|
}
|
|
}
|
|
try:
|
|
try:
|
|
resp = await self.es_client.async_search(query=query)
|
|
resp = await self.es_client.async_search(query=query)
|
|
- return [hit["_id"] for hit in resp["hits"]["hits"]]
|
|
|
|
|
|
+ return [int(hit["_id"]) for hit in resp["hits"]["hits"]]
|
|
except Exception as e:
|
|
except Exception as e:
|
|
print(f"search failed: {e}")
|
|
print(f"search failed: {e}")
|
|
return []
|
|
return []
|