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 cubrid 函数 get result of next query when executing multiple sql statementsphp solrcollapsefunction sets the initial size of the collapse data structures when collapsing on a numeric field onlyphp solrquery returns whether or not to enable highlighting for range/wildcard/fuzzy/prefix queriesphp solrquery returns if a field will only be highlighted if the query matched in this particular fieldphp solrquery returns whether or not morelikethis results should be enabledphp 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 whether or not the termscomponent is enabledphp solrquery returns the field from which the terms are retrievedphp solrquery returns whether or not to include the lower bound in the result setphp solrquery removes one of the facet.query parametersphp solrquery sets the explainother common query parameterphp solrquery use spanscorer to highlight phrase termsphp solrquery whether or not to collapse contiguous fragments into a single fragmentphp 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 frequency below which terms will be ignored in the source docsphp solrquery sets the search queryphp solrquery restrict matches to terms that start with the prefixphp solrquery specifies how to sort the returned terms
关注编程学问公众号