在win下,开发 XSException::getRelPath() 返回的地址 ../../../../../ 无法确认出错的文件 建议修改成 [php] public static function getRelPath($file) { $from = getcwd(); $file = realpath($file); if (is_dir($file)) { $pos = false;...
Please specify the installation directory 请指定安装目录 (默认为中括号内的值) [/root/xunsearch]:/usr/local/xunsearch Confirm the installation directory 请确认安装目录:/usr/local/xunsearch [Y/n]y Checking scws ... 1.2.3-dev Checking scws dict ... ok Checking libuui...
copyDir() 方法 public static void copyDir($src, $dst) $src $dst 源码: sdk/php/util/XSUtil.class.php#L194 (显示) public static function copyDir($src, $dst){ if (!($dir = @dir($src)) || (!is_dir($dst) && !@mkdir($dst, 0755, true))) { return false; } ...
安装过程出错,下面是setup.log checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes chec...
./.libs/libflintcheck.a(flint_check.o)(.text+0x1144): In function `BtreeCheck::check(char const*, std::basic_string const&, int, std::basic_ostream&)': : undefined reference to `FlintTable::~FlintTable()' ./.libs/libflintcheck.a(flint_check.o)(.text+0x12a0): In function `BtreeCheck::check(char con...
@highman, 我的xunsearch还是持续的挂掉。。今天早上出现99.9% cpu使用率,,我们看了log, 发现有个coredump log, 发现生成不了,这个有没有影响? May 21 23:24:58 li414-60 abrt[15087]: saved core dump of pid 15073 (/usr/local/xunsearch/bin/xs-searchd) to /var/...
昨晚9点左右又出现xs-searchd cpu 99.9%情况,导致服务器宕机。。 有没有什么解决方案可以避免? [quote='tendyming' pid='4080' dateline='1369446976'] @highman, 我的xunsearch还是持续的挂掉。。今天早上出现99.9% cpu使用率,,我们看了log, 发...
我已经安装了GCC 和 G++ c++怎么出现这儿提示? Confirm the installation directory 请确认安装目录:/usr/local/xunsearch [Y/n]y Checking scws ... 1.1.8 Checking scws dict ... ok Checking libuuid ... yes: /usr Checking xapian-core-scws ... no Installing xapian-core-scw...
getCustomTokenizer() 方法 public XSTokenizer getCustomTokenizer() {return} XSTokenizer 获取当前字段的自定义词法分析器 源码: sdk/php/lib/XSFieldScheme.class.php#L414 (显示) public function getCustomTokenizer(){ if (isset(self::$_tokenizers[$this->tokenizer]...
错误信息如下 gcc -Wl,--base-file,.libs/cygscws-1.dll-base -Wl,-e,__cygwin_dll_entry@12 -o .libs/cygscws-1.dll charset.lo crc32.lo pool.lo scws.lo xdict.lo darray.lo rule.lo lock.lo xdb.lo xtree.lo /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../libcygwin.a(libcmain.o):(.text+0xa9): undefined re...