[root@localhost ~]# /data/server/php/bin/php /data/web/sftest/php/util/Indexer.php --rebuild --source=mysql://root:123456@localhost/test --sql="SELECT * FROM documents" --project=demo 开始重建索引 ... 初始化数据源 ... mysql://root:123456@localhost/test [XSException] [color=#FF0000]...
...roject.name = discuz project.default_charset = GBK ;服务端用默认值 ;server.index = 8383 ;server.search = 8384 [pid] type = id [fid] index = self tokenizer = full [tid] [first] index = self tokenizer = full [author] index = both [authorid] [subject] type = title [message] type = body ...
...oject.name = go project.default_charset = utf-8 ;服务端用默认值 ;server.index = 8383 ;server.search = 8384 [did] type = id [title] type = title [tag] index = self [content] type = body[/code] 其中did为hdwiki每个词条唯一的编号(这个与url对应) title...
... scheme XSFieldScheme 获取当前在用的字段方案 XS scwsServer XSServer 创建 scws 分词连接 XS search XSSearch 获取搜索操作对象 XS Public 方法 隐去继承来的方法 名称描述定义于 __construct() 构造函数 XS ...
..../usr/local/xunsearch/sdk/php/lib/XS.php(1906): Failed to send the data to server completely (SIZE:8192/15664, REASON:unknown) #0 /usr/local/xunsearch/sdk/php/lib/XS.php(1851): XSServer->write('????????25?????...') #1 /usr/local/xunsearch/sdk/php/lib/XS.php(1058): XSServer->execCommand(Object(XS...
...资源很大。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-se...
...据) ... [XSException] ../lib/XS.php(1971): Failed to recv the data from server completely (SIZE:0/8, REASON:closed) #0 ../lib/XS.php(1911): XSServer->read(8) #1 ../lib/XS.php(1896): XSServer->getRespond() #2 ../lib/XS.php(1880): XSServer->execCommand(Array, 208) #3 Indexer.php(180): XSServer->...
...xuns...', 2210, Array) #1 /usr/local/xunsearch/sdk/php/lib/XS.php(2030): XSServer->connect(NULL, true) #2 /usr/local/xunsearch/sdk/php/lib/XS.php(2016): XSServer->open() #3 /usr/local/xunsearch/sdk/php/lib/XS.php(344): XSServer->__construct('8383') #4 /usr/local/xunsearch/sdk/php/lib/XS.php(251): XS...
connect() 方法 protected void connect() 源码: sdk/php/lib/XSServer.class.php#L452 (显示) protected function connect(){ // connect to server $conn = $this->_conn; if (is_int($conn) || is_numeric($conn)) { $host = 'localhost'; $port = intval($conn); } elseif...
...业功能。 [attachment=42] 某次扛压实验结果: ---------- SERVER INFO BEGIN ---------- { id:worker3, uptime:3623, num_burst:1, max_burst:132, num_accept:194989(53.8/s), num_task:1083121(299.0/s), sock:7, name:"demo", home:"data/demo", rcv_size:8, flag:0x0000, version:"1...