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 imagickdraw returns the shape to be used at the corners of paths when they are strokedphp solrcollapsefunction sets the initial size of the collapse data structures when collapsing on a numeric field onlyphp solrcollapsefunction sets the initial size of the collapse data structures when collapsing on a numeric field onlyphp solrquery allows grouping of documents that match the given queryphp solrquery returns the highlight field to use as backup or defaultphp 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 stats is enabledphp solrquery removes an expand filter queryphp 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 restrict matches to terms that start with the prefixphp sqlite3stmt returns whether a statement is definitely read only
关注编程学问公众号