AQL query with certain large number of lines returns 500 error [RTFACT-19155]

external_document

ft:sourceType
jira-jfrog