搜索

大约有 149 项符合查询结果, 库内数据总量为 3,513 项。 (搜索耗时:0.4904秒)

141.XSSearch

... 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::convert($to, 'UTF-8', $this->_charset); ...

142.XSDataSource

...($type2)) . 'DataSource'; if (!class_exists($class)) { throw new XSException("Undefined data source type: `$type2'"); } return new $class($type, $arg);} 取得数据源对象实例

143.XSIndex::update

...y = $doc->f($fid); if ($key === null || $key === '') { throw new XSException('Missing value of primary key (FIELD:' . $fid . ')'); } // request cmd $cmd = new XSCommand(XS_CMD_INDEX_REQUEST, XS_CMD_INDEX_REQUEST_ADD); if ($add !== true) { $cmd->arg1 = XS_CMD_INDEX_REQUES...

144.XS

...nv($from, $to . '//TRANSLIT', $data); } else { throw new XSException('Cann\'t find the mbstring or iconv extension to convert encoding'); } } return $data;} 字符集转换 要求安装有 mbstring, iconv 中的一种 getAllFields() 方法 public XSFieldM...

145.XSDocument

...ame])) { return $this->_meta[$name]; } } throw new XSException('Call to undefined method `' . get_class($this) . '::' . $name . '()\'');} 魔术方法 __call 实现以函数调用访问搜索结果元数据, 支持: docid, rank, percent, weight, ccount __construct() ...

146.XSFieldMeta

... } if (!class_exists($name)) { throw new XSException('Undefined custom tokenizer `' . $this->tokenizer . '\' for field `' . $this->name . '\''); } } $obj = $arg === null ? new $name : new $name($arg); if (!$obj instanceof XSTokenizer)...

147.search进程压力好大

更新时间:2013-06-19 22:06 t By hpxl

...pxl@debian:~/test$ php sdk/php/util/Quest.php goods id:3122 --show-query [XSException] sdk/php/lib/XS.php(2455): Failed to recv the data from server completely (SIZE:0/8, REASON:timeout) #0 sdk/php/lib/XS.php(2395): XSServer->read(8) #1 sdk/php/lib/XS.php(2380): XSServer->getRespond() #2 sdk/php...

148.XSTokenizerScws

... $xs = XS::getLastXS(); if ($xs === null) { throw new XSException('An XS instance should be created before using ' . __CLASS__); } self::$_server = $xs->getScwsServer(); self::$_server->setTimeout(0); self::$_charset = $xs->getDefaultCharset(); ...

149.Xunsearch SDK for PHP

...源码压缩包,然后引入入口文件即可。 出现异常则抛出 \XSException 异常实例。 Composer 支持 -------------- 自 v1.4.9 起,通过 subtree 功能将 xs-sdk-php 分离成为一个只读的子仓库, 以支持通过 [composer](https://getcomposer.org) 安装。我们的...

  • 时间不限
  • 按相关性排序