4 class MTrackSearchResult {
5 /** object identifier of result */
7 /** result ranking; higher is more relevant */
9 /** excerpt of matching text */
12 /* some implementations may need the caller to provide the context
13 * text; the default just returns what is there */
14 function getExcerpt($text) {
15 return $this->excerpt;