Services/Search/SphinxSearch.php
public function getSnippets($text, $index, $terms, $options = array())
    {
        return $this->sphinx->BuildExcerpts($text, $index, $terms, $options);
    }
public function getSnippets($text, $index, $terms, $options = array())
    {
        return $this->sphinx->BuildExcerpts($text, $index, $terms, $options);
    }
public function getSnippets ( $ text , $ index , $ terms , $ options = array ( ) ) { return $ this -> sphinx -> BuildExcerpts ( $ text , $ index , $ terms , $ options ) ; }
Get snippets for array of text

@param array  $text    Array of text to process
@param string $index   Search index
@param string $terms   Words for highlight
@param array  $options Generate snippet option

@return array|false
Get snippets for array of text