public function getSelectQuery(AbstractQuery $query): SolariumQuery
    {
        $selectQuery = $this->solrClientCore->createSelect($query->getOptions());

        $selectQuery->setQuery($query->getQuery());
        $selectQuery->setFilterQueries($query->getFilterQueries());
        $selectQuery->setSorts($query->getSorts());
        $selectQuery->setFields($query->getFields());

        return $selectQuery;
    }
public function getSelectQuery(AbstractQuery $query): SolariumQuery
    {
        $selectQuery = $this->solrClientCore->createSelect($query->getOptions());

        $selectQuery->setQuery($query->getQuery());
        $selectQuery->setFilterQueries($query->getFilterQueries());
        $selectQuery->setSorts($query->getSorts());
        $selectQuery->setFields($query->getFields());

        return $selectQuery;
    }
public function getSelectQuery ( AbstractQuery $ query ) : SolariumQuery { $ selectQuery = $ this -> solrClientCore -> createSelect ( $ query -> getOptions ( ) ) ; $ selectQuery -> setQuery ( $ query -> getQuery ( ) ) ; $ selectQuery -> setFilterQueries ( $ query -> getFilterQueries ( ) ) ; $ selectQuery -> setSorts ( $ query -> getSorts ( ) ) ; $ selectQuery -> setFields ( $ query -> getFields ( ) ) ; return $ selectQuery ; }
Get select query

@param AbstractQuery $query

@return SolariumQuery
Get select query