...ject id #10 0 ../lib/XS.php(2246): XSServer->read(8) 1 ../lib/XS.php(2231): XSServer->getRespond() 2 ../lib/XS.php(2208): XSServer->execCommand(Array, 201) 3 ../lib/XS.php(2169): XSServer->setProject('cms_51cto') 4 ../lib/XS.php(1312): XSServer->open(8384) 5 ../lib/XS.php(2152): XSSearch->op...
...ject id #10 0 ../lib/XS.php(2246): XSServer->read(8) 1 ../lib/XS.php(2231): XSServer->getRespond() 2 ../lib/XS.php(2208): XSServer->execCommand(Array, 201) 3 ../lib/XS.php(2169): XSServer->setProject('cms_51cto') 4 ../lib/XS.php(1312): XSServer->open(8384) 5 ../lib/XS.php(2152): XSSearch->op...
...量重生机制 2. 升级整合最新的 xapian-1.2.14,更节省内存 3. 加强锁机制,完善线程池大压力下的死锁问题 4. 改进优化 yii-xunsearch 扩展,使之兼容性更好功能更强 5. 修改 XSTokenizerScws 以支持项目级自定义词典的 6. 自定义分词器...
... = log($tf); $idf = log(5000000000/$count); //if ($tf > 13) $idf *= 1.4; return array($tf, $idf); } 有几个问题: 1、当一个词在baidu搜索中找到小于1000篇文章包含该词时,为什么要重新计算count,“21000 - $count * 18” 其中21000是...
... = log($tf); $idf = log(5000000000/$count); //if ($tf > 13) $idf *= 1.4; return array($tf, $idf); } 有几个问题: 1、当一个词在baidu搜索中找到小于1000篇文章包含该词时,为什么要重新计算count,“21000 - $count * 18” 其中21000是...
...-xjf xunsearch-full-latest.tar.bz2 错误提示: Checking scws ... 1.2.3-dev Checking scws dict ... ok Checking libuuid ... yes: /etc/xunsearch Checking xapian-core-scws ... no Installing xapian-core-scws (1.2.15) ... Extracting xapian-core-scws package ... Configuring xapian-core-scws ... -----...
SCWS-1.2.2安装后运行自带的测试脚本scws_test.php报错了: SimpleCWS::set_dict(): Failed to set the dict file。 检查过多次完全按照说明安装的。服务器环境是ubuntu 12.04 nginx php5.3[hr] 权限问题,更改权限可以了!
...eft to right #define SCWS_MULTI_DUALITY 0x02000 // split every long words(3 chars?) to two chars #define SCWS_MULTI_ZMAIN 0x04000 // split to main single chinese char atr = j|a|n?|v? #define SCWS_MULTI_ZALL 0x08000 // attr = ** , all split to single chars #define SCWS_MULTI_MASK 0xff000 // ...
...b/ libscws.la libscws.so libscws.so.2.0 [quote='hightman' pid='3731' dateline='1285670179'] 请问你安装了 scws 主程序了吗? /usr/local/scws /usr/local/scws/lib/libscws.so 存在? 也就是 scws-1.1.3.tar.bz2 解压后应先在主目录下安装 scws,然后再进入 phpex...