...调用:$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] 这是我的做测试的时候用的命令 [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 ? ...
[quote='hightman' pid='7' dateline='1315934809'] 您 的PHP版本?是否先运行 util/RequiredCheck.php 测试一下,看上去你的PHP似乎 不支持 __toString() [/quote] 谢谢您的回复,我把错误打出来了,大致是这样的一个错,不像是String的问题: [root@loc...
... [/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 ? ...
我在用 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...
...运行后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...
...大。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...
/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...
...art Starting XAMPP for Linux 1.7.7... XAMPP: Starting Apache with SSL (and PHP5)... XAMPP: Starting MySQL... XAMPP: Starting ProFTPD... XAMPP for Linux started. [root@sm xunsearch]# ./bin/xs-ctl.sh restart INFO: stopping server[xs-indexd] (BIND:127.0.0.1:8383) .... [OK] INFO: re-starting server[xs-i...
...dex getIndex() {return} XSIndex 索引操作对象 源码: sdk/php/lib/XS.class.php#L406 (显示) public function getIndex(){ if ($this->_index === null) { $adds = array(); $conn = isset($this->_config['server.index']) ? $this->_config['server.index'] : 8383; if ...