SolrQuery::getExpandRows

(PECL solr >= 2.2.0) Returns The number of rows to display in each group (expand.rows) public integer SolrQuery::getExpandRows ( void ) Returns The number of rows to display in each group (expand.rows)

SolrQuery::getExpandQuery

(PECL solr >= 2.2.0) Returns the expand query expand.q parameter public array SolrQuery::getExpandQuery ( void ) Returns the expand query expand.q parameter

SolrQuery::getExpandFilterQueries

(PECL solr >= 2.2.0) Returns the expand filter queries public array SolrQuery::getExpandFilterQueries ( void ) Returns the expand filter queries

SolrQuery::getExpand

(PECL solr >= 2.2.0) Returns true if group expanding is enabled public bool SolrQuery::getExpand ( void ) Returns TRUE if group expanding is enabled

SolrQuery::__destruct

(PECL solr >= 0.9.2) Destructor public void SolrQuery::__destruct ( void ) Destructor Returns: None.

SolrQuery::__construct

(PECL solr >= 0.9.2) Constructor public SolrQuery::__construct ([ string $q ] ) Constructor. Parameters: q Optional search query Returns: None Exception: Emits SolrIllegalArgumentException in case of an invalid parameter was passed. Changelog: 2.0.0 If q was invalid, th

SolrQuery::collapse

(No version information available, might only be in Git) Collapses the result set to a single document per group public SolrQuery SolrQuery::collapse ( SolrCollapseFunction $collapseFunction ) Collapses the result set to a single document per group before it forwards the result set to the rest of the search components. So all downstream components (faceting, highlighting, etc...) will work with the collapsed result set.

SolrQuery::addStatsField

(PECL solr >= 0.9.2) Maps to stats.field parameter public SolrQuery SolrQuery::addStatsField ( string $field ) Maps to stats.field parameter This methods adds another stats.field parameter. Parameters: field The name of the field Returns: Returns the current SolrQuery object, if the return value is used.

SolrQuery::addStatsFacet

(PECL solr >= 0.9.2) Requests a return of sub results for values within the given facet public SolrQuery SolrQuery::addStatsFacet ( string $field ) Requests a return of sub results for values within the given facet. Maps to the stats.facet field Parameters: field The name of the field Returns: Returns the current SolrQuery object, if the retu

SolrQuery::addSortField

(PECL solr >= 0.9.2) Used to control how the results should be sorted public SolrQuery SolrQuery::addSortField ( string $field [, int $order = SolrQuery::ORDER_DESC ] ) Used to control how the results should be sorted. Parameters: field The name of the field order The sort direction. This should be either SolrQuery::ORDER_ASC or Sol