//保护迅搜文件 include SRCPATH.'libs/xunsearch/lib/XS.php'; $this->temp_db = $ci->load->database ( $table_db_array[$table], TRUE ); //建立 XS 对象 $xs = new XS($project_name); //获取 索引对象 $index = $xs->index; $doc = new XSDocument; $result = array(); ...