Set a custom Doctrine Query to execute in order to hydrate the search
engine results into required entities. The assumption is made the the
search engine result id is correlated to the entity id. An optional
query parameter override can be specified.