Open sstemann opened 2 years ago
With how unspecified this query is, it doesn't surprise me that it could return thousands of results. Eg. I see that ARAX has now completed the query, but the results won't load after waiting ~10min, which is usually indicative of thousands of results. Is there an expected way to handle this situation? Eg. Truncate to however many, tell the user to "please be more specific" or something else?
The ARAX result did load for me after a few minutes, but the result is nearly 300 MB!
BTE retrieves 2476 genes in the first step e01
, and according to the fix we implemented in https://github.com/biothings/BioThings_Explorer_TRAPI/issues/324, BTE aborts before the e02
step with the following error (which can be seen at https://api.bte.ncats.io/v1/check_query_status/T9Xs3q7NOV through https://arax.ncats.io/?r=8a46b606-1bd2-4335-9123-b286d3c5eb37):
{
"id": "T9Xs3q7NOV",
"state": "completed",
"returnvalue": {
"response": {
"error": "QueryAborted",
"message": "Max number of entities exceeded (1000) in 'e02'"
},
"status": "501",
"callback": ""
},
"progress": 0
}
Posting the error back to the ARS so that BTE does not appear in this perpetual "Running" state is being tracked in https://github.com/biothings/BioThings_Explorer_TRAPI/issues/349.
Query: C.3_MS_SAME.json PK: 7c58aaa7-dd47-439b-94d5-e65ea9d34de3