编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « SolrQuery::addMltField
  • SolrQuery::addSortField »
  • PHP Manual
  • SolrQuery
  • Maps to mlt.qf

SolrQuery::addMltQueryField

(PECL solr >= 0.9.2)

SolrQuery::addMltQueryField — Maps to mlt.qf

说明

public SolrQuery::addMltQueryField ( string $field , float $boost ) : SolrQuery

Maps to mlt.qf. It is used to specify query fields and their boosts

参数

field

The name of the field

boost

Its boost value

返回值

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

相关文章
php solrquery maps to facet.datephp solrquery maps to hl.flphp solrquery sets a field to use for similarityphp solrquery maps to mlt.qfphp solrquery maps to stats.field parameterphp solrquery returns the value of the facet.date.gap parameterphp solrquery returns group cache percent valuephp solrquery returns the text snippet generator for highlighted textphp solrquery returns the number of similar documents to return for each resultphp solrquery returns whether or not the termscomponent is enabledphp solrquery removes one of the facet.date.other parametersphp solrquery sets the explainother common query parameterphp solrquery maps to the facet parameter. enables or disables facettingphp solrquery maps to facet.date.endphp solrquery maps to facet.date.gapphp solrquery maps to facet.date.hardendphp solrquery maps to facet.date.startphp solrquery maps to facet.limitphp solrquery maps to facet.mincountphp solrquery maps to facet.missing
关注编程学问公众号
编程学问网 湘ICP备20001732号