SolrQuery::addMltQueryField

(PECL solr >= 0.9.2) Maps to mlt.qf public SolrQuery SolrQuery::addMltQueryField ( string $field, float $boost ) Maps to mlt.qf. It is used to specify query fields and their boosts Parameters: field The name of the field boost Its boost value Returns: Returns the current SolrQuery object, if the return value

SolrQuery::addMltField

(PECL solr >= 0.9.2) Sets a field to use for similarity public SolrQuery SolrQuery::addMltField ( string $field ) Maps to mlt.fl. It specifies that a field should be used for similarity. Parameters: field The name of the field Returns: Returns the current SolrQuery object, if the return value is used.

SolrQuery::addHighlightField

(PECL solr >= 0.9.2) Maps to hl.fl public SolrQuery SolrQuery::addHighlightField ( string $field ) Maps to hl.fl. This is used to specify that highlighted snippets should be generated for a particular field Parameters: field Name of the field Returns: Returns the current SolrQuery object, if the return value is used.

SolrQuery::addGroupSortField

(PECL solr >= 2.2.0) Add a group sort field (group.sort parameter). public SolrQuery SolrQuery::addGroupSortField ( string $field [, integer $order ] ) Allow sorting group documents, using group sort field (group.sort parameter). Parameters: field Field name order Order ASC/DESC, utilizes SolrQuery::ORDER_* constants

SolrQuery::addGroupQuery

(PECL solr >= 2.2.0) Allows grouping of documents that match the given query. public SolrQuery SolrQuery::addGroupQuery ( string $value ) Allows grouping of documents that match the given query. Adds query to the group.query parameter Parameters: value Allows grouping of documents that match the given query. Adds query to the group.query parameter R

SolrQuery::addGroupFunction

(PECL solr >= 2.2.0) Allows grouping results based on the unique values of a function query (group.func parameter). public SolrQuery SolrQuery::addGroupFunction ( string $value ) Adds a group function (group.func parameter) Allows grouping results based on the unique values of a function query. Parameters: value Adds a group function (group.func parameter) Allows group

SolrQuery::addGroupField

(PECL solr >= 2.2.0) Add a field to be used to group results. public SolrQuery SolrQuery::addGroupField ( string $value ) The name of the field by which to group results. The field must be single-valued, and either be indexed or a field type that has a value source and works in a function query, such as ExternalFileField. It must also be a string-based field, such as StrField or TextField Uses group.field parameter

SolrQuery::addFilterQuery

(PECL solr >= 0.9.2) Specifies a filter query public SolrQuery SolrQuery::addFilterQuery ( string $fq ) Specifies a filter query Parameters: fq The filter query Returns: Returns the current SolrQuery object. Examples: SolrQuery::addFilterQuery() example <?php $opt

SolrQuery::addField

(PECL solr >= 0.9.2) Specifies which fields to return in the result public SolrQuery SolrQuery::addField ( string $field ) This method is used to used to specify a set of fields to return, thereby restricting the amount of data returned in the response. It should be called multiple time, once for each field name. Parameters: field The name of the field

SolrQuery::addFacetQuery

(PECL solr >= 0.9.2) Adds a facet query public SolrQuery SolrQuery::addFacetQuery ( string $facetQuery ) Adds a facet query Parameters: facetQuery The facet query Returns: Returns the current SolrQuery object, if the return value is used. Examples: SolrQuery::addFacetField() exampl