搜索

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

81.XSDatabasePDO::query

... {return} mixed 源码: sdk/php/util/XSDataSource.class.php#L843 (显示) public function query($sql){ //echo "[DEBUG] SQL: $sql\n"; $res = $this->obj->query($sql); if ($res === false) { $info = $this->obj->errorInfo(); throw new XSException('SQLSTATE[' . $info[0] . ...

82.RE: 配置的时候端口8383错误

发布时间:2014-02-25 11:02 t By 情雨轩

... http://192.168.46.129:8383/和http://192.168.46.129:8384/ 输入的时候 显示 It works! [root@localhost xunsearch]# util/Indexer.php --source=csv --clean test [XSException] ../../../../usr/local/xunsearch/sdk/php/lib/XS.php(2448): Failed to recv the data from server completely (SIZE:0/8, REASO...

83.XSSearch::getCorrectedQuery

...搜索词组成的数组 源码: sdk/php/lib/XSSearch.class.php#L795 (显示) public function getCorrectedQuery($query = null){ $ret = array(); try { if ($query === null) { if ($this->_count > 0 && $this->_count > ceil($this->getDbTotal() * 0.001)) { retur...

84.RE: xunsearch-1.0.1 正式版 (基于xapian/scws/php的开源中文全文搜索引擎)

发布时间:2011-09-30 13:09 t By hightman

...htman: PHP-SDK: 修正 CHM 文档生成后仍有的少量乱码及图片不显示问题 * 09-26 12:40 320b9d5 hightman: 简单修正默认库不存在时的异常 bug * 09-26 11:29 77221d3 hightman: 强制先删除 api 文档再生成 * 09-26 11:26 b0afd72 hightman: PHP-SDK: 离线 HTML 格式文改...

85.XSIndex::beginRebuild

...象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L391 (显示) public function beginRebuild(){ $this->execCommand(array('cmd' => XS_CMD_INDEX_REBUILD, 'arg1' => 0), XS_CMD_OK_DB_REBUILD); $this->_rebuild = true; return $this;} 开始重建索引 此后所有的索引...

86.XSCommand::__toString

...务端交互的字符串 源码: sdk/php/lib/XSServer.class.php#L83 (显示) public function __toString(){ if (strlen($this->buf1) > 0xff) { $this->buf1 = substr($this->buf1, 0, 0xff); } return pack('CCCCI', $this->cmd, $this->arg1, $this->arg2, strlen($this->buf1), strlen($this...

87.XSTokenizerScws::hasWord

...指定词性的词汇 源码: sdk/php/lib/XSTokenizer.class.php#L382 (显示) public function hasWord($text, $xattr){ $text = $this->applySetting($text); $cmd = new XSCommand(XS_CMD_SEARCH_SCWS_GET, XS_CMD_SCWS_HAS_WORD, 0, $text, $xattr); $res = self::$_server->execCommand($cmd, XS_CM...

88.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 before using ' . ...

89.XSSearch::setDocOrder

...身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L317 (显示) public function setDocOrder($asc = false){ $type = XS_CMD_SORT_TYPE_DOCID | ($asc ? XS_CMD_SORT_FLAG_ASCENDING : 0); $cmd = new XSCommand(XS_CMD_SEARCH_SET_SORT, $type); $this->execCommand($cmd); return $t...

90.XSTokenizerScws::setMulti

...以支持串接操作 源码: sdk/php/lib/XSTokenizer.class.php#L270 (显示) public function setMulti($mode = 3){ $mode = intval($mode) & self::MULTI_MASK; $this->_setting['multi'] = new XSCommand(XS_CMD_SEARCH_SCWS_SET, XS_CMD_SCWS_SET_MULTI, $mode); return $this;} 设置复合...

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