不知你有没有注意到 configure 的结果里,总是显示 checking if zts is enabled... no 问题应该是在这儿 我这儿的FREEBSD,LINUX都是正常的,PHP 4.4.X和PHP5.2.X都测试过~ 查看一下 /usr/local/php/include/php/main/php_config.php 里面是否有 #define ZTS 1 ...
...搜索词组成的数组 源码: sdk/php/lib/XSSearch.class.php#L755 (显示) public function getExpandedQuery($query, $limit = 10){ $ret = array(); $limit = max(1, min(20, intval($limit))); try { $buf = XS::convert($query, 'UTF-8', $this->_charset); $cmd = array('cmd' =>...
...d void getDataList() 源码: sdk/php/util/XSDataSource.class.php#L295 (显示) protected function getDataList(){ // read line (check to timeout?) $line = ''; while (true) { $buf = fgets($this->fd, 8192); if ($buf === false || strlen($buf) === 0) { break; ...
找了下log, indexd.log显示如下信息: 2014-09-01 10:42:01 indexd[17203] ALERT server start (BIND:) 2014-09-01 10:42:01 indexd[17203] NOTICE event loop start (EVENT:0x0002, FLAG:0x0004) 2014-09-01 10:42:12 indexd[17203] ALERT caught SIGINT, shutdown gracefully 2014-09-01 10:42:...
...身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L349 (显示) public function addRange($field, $from, $to){ if ($from === '' || $from === false) { $from = null; } if ($to === '' || $to === false) { $to = null; } if ($from !== null || $to !== null) { ...
...看到。”小倩的父亲说,前一天他曾经给孩子充话费,却显示已欠费1000多元,他将这个情况告诉警方,但警方没有采纳,“现在对孩子出事的情况还是一无所知”。 25日上午,东湖派出所再次通知相关人员召开情况通报...
...义词法分析器 源码: sdk/php/lib/XSFieldScheme.class.php#L414 (显示) public function getCustomTokenizer(){ if (isset(self::$_tokenizers[$this->tokenizer])) { return self::$_tokenizers[$this->tokenizer]; } else { if (($pos1 = strpos($this->tokenizer, '(')) !== false ...
...2.x 准确: 95%, 召回: 91%, 速度: 40KB/sec 在PHP里面运行后:显示 我|是|一|个|中|国|人|Array ( [0] => Array ( [word] => 我 [off] => 0 [len] => 3 [idf] => 0 [attr] => un ) [1] => Array ( [word] => 是 [off] => 3 [len] => 3 [idf] => 0 [attr] => un ) [2] => Array ( [word] => ...
...象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L253 (显示) public function addExdata($data, $check_file = true){ if (strlen($data) < 255 && $check_file && file_exists($data) && ($data = file_get_contents($data)) === false) { throw new XSException('Failed t...
... http://192.168.46.129:8383/和http://192.168.46.129:8384/ 输入的时候 显示 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, REASO...