...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->getIndex('8383...
... (res = cur = scws_get_result(s)) { while (cur != NULL) { printf("Word: %.*s/%s (IDF = %4.2f)\n", cur->len, text+cur->off, cur->attr, cur->idf); cur = cur->next; } scws_free_r...
...}}) = 0 epoll_ctl(1, EPOLL_CTL_ADD, 0, {EPOLLIN, {u32=0, u64=0}}) = 0 time(NULL) = 1329922500 epoll_wait(1, {{EPOLLIN, {u32=0, u64=0}}}, 32, 20000) = 1 clock_gettime(CLOCK_MONOTONIC, {223655, 160187730}) = 0 epoll_ctl(1, EPOLL_CTL_DEL, 0, {EPOLLIN, {u32=0, u64=0}}) = 0 a...
..._t tops) { scws_top_t cur; int len; int b; while ((cur = tops) != NULL) { tops = cur->next; if (cur->word) { OutputDebugStringA(cur->word);//能正常输出能容 len = strlen(cur->word);//长度都正确 b = ('\0'==cur->word[len+1]);//大部分b=1,但有时会出...
...(text)); while (res = cur = scws_get_result(s)) { while (cur != NULL) { printf("Word: %.*s/%s (IDF = %4.2f)\n", cur->len, text+cur->off, cur->attr, cur->idf); cur = cur->next; } scws_free_result(res); } scws_free(s); } [/php] 结果如下...
... if ($this->link) { sqlite_close($this->link); $this->link = null; }} 关闭数据库 connect() 方法 public void connect(array $param) $param array 连接参数, 包含: path 源码: sdk/php/util/XSDataSource.class.php#L699 (显示) public function conne...
...se(){ if ($this->obj) { $this->obj->close(); $this->obj = null; }} 关闭数据库 connect() 方法 public void connect(array $param) $param array 连接参数, 包含: path 源码: sdk/php/util/XSDataSource.class.php#L756 (显示) public function conne...
...start, zmap[i - 1].end - zmap[i - 1].start); if (r2 != NULL && r2->attr[0] == 'm') //前面是一个量词,跳过 continue; } ...
...struct() 方法 public void __construct(string $name, array $config=NULL) $name string 字段名称 $config array 可选参数, 初始化字段各项配置 源码: sdk/php/lib/XSFieldScheme.class.php#L298 (显示) public function __construct($name, $config = null){ $th...
...106] caught SIGINT, shutdown gracefully 2011-12-01 22:21:07 worker1[5106] NULL connection pointer received, server quit gracefully 2011-12-01 22:21:07 worker1[5106] event server end 2011-12-01 22:21:07 worker1[5106] deinit the thread pool 2011-12-01 22:21:07 worker2[5107] caught SIGINT, shutdown...