update : 2015.11.03
php.shukuma.com

검색:
 
 
Sets a field to use for similarity

SolrQuery::addMltField

(PECL solr >= 0.9.2)

SolrQuery::addMltFieldSets 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.