docs: public SearchResponseData load(SearchResponseData preloadedResponseData, Collector collector, Set<SearchAdditionalField> fields, @Nullable Facets facets) {
      try (DbSession dbSession = dbClient.openSession(false)) {
        SearchResponseData result = new SearchResponseData(loadIssues(preloadedResponseData, collector, dbSession));
        collector.collect(result.getIssues());
  
        loadRules(preloadedResponseData, collector, dbSession, result);
        // order is important - loading of comments complete the list of users: loadComments() is before loadUsers()
        loadComments(collector, dbSession, fields, result);
        loadUsers(preloadedResponseData, collector, dbSession, result);
        loadComponents(preloadedResponseData, collector, dbSession, result);
        loadOrganizations(dbSession, result);
        loadActionsAndTransitions(result, fields);
        completeTotalEffortFromFacet(facets, result);
        return result;
      }
    }