"", "after_match" => "", "chunk_separator" => " ... ", "limit" => 400, "around" => 15 ); $cl = new SphinxClient (); $res = $cl->BuildExcerpts ( $docs, $index, $words, $opts ); if ( !$res ) { die ( "ERROR: " . $cl->GetLastError() . ".\n" ); } else { foreach ( $res as $entry ) { $n++; print "n=$n, res=$entry\n"; } } // // $Id$ // ?>