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 String, Int or Float.

Returns:

SolrCollapseFunction

doc_php
2016-02-24 16:11:50
Comments
Leave a Comment

Please login to continue.