...w/public_html下的时候,就出现了以下的问题: [code]Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/usr/local/xunsearch/sdk/php/lib/XS.php) is not within the allowed path(s): (/home/wwwroot/mesh:/tmp) in /home/wwwroot/mesh/public_html/so/searc...
...both [goods_sn] index = both tokenizer = full 2. 导入相关数据 require_once '/usr/local/xunsearch/sdk/php/lib/XS.php'; $xs = new XS('goods'); $data = array( 'goods_id' => 112, 'goods_name' => 'hello my goodsname', 'goods_sn' => 'RX8899-114' ); $doc = new XS...
... 实际上有3428条,有许多相关数据,就是搜不到。 require_once '/usr/local/xunsearch/sdk/php/lib/XS.php'; $xs = new XS('zl'); $index = $xs->index; $doc = new XSDocument; $conn=mysql_connect("localhost", "root", "111111") or die("Could not connect: " . mysql_error()); m...
... echo '500'; } 删除 require_once($xsPath . '/XS.php'); try { $xs = new XS('projectname'); $index = $xs->index; $index->del($tid); ...