PHP Doku:: Returns the number of characters of fragments to consider for highlighting - solrquery.gethighlightfragsize.html

Verlauf / Chronik / History: (6) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzSuchmaschinenerweiterungenApache SolrThe SolrQuery classSolrQuery::getHighlightFragsize

Ein Service von Reinhard Neidl - Webprogrammierung.

The SolrQuery class

<<SolrQuery::getHighlightFragmenter

SolrQuery::getHighlightHighlightMultiTerm>>

SolrQuery::getHighlightFragsize

(PECL solr >= 0.9.2)

SolrQuery::getHighlightFragsizeReturns the number of characters of fragments to consider for highlighting

Beschreibung

public int SolrQuery::getHighlightFragsize ([ string $field_override ] )

Returns the number of characters of fragments to consider for highlighting. Zero implies no fragmenting. The entire field should be used.

Parameter-Liste

field_override

The name of the field

Rückgabewerte

Returns an integer on success or NULL if not set.


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)