...t(5)->search(); foreach ($docs as $doc) { // 其中常用魔术方法:percent() 表示匹配度百分比, rank() 表示匹配结果序号 echo $doc->rank() . '. ' . $doc->subject . " [" . $doc->percent() . "%] - "; echo date("Y-m-d", $doc->chrono) . "\n" . $doc->message . "\n"; } ~~~ ...