Open IIIEII opened 6 years ago
I think that longer term, it would be interesting if Elasticsearch could initiate queries inside of a painless script, then process the results arbitrarily before returning them to the client. It seems that such a functionality could address this enhancement.
I believe Elastic team could do it someday, but now we don't have it. So I'm going to fork it anyway and make a pull request for you. Let me know if you have some ideas how to do it better.
It would be nice to do several queries from different indexes. Just remove Index Pattern dropdown and place it into Query DSL field. For example:
And then use
response.query_1...
andresponse.query_2...
I can do pull request for this functionality if you OK with conception.