XS Object ( [_index:private] => [_search:private] => [_scws:private] => [_scheme:private] => XSFieldScheme Object ( [_fields:private] => Array ( [newsid] => XSFieldMeta Object ( [name] => newsid [cutlen] => 0 [weight] => 1 [type] => 10 [vno] => 0 [tokenizer:private] => full [flag:private] => 1 )...
...,感谢hightman提供如此高效的搜索解决方案[/b] 约定xunsearch安装路径为/usr/local/xunsearch 所有配置文件和http://www.xunsearch.com/doc/php/guide/ini.guide保持一致 搜索配置文件,sample.ini [code]project.name = sample project.default_charset = GBK ;serve...
...上已经安装成功了,并且用生成骨架的运行了下,生成的search.php可以用。而在vps上安装成功(用的全是默认路径,即:/usr/local/xunsearch,导入数据成功,在命令行下也能够搜索(虽然是乱码)。但是生成的骨架放在www/public_html下...
[b][XSErrorException] ../../usr/local/xunsearch/sdk/php/lib/XS.php(2213): stream_set_blocking(): supplied argument is not a valid stream resource(2)[/b] 代码: try { include '/usr/local/xunsearch/sdk/php/lib/XS.php'; $xs = new XS('demo'); $docs = $xs->search->search('15'); } catch (XSExceptio...
...://www.bigxu.com bigxu@foxmail.com # example : ./check.sh http://www.xunsearch.com/site/search?q=demo RE /data/www/xunsearch/bin/xs-ctl.sh /hom/bigxu/xu_restart.log > /dev/null 2>&1 & try_times=5 if [[ $1 == 'help' || $4'x' == 'x' ]] then echo "arg1 try:url,example http://www.xunse...
...0912 bytes exhausted (tried to allocate 1046898225 bytes) in /var/www/html/search/dict/xdb.class.php on line 638 我也碰到同樣的問題,換一台主機依舊有問題 謝謝 ,問題是 638 行 : $rec['value'] = fread($this->fd, $rec['vlen']); 不可能超過 1gb 我有看到 gen_dict.c...
...吗? [/quote] 中间有一次debug故障,我调试了XS.php中的XSSearch类的search()方法,断电调试了while(true)中$res的变化,发现终止在了facets相关的处理上,把setFacets()的true改为false后恢复。 但是,这个修改并没有终止报错,修改之后...
[quote='KnightE' pid='449' dateline='1326794968'] [s]呵呵,观察了一天,“document xxxx not found”的问题看不到了[/s] 额,不是,还是有这个错误在log中:( [/quote] 那还会有错误吗?是search还是index的log?
...cated. ==30624== For counts 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) ...
1 安装xunsearch wget http://www.xunsearch.com/download/xunsearch-full-latest.tar.bz2 tar xjvf xunsearch-full-latest.tar.bz2 #目前是1.3.1 cd xunsearch-full-1.3.1/ sh setup.sh #默认装在/usr/local/xunsearch 2 启动xunsearch /usr/local/xunsearch/bin/xs-ctl.sh -b 对外ip(我是内网,用的...