• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • SolrQuery::addMltField()

    (PECL solr >= 0.9.2)

    Sets a field to use for similarity

    说明

    publicSolrQuery::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.