SolrCollapseFunction::__toString

(PECL solr >= 2.2.0) Returns a string representing the constructed collapse function public string SolrCollapseFunction::__toString ( void ) Returns a string representing the constructed collapse function Returns:

SolrCollapseFunction::setSize

(PECL solr >= 2.2.0) Sets the initial size of the collapse data structures when collapsing on a numeric field only. public SolrCollapseFunction SolrCollapseFunction::setSize ( integer $size ) Sets the initial size of the collapse data structures when collapsing on a numeric field only. Parameters: size Sets the initial size of the collapse data structures when collapsi

SolrCollapseFunction::setNullPolicy

(PECL solr >= 2.2.0) Sets the NULL Policy public SolrCollapseFunction SolrCollapseFunction::setNullPolicy ( string $nullPolicy ) Sets the NULL Policy. One of the 3 policies defined as class constants shall be passed. Accepts ignore, expand, or collapse policies. Parameters: nullPolicy Sets the NULL Policy. One of the 3 policies defined as class constants shall be passe

SolrCollapseFunction::setMin

(PECL solr >= 2.2.0) Sets the initial size of the collapse data structures when collapsing on a numeric field only public SolrCollapseFunction SolrCollapseFunction::setMin ( string $min ) Sets the initial size of the collapse data structures when collapsing on a numeric field only Parameters: min Sets the initial size of the collapse data structures when collapsing on

SolrCollapseFunction::setMax

(PECL solr >= 2.2.0) Selects the group heads by the max value of a numeric field or function query. public SolrCollapseFunction SolrCollapseFunction::setMax ( string $max ) Selects the group heads by the max value of a numeric field or function query. Parameters: max Selects the group heads by the max value of a numeric field or function query. Retu

SolrCollapseFunction::setHint

(PECL solr >= 2.2.0) Sets collapse hint public SolrCollapseFunction SolrCollapseFunction::setHint ( string $hint ) Sets collapse hint Parameters: hint Currently there is only one hint available "top_fc", which stands for top level FieldCache Returns: SolrCollapseFunction Examples:

SolrCollapseFunction::setField

(PECL solr >= 2.2.0) Sets the field to collapse on public SolrCollapseFunction SolrCollapseFunction::setField ( string $field ) The field name to collapse on. In order to collapse a result. The field type must be a single valued String, Int or Float. Parameters: field The field name to collapse on. In order to collapse a result. The field type must be a single valued S

SolrCollapseFunction::getSize

(PECL solr >= 2.2.0) Returns size parameter public integer SolrCollapseFunction::getSize ( void ) Gets the initial size of the collapse data structures when collapsing on a numeric field only Returns: See also: SolrCollapseFunction::setSize() -

SolrCollapseFunction::getNullPolicy

(PECL solr >= 2.2.0) Returns null policy public string SolrCollapseFunction::getNullPolicy ( void ) Returns null policy used or null Returns: See also: SolrCollapseFunction::setNullPolicy() -

SolrCollapseFunction::getMin

(PECL solr >= 2.2.0) Returns min parameter public string SolrCollapseFunction::getMin ( void ) Returns min parameter Returns: See also: SolrCollapseFunction::setMin() -