public function process(SearchResultSet $resultSet)
    {
        if (!$resultSet instanceof SearchResultSet) {
            return $resultSet;
        }

        $resultSet = $this->parseSpellCheckingResponseIntoObjects($resultSet);
        $resultSet = $this->parseSortingIntoObjects($resultSet);

        // here we can reconstitute other domain objects from the solr response
        $resultSet = $this->parseFacetsIntoObjects($resultSet);

        return $resultSet;
    }
public function process(SearchResultSet $resultSet)
    {
        if (!$resultSet instanceof SearchResultSet) {
            return $resultSet;
        }

        $resultSet = $this->parseSpellCheckingResponseIntoObjects($resultSet);
        $resultSet = $this->parseSortingIntoObjects($resultSet);

        // here we can reconstitute other domain objects from the solr response
        $resultSet = $this->parseFacetsIntoObjects($resultSet);

        return $resultSet;
    }
public function process ( SearchResultSet $ resultSet ) { if ( ! $ resultSet instanceof SearchResultSet ) { return $ resultSet ; } $ resultSet = $ this -> parseSpellCheckingResponseIntoObjects ( $ resultSet ) ; $ resultSet = $ this -> parseSortingIntoObjects ( $ resultSet ) ; // here we can reconstitute other domain objects from the solr response $ resultSet = $ this -> parseFacetsIntoObjects ( $ resultSet ) ; return $ resultSet ; }
The implementation can be used to influence a SearchResultSet that is
created and processed in the SearchResultSetService.

@param SearchResultSet $resultSet
@return SearchResultSet
The implementation can be used to influence a SearchResultSet that is created and processed in the SearchResultSetService .