+
Skip to content

Conversation

mdwelsh
Copy link
Contributor

@mdwelsh mdwelsh commented Nov 17, 2024

For our upcoming customer deployment, we need a REST server that will return query plans, results, and the set of retrieved docs used in a query. This PR adds this capability to the existing query-server app.

I have also added streaming responses using SSE, in order to support streaming back large result sets (and to ensure the query plan and status are streamed back to the client while the query is running). Streaming is enabled if stream=true in the query request, otherwise, a non-streamed response is returned.

I've added a unit test for the app as well.

@mdwelsh mdwelsh requested a review from austintlee November 19, 2024 03:43
@mdwelsh mdwelsh merged commit 70f25a7 into main Nov 19, 2024
9 of 14 checks passed
@HenryL27 HenryL27 deleted the matt/query-server-streaming branch August 30, 2025 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载