- PHP 手册
- 函数参考
- 搜索引擎扩展
- Solr
- SolrQuery
SolrQuery::addMltField
(PECL solr >= 0.9.2)
SolrQuery::addMltField — Sets a field to use for similarity
说明
public SolrQuery::addMltField(string$field
): SolrQuery
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.
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/solrquery.addmltfield.php