SolrCollapseFunction
class SolrCollapseFunction (View source)
(PECL solr >= 2.2.0)
Class SolrCollapseFunction
Constants
NULLPOLICY_IGNORE |
|
NULLPOLICY_EXPAND |
|
NULLPOLICY_COLLAPSE |
|
Methods
(PECL solr >= 2.2.0)
SolrCollapseFunction constructor.
(PECL solr >= 2.2.0)
Returns the field that is being collapsed on.
(PECL solr >= 2.2.0)
Returns collapse hint
(PECL solr >= 2.2.0)
Returns max parameter
(PECL solr >= 2.2.0)
Returns min parameter
(PECL solr >= 2.2.0)
Returns null policy
(PECL solr >= 2.2.0)
Returns size parameter
(PECL solr >= 2.2.0)
Sets the field to collapse on
(PECL solr >= 2.2.0)
Sets collapse hint
(PECL solr >= 2.2.0)
Selects the group heads by the max value of a numeric field or function query.
(PECL solr >= 2.2.0)
Sets the initial size of the collapse data structures when collapsing on a numeric field only
(PECL solr >= 2.2.0)
Sets the NULL Policy
(PECL solr >= 2.2.0)
Sets the initial size of the collapse data structures when collapsing on a numeric field only.
(PECL solr >= 2.2.0)
Returns a string representing the constructed collapse function
Details
__construct(string $field)
(PECL solr >= 2.2.0)
SolrCollapseFunction constructor.
string
getField()
(PECL solr >= 2.2.0)
Returns the field that is being collapsed on.
string
getHint()
(PECL solr >= 2.2.0)
Returns collapse hint
string
getMax()
(PECL solr >= 2.2.0)
Returns max parameter
string
getMin()
(PECL solr >= 2.2.0)
Returns min parameter
string
getNullPolicy()
(PECL solr >= 2.2.0)
Returns null policy
int
getSize()
(PECL solr >= 2.2.0)
Returns size parameter
SolrCollapseFunction
setField(string $fieldName)
(PECL solr >= 2.2.0)
Sets the field to collapse on
SolrCollapseFunction
setHint(string $hint)
(PECL solr >= 2.2.0)
Sets collapse hint
SolrCollapseFunction
setMax(string $max)
(PECL solr >= 2.2.0)
Selects the group heads by the max value of a numeric field or function query.
SolrCollapseFunction
setMin(string $min)
(PECL solr >= 2.2.0)
Sets the initial size of the collapse data structures when collapsing on a numeric field only
SolrCollapseFunction
setNullPolicy(string $nullPolicy)
(PECL solr >= 2.2.0)
Sets the NULL Policy
SolrCollapseFunction
setSize(int $size)
(PECL solr >= 2.2.0)
Sets the initial size of the collapse data structures when collapsing on a numeric field only.
string
__toString()
(PECL solr >= 2.2.0)
Returns a string representing the constructed collapse function