important-night-50346
05/17/2023, 3:15 AMsearchAcrossEntities
queries for entities count <10000?
Below issue for long time already, it was present in 0.9.5 and it is there in 0.10.2.
I ingested exactly 5718 entities into datahub running in quickstart mode and running very simple query, which emulates :
query getAllEntities {
searchAcrossEntities(
input: {
start: 4000
count: 10
query: ""
}
) {
start
count
total
searchResults {
entity {
urn
}
}
}
}
It fails with
{
"servlet": "apiServlet",
"message": "Service Unavailable",
"url": "/api/graphql",
"status": "503"
}
It does not look to be an issue with 10k entities limit in elasticsearch, more likely it is caused by some sort of timeout - it always run 30s and fails. I also tried to run a query with start=0 and count=5718 it is also failing in 30s, which makes me think it is a timeout issue.
The very same searchAcrossEntities
query is used in the UI and causing error there as well. Any thoughts or suggestions how to fix it?