SolrQuery::addMltField

Sets a field to use for similarity

説明

public SolrQuery SolrQuery::addMltField(string $field)

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

パラメータ

field

The name of the field

戻り値

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