code: public SearchRequestBuilder getSearchRequestBuilder(boolean isSetExplain,
              String[] indices, String[] types, QueryBuilder queryBuilder,
              AggregationBuilder[] aggregationBuilders) {
          SearchRequestBuilder searchRequestBuilder = getSearchRequestBuilder(
                  esClient.prepareSearch(indices)
                          .setSearchType(SearchType.DFS_QUERY_THEN_FETCH)
                          .setSize(defaultHitsCount).setExplain(isSetExplain),
                  aggregationBuilders);
          ifNotNull(types, searchRequestBuilder::setTypes);
          ifNotNull(queryBuilder, searchRequestBuilder::setQuery);
          return searchRequestBuilder;
      }
docs: Gets search request builder.
  
  @param isSetExplain        the is set explain
  @param indices             the indices
  @param types               the types
  @param queryBuilder        the query builder
  @param aggregationBuilders the aggregation builders
  @return the search request builder