SolrQuery::addFacetField

(PECL solr >= 0.9.2) Adds another field to the facet public SolrQuery SolrQuery::addFacetField ( string $field ) Adds another field to the facet Parameters: field The name of the field Returns: Returns the current SolrQuery object, if the return value is used. Examples: SolrQuery::

SolrQuery::addFacetDateOther

(PECL solr >= 0.9.2) Adds another facet.date.other parameter public SolrQuery SolrQuery::addFacetDateOther ( string $value [, string $field_override ] ) Sets the facet.date.other parameter. Accepts an optional field override Parameters: value The value to use. field_override The field name for the override. Return

SolrQuery::addFacetDateField

(PECL solr >= 0.9.2) Maps to facet.date public SolrQuery SolrQuery::addFacetDateField ( string $dateField ) This method allows you to specify a field which should be treated as a facet. It can be used multiple times with different field names to indicate multiple facet fields Parameters: dateField The name of the date field. Returns: Returns a

SolrQuery::addExpandSortField

(PECL solr >= 2.2.0) Orders the documents within the expanded groups (expand.sort parameter). public SolrQuery SolrQuery::addExpandSortField ( string $field [, string $order ] ) Orders the documents within the expanded groups (expand.sort parameter). Parameters: field field name order Order ASC/DESC, utilizes SolrQuery::ORDER_* const

SolrQuery::addExpandFilterQuery

(PECL solr >= 2.2.0) Overrides main filter query, determines which documents to include in the main group. public SolrQuery SolrQuery::addExpandFilterQuery ( string $fq ) Overrides main filter query, determines which documents to include in the main group. Parameters: fq Overrides main filter query, determines which documents to include in the main group.

SolrModifiableParams::__destruct

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

SolrModifiableParams::__construct

(PECL solr >= 0.9.2) Constructor public SolrModifiableParams::__construct ( void ) Constructor Returns: None

SolrParams::unserialize

(PECL solr >= 0.9.2) Used for custom serialization final public void SolrParams::unserialize ( string $serialized ) Used for custom serialization Parameters: serialized The serialized representation of the object Returns: None

SolrParams::toString

(PECL solr >= 0.9.2) Returns all the name-value pair parameters in the object final public string SolrParams::toString ([ bool $url_encode = false ] ) Returns all the name-value pair parameters in the object Parameters: url_encode Whether to return URL-encoded values Returns: Returns a string on success and FALSE on failure.

SolrParams::setParam

(PECL solr >= 0.9.2) Sets the parameter to the specified value public SolrParams SolrParams::setParam ( string $name, string $value ) Sets the query parameter to the specified value. This is used for parameters that can only be specified once. Subsequent calls with the same parameter name will override the existing value Parameters: name Name of the parameter