PHP
Solr

SolrQuery::setMlt

SolrQuery::setMlt

(PECL solr >= 0.9.2)

SolrQuery::setMlt — Enables or disables moreLikeThis

Description

public SolrQuery SolrQuery::setMlt ( bool $flag )

Enables or disables moreLikeThis

Parameters

flag

TRUE enables it and FALSE turns it off.

Return Values

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

← SolrQuery::setHighlightUsePhraseHighlighter

SolrQuery::setMltBoost →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/solrquery.setmlt.php