...面搜索仅针对字段值较短的情况,当字段值的长度超过 **255** 字节时会被忽略而不参与统计。 > > 每次搜索最多同时支持 **8** 个字段进行分面搜索,分面字段必须是“字符串”类型。 [1]: http://cdc.tencent.com/?p=1401 $Id$
... (Child exited) @ 0 (0) --- wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 255}], WNOHANG|WSTOPPED, NULL) = 24908 fcntl(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0 [root@www ~]# strace -p 24930 attach: ptrace(PTRACE_ATTACH, ...): No such process [root@www ~]# strace -p 2493...
...; } if ($from !== null || $to !== null) { if (strlen($from) > 255 || strlen($to) > 255) { throw new XSException('Value of range is too long'); } $vno = $this->xs->getField($field)->vno; $from = XS::convert($from, 'UTF-8', $this->_charset); $to = XS...
... int 字段类型 XSFieldMeta vno int 字段序号 取值为 0~255, 同一字段方案内不能重复, 由 XSFieldScheme::addField 进行确定 XSFieldMeta weight int 混合区检索时的相对权重 取值范围: 1~63, title 类型的字段默认为 5, 其它字段默认为 1...
...#L284 (显示) public function __construct($file){ if (strlen($file) < 255 && !is_file($file)) { $appRoot = getenv('XS_APP_ROOT'); if ($appRoot === false) { $appRoot = defined('XS_APP_ROOT') ? XS_APP_ROOT : XS_LIB_ROOT . '/../app'; } $file2 = $appRoot . '/'...
...ng 词条所属字段名称 $term string 词条内容, 不超过 255字节 $weight int 词重, 默认为 1 源码: sdk/php/lib/XSDocument.class.php#L236 (显示) public function addTerm($field, $term, $weight = 1){ $field = strval($field); if (!is_array($this->_terms)) {...
... string 项目在服务器上的目录路径, 可选参数(不得超过255字节). 源码: sdk/php/lib/XSServer.class.php#L251 (显示) public function setProject($name, $home = ''){ if ($name !== $this->_project) { $cmd = array('cmd' => XS_CMD_USE, 'buf' => $name, 'buf1' => $home...
...blic function addExdata($data, $check_file = true){ if (strlen($data) < 255 && $check_file && file_exists($data) && ($data = file_get_contents($data)) === false) { throw new XSException('Failed to read exdata from file'); } // try to check allowed (BUG: check the first cmd...