SolrQuery
PHP Manual

SolrQuery::addMltField

(PECL solr >= 0.9.2)

SolrQuery::addMltFieldSets a field to use for similarity

Descrição

public SolrQuery SolrQuery::addMltField ( string $field )

Maps to mlt.fl. It specifies that a field should be used for similarity.

Parâmetros

field

The name of the field

Valor Retornado

Returns the current SolrQuery object, if the return value is used.


SolrQuery
PHP Manual