Extract logic to build distributed search request from search distributor plugin to a new class DistributedSearchPlan