code: public SearchResponse searchAllWithTargetCount(String index, String type) {
          return searchAllWithTargetCount(index, type, null, null);
      }
docs: Search all with target count search response.
  
  @param index the index
  @param type  the type
  @return the search response