Package org.elasticsearch.index.query
Class SearchIndexNameMatcher
java.lang.Object
org.elasticsearch.index.query.SearchIndexNameMatcher
A predicate that checks whether an index pattern matches the current search shard target.
-
Constructor Summary
ConstructorDescriptionSearchIndexNameMatcher(String indexName, String clusterAlias, ClusterService clusterService, IndexNameExpressionResolver expressionResolver)
Creates a new index name matcher. -
Method Summary
-
Constructor Details
-
SearchIndexNameMatcher
public SearchIndexNameMatcher(String indexName, String clusterAlias, ClusterService clusterService, IndexNameExpressionResolver expressionResolver)Creates a new index name matcher.- Parameters:
indexName
- he name of the local index.clusterAlias
- the cluster alias of this search shard target. If it is a local target, the alias should be null or equal toRemoteClusterAware.LOCAL_CLUSTER_GROUP_KEY
.clusterService
- the cluster service.
-
-
Method Details