...调用:$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...
我在用 indexer.php 生成的索引的时候.... 由于目标机器积极拒绝,无法连接。 what. 看不明白..求解释~ windows 下的sdk D:\xampp\php>php.exe D:\xampp\htdocs\xunsearch-1.3.0\sdk\php\util\Indexer.php -- source=mysql://root:admin@localhost/linjulusrc2.0_db2 --sql="SELECT...
...的 sdk整个文件夹copy一份到了2上面 然后进入2里面的 sdk/php/app/xx.ini配置一下 (1里面也是xx.ini 但是没有设置server.index和server.search) project.name = xxxx project.chartset = UTF-8 server.index = x.x.x.160:8383 server.search = x.x.x.160:8384 使用 Index.php -p t...
... [/quote] 这是我的做测试的时候用的命令 [root@server67 php]# ps auxw | grep xs root 15274 0.0 0.0 4096 668 pts/0 S+ 16:09 0:00 grep xs root 21853 0.0 0.0 2184 652 ? S Sep17 0:04 xs-indexd: server root 21856 0.0 0.0 39536 1680 ? ...
...运行后Fatal error: Call to a member function add() on a non-object in c.php on line 14[hr] 另外 WARNING: no server[xs-indexd] is running (BIND:127.0.0.1:8383) INFO: re-starting server[xs-indexd] ... (BIND:127.0.0.1:8383) WARNING: no server[xs-searchd] is running (BIND:127.0.0.1:8384) INFO...
/usr/local/xunsearch/sdk/php/util/Indexer.php --rebulid --source=mysql://u:p@127.0.0.1/test --sql="SELECT movie_id,movie_name,movie_starring,movie_director,movie_description,movie_list_img_url,movie_insert_time FROM movie" --project=movie [XSException] ../../usr/local/xunsearch/sdk/php/lib/XS...
... [/quote] 这是我的做测试的时候用的命令 [root@server67 php]# ps auxw | grep xs root 15274 0.0 0.0 4096 668 pts/0 S+ 16:09 0:00 grep xs root 21853 0.0 0.0 2184 652 ? S Sep17 0:04 xs-indexd: server root 21856 0.0 0.0 39536 1680 ? ...
[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(...
[quote='hightman' pid='7' dateline='1315934809'] 您 的PHP版本?是否先运行 util/RequiredCheck.php 测试一下,看上去你的PHP似乎 不支持 __toString() [/quote] 谢谢您的回复,我把错误打出来了,大致是这样的一个错,不像是String的问题: [root@loc...
...大。xunsearch 版本:xs-searchd: xunsearch/1.4.7-dev (search server) [php] PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 28942 root 18 3 152m 28m 1852 S 174.6 0.2 61:51.25 xs-searchd 28940 root 18 3 152m 28m 1888 S 128.4 0.2 45:21.77 xs-searchd 28...