Prefix on cross cluster search

cross-cluster-search

#1

Hi,
I have a system that containe 5 clusters in 6.2.4.
4 clusters which containe data, and one cluster which have three coordinating nodes.
I use the option of cross cluster search in order to search from the coordinating cluster on all the other four, and return one result.
I configure the coordinating cluster in the following way:
Cluster_one:
Seeds:a,b,c
Cluster_two:
Seeds:d,e,f
Cluster_three:
Seeds:g,h,i
Cluster_four:
Seeds:j,k,l

When i want to search, i execute a search on fhe coordinating cluster in the folowing order:
Cluster_*:<name_of_the_index>

I got a good results, but when i execute a search like that:
Cluster_:<name_of_an_index_in_cluster_one>, Cluster_:<name_of_an_index_in_cluster_two>

I got zero results.

Thanks in advance.


(Luca Cavanna) #2

When you use Cluster_:<name_of_an_index_in_cluster_one>, Cluster_:<name_of_an_index_in_cluster_two> , I think you should specify the complete cluster alias rather than just Cluster_. Otherwise add a wildcard like you did in the previous attempt. If there's no remote cluster matching a prefix, we treat the index like a local index. Hopefully that is the problem.

Cheers
Luca


#3

I am sorry, i forgot to mention that i use wildcard in here also.
Cluster_:<name_of_an_index_in_cluster_one>, Cluster_:<name_of_an_index_in_cluster_two>