PHP 8.1.0 Beta 1 available for testing

SolrQuery::addMltField

(PECL solr >= 0.9.2)

SolrQuery::addMltFieldSets a field to use for similarity

Description

public SolrQuery::addMltField(string $field): SolrQuery

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

Parameters

field

The name of the field

Return Values

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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top