Cross search has a /export route which is used by the "Export Table" button in a cross-search table view. This route uses the same parameter parsing and validation function as the /all route, and it also uses the same SQL query, but with LIMIT set to undefined. The resulting data is streamed to the user, where the browser will download it as a csv file. See the "Exporting" section in TableView docs for more information.