-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asynchronous Searches #13
Comments
What's the use case for allowing the Client (Querier) to tell the Server to run the search asynchronously?
Maybe, maybe not. There are (at least) three possible ways to handle this:
The last option feels the least problematic to me, as we don't need to specify some way to use an ID, and in stead the Client is responsible for providing the callback URL. How to handle situations? The Server can require the use of a component which specifies the callback URL, either by default, or a response which denotes a client error (HTTP 422 in this case), allowing the client to fix the issue and retry. This approach is similar to content negotiation, and we would need to define a component which indicates instructions to the Client, like "essential missing component X", which allows the Client to include such a compoenent if they are able to do so, or report an error to the end user. |
@harindra-a Do you know if this will be required for the initial implementations? I would guess not. |
I would say that this is not required, it introduces a lot of complexity. We had this in MME v1 and tossed it out as not needed. |
Agree, I don't see this being required and introduces complexity. Let's keep (at least) first release simple |
Great, it will not be considered for the initial release. We should watch out for anyone who requests this functionality, and ask them which of hte possible solutions they feel makes the most sense. |
querier
to tell thehost
to run the search asynchronously.host
to tell thequerier
that it decided to run the search asynchronously (or that the search can only be run asynchronously??).host
can return the results to thequerier
.querier
and thehost
.query identification
so that thequerier
can reconcile results with the original request.The text was updated successfully, but these errors were encountered: