...arch/sdk/php/lib/XS.php(2207): stream_set_blocking(): supplied argument is not a valid stream resource(2) thrown in /home/wwwroot/xunsearch/sdk/php/lib/XS.php on line 504 刚接触xunsearch,还请高手多多指教
...始化数据源 ... csv [XSException] /XSDataSource.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} 请教...
...ql [code]-- -- Table structure for table `sample` -- CREATE TABLE IF NOT EXISTS `sample` ( `id` int(12) unsigned NOT NULL AUTO_INCREMENT, `subject` varchar(1024) NOT NULL, `message` text NOT NULL, `dateline` int(12) unsigned NOT NULL, `author` varchar(1024) NOT NULL, `authori...
可能是你没有开启监听服务,你先查下 8383或者8384 端口的状态(查询命令: netstat -an |grep 8383),如果没有输出信息,你可以试着对照你本机环境运行下面的命令(先切换到你本机xunsearch的安装目录下): bin/xs-ctl.sh -b local start...
...\hightman\scws_xdb\xdb.class.php on line 612 Warning: unpack(): Type I: not enough input, need 4, have 0 in F:\hightman\scws_xdb\xdb.class.php on line 613 Warning: fread(): Length parameter must be greater than 0 in F:\hightman\scws_xdb\xdb.class.php on line 638 Warning: fread(): Length par...
... of detected errors, rerun with: -v ==30624== searching for pointers to 3 not-freed blocks. ==30624== checked 67,208 bytes. ==30624== ==30624== 6 bytes in 3 blocks are definitely lost in loss record 1 of 1 ==30624== at 0x401D38B: malloc (vg_replace_malloc.c:149) ==30624== by 0x804A6F3: ...
... 2011-12-23 22:23:23 worker3[23507] [sock:7] xapian ERROR: Document 143848 not found 2011-12-23 22:23:23 worker3[23507] [sock:7] end the task from thread pool (RC:133, CONN:0x7eff1c0008c0) 2011-12-23 22:23:23 worker3[23507] [sock:7] quit normally 2011-12-23 22:23:31 worker3[23507] new connection ...
....0022 秒。 [root@localhost bin]# 有意思 -bash: 有意思: command not found [root@localhost bin]# ./php /usr/local/lamp/xunsearch/sdk/php/util/Quest.php demo 有意思 在 3 条数据中,大约有 1 条包含 有意思 ,第 1-1 条,用时:0.0029 秒。 "很有"这个词搜不...
...下: [php]function checksys($str){ $syskey = array(' AND ',' OR ',' NOT ',' AND_NOT ',' XOR ',' NEAR ',' ADJ '); $str = str_replace($syskey,' ',' '.$str.' '); $ta = explode('.',trim($str).'.'); $i = 0; $str = ''; foreach($ta as $t){ if(is_string($t) && strlen($t)>1 && is_string($ta...
...orException] lib/XS.php(2210): stream_set_blocking(): supplied argument is not a valid stream resource(2) #0 /usr/local/xunsearch/sdk/php/lib/XS.php(2210): xs_error_handler(2, 'stream_set_bloc...', '/usr/local/xuns...', 2210, Array) #1 /usr/local/xunsearch/sdk/php/lib/XS.php(2030): XSServer->connect...