Scroll API with Remote/sub-clusters/cross-cluster search?

Hey there,

I'm trying to figure out the right way to use the scroll API and search with remote clusters. I have examples of search using remote clusters and I have examples of scroll API for searching, but not the 2 combined. If anyone has any pointers, that'd be super great. I've spent a decent amount of time searching and no luck.

I'm building raw API requests, so language etc shouldn't be an issue. Running Elastic 6.x and 7.x.

I'm also a little confused by the syntax for cross-cluster searching. In the environment I'm in, they have clusters and sub-clusters and I'd like to just search everything with 1 search call. I was using /cluster_*:*/_search because in the env I'm in, all of the clusters are pre-pended with cluster, but I know that not everywhere is like that.

Just a quick bump - I'm surprised no one has asked this before and I still can't find any docs covering this use case.


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.