...调用:$xs = new XS('demo');时出错如下: [XSErrorException] lib/XS.php(2210): stream_set_blocking(): supplied argument is not a valid stream resource(2) #0 /usr/local/xunsearch/sdk/php/lib/XS.php(2210): xs_error_handler(2, 'stream_set_bloc...', '/usr/local/xuns...', 2210, Array) #1 /usr/loca...
[quote='hightman' pid='7' dateline='1315934809'] 您 的PHP版本?是否先运行 util/RequiredCheck.php 测试一下,看上去你的PHP似乎 不支持 __toString() [/quote] 谢谢您的回复,我把错误打出来了,大致是这样的一个错,不像是String的问题: [root@loc...
[root@VM71 php]# util/Indexer.php --source=csv --clean demo Object id #9 #0 lib/XS.php(2080): XSServer->read(8) #1 lib/XS.php(2065): XSServer->getRespond() #2 lib/XS.php(2042): XSServer->execCommand(Array, 201) #3 lib/XS.php(2003): XSServer->setProject('demo') #4 lib/XS.php(...
...o项目,搜索的时候显示: 错误:Object id #9 打印出search.php捕获到的异常,显示 [XSException] ../../../../../usr/local/xunsearch/sdk/php/lib/XS.php(2165): Failed to recv the data from server completely (SIZE:0/8, REASON:closed) #0 /usr/local/xunsearch/sdk/php/lib/XS.php...
确认问题是出在包含xs.php那段代码里。 使用自动生成的搜索骨架代码,访问search.php出现页面载入出错 。连接被重置 载入页面时到服务器的连接被重置。 // 加载 XS 入口文件 require_once '/home/who/xunsearch/sdk/php/lib/XS.php'; 这段包...
...以后,返回什么结果是正确的结果呢 /usr/local/xunsearch/sdk/php/util/Quest.php -p demo -c gbk -q 桌面 --limit=2 返回 Object id #10 0 ../lib/XS.php(2246): XSServer->read(8) 1 ../lib/XS.php(2231): XSServer->getRespond() 2 ../lib/XS.php(2208): XSServer->execCommand(Array, 201) 3...
...以后,返回什么结果是正确的结果呢 /usr/local/xunsearch/sdk/php/util/Quest.php -p demo -c gbk -q 桌面 --limit=2 返回 Object id #10 0 ../lib/XS.php(2246): XSServer->read(8) 1 ../lib/XS.php(2231): XSServer->getRespond() 2 ../lib/XS.php(2208): XSServer->execCommand(Array, 201) 3...
...确定就把ini文件的路径打全! [/quote] 我是这样弄的 php的 safe_mode=On safe_mode_include_dir = /usr/local/xunsearch/sdk/php/lib/ 这样require './XS.php'; 会报错 Fatal error: require() [function.require]: Failed opening required './XS.php' (include_path='.:/www/wdlinux/...
...-8 server.index = 8383 server.search = 8384 当我执行 util/Indexer.php --source=csv --clean test 时候提示下面错误 求解 [XSException] ../../../../usr/local/xunsearch/sdk/php/lib/XS.php(2448): Failed to recv the data from server completely (SIZE:0/8, REASON:closed) #0 /usr/local/...
...入的时候 显示 It works! [root@localhost xunsearch]# util/Indexer.php --source=csv --clean test [XSException] ../../../../usr/local/xunsearch/sdk/php/lib/XS.php(2448): Failed to recv the data from server completely (SIZE:0/8, REASON:closed) #0 /usr/local/xunsearch/sdk/php/lib/XS.php(2385): XS...