...计算缩放比例, 默认为 1表示不缩放, 其它值范围 0.xx ~ 655.35 {return} string 修正后的搜索语句 源码: sdk/php/lib/XSSearch.class.php#L949 (显示) public function addQueryString($query, $addOp = XS_CMD_QUERY_OP_AND, $scale = 1){ $query = $this->preQueryString...
...rce.class.php(376): Can not open input file: '' #0 XSDataSource.class.php(35): XSCsvDataSource->init() #1 XSDataSource.class.php(51): XSDataSource->__construct('csv', NULL) #2 Indexer.php(240): XSDataSource::instance('csv', NULL) #3 {main} 请教了!
...内存不仅占用了比较多的内存,而且也需要一定的时间(35万条数据约需要0.3~0.5秒左右)。[/quote] 上文中daemon server(linux后台程序)和embed(库的形式嵌入程序中)有什么区别呢? daemon server指的是这个后台程序使用了scws库,且主要...
...2014-04-25 11:10:46 worker12[30041] INFO [sock:7] task end (RC:133, CONN:0x35f71f0) 2014-04-25 11:10:46 worker12[30041] INFO [sock:7] quit, normally
...回的数据就不相同了,可能第1页50个,第2个42个,第3页35个..... 3个人纠结半天了,无解,不知可有人指点?
...正工具脚本的非 UTF-8 时的问题 * 2011-09-21 17:44:16 +0800 c6f835b hightman: PHP-SDK: 修正非UTF-8搜索语句预处理时正则修正 * 2011-09-21 12:35:38 +0800 a74630d hightman: PHP-SKD: 再次优化纠错、相关搜索语句净化算法 * 2011-09-21 11:45:55 +0800 4fbb329 hightman: ...
[quote='seanliu' pid='1661' dateline='1355902543'] 正在为一个案例纠结: 有两张表: 搭配表: //collocation col_id //搭配ID col_title //搭配标题 col_text //搭配说明 商品表: //items item_id //商品ID item_title //商品标题 item_text //商品说明 i...
...5-23 09:57:15 worker2[21983] new connection (SOCK:155, IP:127.0.0.1, BURST:35) 2012-05-23 09:57:15 worker2[21983] new connection (SOCK:179, IP:127.0.0.1, BURST:36) 2012-05-23 09:57:15 worker2[21983] [sock:179] add new task (CONN:0xaf8f9a0, SPARE:0, TOTAL:32) 2012-05-23 09:57:16 worker2[21983] new co...
...[len] => 2 [idf] => 0 [attr] => un ) [2] => Array ( [word] => █ [off] => 35 [len] => 2 [idf] => 0 [attr] => un ) ) Array ( [0] => Array ( [word] => , [off] => 37 [len] => 1 [idf] => 0 [attr] => un ) ) Array ( [0] => Array ( [word] => 鎴 [off] => 38 [len] => 2 [idf] => 0 [attr] => un ) [1] => Arra...
...[len] => 2 [idf] => 0 [attr] => un ) [2] => Array ( [word] => █ [off] => 35 [len] => 2 [idf] => 0 [attr] => un ) ) Array ( [0] => Array ( [word] => , [off] => 37 [len] => 1 [idf] => 0 [attr] => un ) ) Array ( [0] => Array ( [word] => 鎴 [off] => 38 [len] => 2 [idf] => 0 [attr] => un ) [1] => Arra...