I have a search use case that requires that I use the results of search from IndexA and apply them as a query component of a second search to IndexB. (The nature of the data doesn't allow me to combine these indexes). At present, this is handled at the client level: search one index, get the results, apply them to a search against another index.
I can't change the two-query fundamentals, but I'd like to hide the implementation from the client. If I wanted to concentrate this logic at the server, should I be considering a custom request handler? The request handler would: - accept the query parameters - use a subset of parameters to build a query against another search index - execute that query, gather the results - use those results as new parameters in another query - execute the second query I'm sure this isn't atypical, how are others accomplishing this? thanks, j