SolrQuery::addMltField
PHP function
Edit on GitHub ✎
(PECL solr >= 0.9.2)
Sets a field to use for similarity
Description
SolrQuery::addMltField(string $field): SolrQuery
Maps to mlt.fl. It specifies that a field should be used for similarity.
Parameters
fieldThe name of the field
Return Values
Returns the current SolrQuery object, if the return value is used.