use of org.elasticsearch.search.internal.ShardSearchTransportRequest in project elasticsearch by elastic.
the class AbstractSearchAsyncAction method buildShardSearchRequest.
public final ShardSearchTransportRequest buildShardSearchRequest(ShardIterator shardIt, ShardRouting shard) {
AliasFilter filter = aliasFilter.get(shard.index().getUUID());
assert filter != null;
float indexBoost = concreteIndexBoosts.getOrDefault(shard.index().getUUID(), DEFAULT_INDEX_BOOST);
return new ShardSearchTransportRequest(request, shardIt.shardId(), getNumShards(), filter, indexBoost, startTime);
}
Aggregations