floriansemm / SolrBundle

Solr-Integration into Symfony and Doctrine2
http://floriansemm.github.io/SolrBundle
MIT License
123 stars 73 forks source link

Pass query options into SolrClient::select #57

Closed watermanio closed 10 years ago

watermanio commented 10 years ago

Required to pass options about the query as supported by SolrQuery::setOptions back to Solarium.

Use case:

$query = $this->get('solr.client.default')->createQuery('WebsiteBundle:SearchRecord');
$query->setStart($offset);
$query->setRows($maxPerPage);
$query->queryAllFields($request->get('q'));
floriansemm commented 10 years ago

Please use the development branch. I will merge your pull request later.