You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is the error that is returned: {"code":500,"success":false,"error":"search_phase_execution_exception","root_cuase_line_00":"Query contains too many nested clauses; maxClauseCount is set to 1024","debug":{"error":{"root_cause":[{"type":"too_many_nested_clauses","reason":"Query contains too many nested clauses; maxClauseCount is set to 1024"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"smartapi_docs","node":"lpmpQYOsQVSFYPa-3_aCsw","reason":{"type":"too_many_nested_clauses","reason":"Query contains too many nested clauses; maxClauseCount is set to 1024"}}],"caused_by":{"type":"too_many_nested_clauses","reason":"Query contains too many nested clauses; maxClauseCount is set to 1024","caused_by":{"type":"too_many_nested_clauses","reason":"Query contains too many nested clauses; maxClauseCount is set to 1024"}}},"status":500}}
The text was updated successfully, but these errors were encountered:
I think this is related, but not necessarily a bug, but the /query endpoint used to return an _id unique field for each returned "hit" as well but no longer does.
I'm getting a 500 error from the following GET request: https://smart-api.info/api/query?q=TRAPI%20KP. This query used to work but has recently stopped working.
Here is the error that is returned:
{"code":500,"success":false,"error":"search_phase_execution_exception","root_cuase_line_00":"Query contains too many nested clauses; maxClauseCount is set to 1024","debug":{"error":{"root_cause":[{"type":"too_many_nested_clauses","reason":"Query contains too many nested clauses; maxClauseCount is set to 1024"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"smartapi_docs","node":"lpmpQYOsQVSFYPa-3_aCsw","reason":{"type":"too_many_nested_clauses","reason":"Query contains too many nested clauses; maxClauseCount is set to 1024"}}],"caused_by":{"type":"too_many_nested_clauses","reason":"Query contains too many nested clauses; maxClauseCount is set to 1024","caused_by":{"type":"too_many_nested_clauses","reason":"Query contains too many nested clauses; maxClauseCount is set to 1024"}}},"status":500}}
The text was updated successfully, but these errors were encountered: