搜索

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

21.XSTokenizerScws::__construct

... 复合等级参数,默认不指定 源码: sdk/php/lib/XSTokenizer.class.php#L188 (显示) public function __construct($arg = null){ if (self::$_server === null) { $xs = XS::getLastXS(); if ($xs === null) { throw new XSException('An XS instance should be created ...

22.XS::restoreScheme

...eme() 方法 public void restoreScheme() 源码: sdk/php/lib/XS.class.php#L346 (显示) public function restoreScheme(){ if ($this->_scheme !== $this->_bindScheme) { $this->_scheme = $this->_bindScheme; if ($this->_search !== null) { $this->_search->markResetS...

23.XS::getDefaultCharset

... {return} string 默认字符集(已大写) 源码: sdk/php/lib/XS.class.php#L387 (显示) public function getDefaultCharset(){ return isset($this->_config['project.default_charset']) ? strtoupper($this->_config['project.default_charset']) : 'UTF-8';} 获取项目的默认...

24.XS::setScheme

...FieldScheme 一个有效的字段方案对象 源码: sdk/php/lib/XS.class.php#L334 (显示) public function setScheme(XSFieldScheme $fs){ $fs->checkValid(true); $this->_scheme = $fs; if ($this->_search !== null) { $this->_search->markResetScheme(); }} 设置当前在...

25.XS::__destruct

__destruct() 方法 public void __destruct() 源码: sdk/php/lib/XS.class.php#L304 (显示) public function __destruct(){ $this->_index = null; $this->_search = null;} 析构函数 由于对象交叉引用, 如需提前销毁对象, 请强制调用该函数

26.XS::getScwsServer

...ver() {return} XSServer 分词服务器 源码: sdk/php/lib/XS.class.php#L467 (显示) public function getScwsServer(){ if ($this->_scws === null) { $conn = isset($this->_config['server.search']) ? $this->_config['server.search'] : 8384; $this->_scws = new XSServer($con...

27.XSServer::__construct

... $xs XS 需要捆绑的 xs 对象 源码: sdk/php/lib/XSServer.class.php#L143 (显示) public function __construct($conn = null, $xs = null){ $this->xs = $xs; if ($conn !== null) { $this->open($conn); }} 构造函数, 打开连接

28.XS::getField

... {return} XSFieldMeta 字段元数据对象 源码: sdk/php/lib/XS.class.php#L514 (显示) public function getField($name, $throw = true){ return $this->_scheme->getField($name, $throw);} 获取项目字段元数据

29.XSIndex 索引管理

XSIndex 索引管理 通过 [XSIndex] 对象实现索引数据库的增、删、改等相关操作。实现使用过程中并不需要 自行创建该对象,而是直接访问 [XS::index] 即可。 ~~~ [php] require '$prefix/sdk/php/lib/XS.php'; $xs = new XS('demo'); $index = $xs...

30.XSFieldMeta::getCustomTokenizer

...前字段的自定义词法分析器 源码: sdk/php/lib/XSFieldScheme.class.php#L414 (显示) public function getCustomTokenizer(){ if (isset(self::$_tokenizers[$this->tokenizer])) { return self::$_tokenizers[$this->tokenizer]; } else { if (($pos1 = strpos($this->tokenizer,...

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