SolrQuery::setHighlightUsePhraseHighlighter

(PECL solr >= 0.9.2)

SolrQuery::setHighlightUsePhraseHighlighterWhether to highlight phrase terms only when they appear within the query phrase

说明

public SolrQuery::setHighlightUsePhraseHighlighter ( bool $flag ) : SolrQuery

Sets whether or not to use SpanScorer to highlight phrase terms only when they appear within the query phrase in the document

参数

value

Whether or not to use SpanScorer to highlight phrase terms only when they appear within the query phrase in the document

返回值

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

相关文章
php imagickdraw specifies the shape to be used at the end of open subpaths when they are strokedphp imagickdraw specifies the shape to be used at the corners of paths when they are strokedphp mongocursor sets whether this query can be done on a secondary deprecated php solrdismaxquery specifies the amount of slop permitted on phrase queries explicitly included in the user s query string qf parameter php solrquery adds a facet queryphp solrquery returns all the group.query parameter valuesphp solrquery returns whether or not the collapse contiguous fragments into a single fragmentphp solrquery returns the maximum number of characters from a field when using the regex fragmenterphp solrquery returns if a field will only be highlighted if the query matched in this particular fieldphp solrquery returns whether or not the query will be boosted by the interesting term relevancephp solrquery returns the maximum number of query terms that will be included in any generated queryphp solrquery returns the frequency below which terms will be ignored in the source documentphp solrquery returns the query fields and their boostsphp solrquery removes one of the morelikethis query fieldsphp solrquery specifies the type of algorithm to use when faceting a fieldphp solrquery if true facet counts are based on the most relevant document of each group matching the queryphp solrquery use spanscorer to highlight phrase termsphp solrquery whether to highlight phrase terms only when they appear within the query phrasephp solrquery sets the maximum number of query terms includedphp solrquery sets the name of the field to get the terms from
关注编程学问公众号