搜索

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

431.XSTokenizerScws::getTops

...组, 每个词汇是包含 [times:次数,attr:词性,word:词] 源码: sdk/php/lib/XSTokenizer.class.php#L361 (显示) public function getTops($text, $limit = 10, $xattr = ''){ $words = array(); $text = $this->applySetting($text); $cmd = new XSCommand(XS_CMD_SEARCH_SCWS_GET, XS_CMD_SCW...

432.SQL 导入错误,请问管理同学 sql 导入不支持 DATE_FORMAT(a.inputtime , '%Y%m%d' ) 函数??

更新时间:2012-03-19 23:03 t By a7262619

...n.ini[/php] 注意:自动忽略无效的过滤器 [/usr/local/xunsearch/sdk/php/util/filter.php] 初始化数据源 ... mysql://xxx@localhost/phpcms [XSException] ../usr/local/xunsearch/sdk/php/util/XSDataSource.class.php(794): SQLSTATE[42000] [1064] You have an error in your SQL syntax; check ...

433.XSSearch::getAllSynonyms

...数组, 每个词条为键, 同义词条组成的数组为值 源码: sdk/php/lib/XSSearch.class.php#L164 (显示) public function getAllSynonyms($limit = 0, $offset = 0, $stemmed = false){ $page = $limit > 0 ? pack('II', intval($offset), intval($limit)) : ''; $cmd = array('cmd' => XS_CMD...

434.xunsearch-1.4.7 (基于 xapian+scws 的开源中文搜索引擎,诸多细节改进)

发布时间:2013-07-30 11:07 t By hightman

...本,请使用 --help 查看 2. 采用 Yii2 的代码标准格式化 php-sdk 代码 3. 改进搜索结果排序支持更复杂排序,参见 XSSearch::setSort 4. util.Indexer 加入 PgSQL 数据源支持 5. 新增支持搜索按匹配百分比/权重剔除,参见 XSSearch::setCutOff 6. 改...

435.XSSearch::getCorrectedQuery

...中文 {return} array 返回搜索词组成的数组 源码: 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->getDbTota...

436.XSSearch::addQueryTerm

... {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L968 (显示) public function addQueryTerm($field, $term, $addOp = XS_CMD_QUERY_OP_AND, $scale = 1){ $term = strtolower($term); $term = XS::convert($term, 'UTF-8', $this->_charset); $b...

437.XSSearch::addQueryString

...0.xx ~ 655.35 {return} string 修正后的搜索语句 源码: sdk/php/lib/XSSearch.class.php#L949 (显示) public function addQueryString($query, $addOp = XS_CMD_QUERY_OP_AND, $scale = 1){ $query = $this->preQueryString($query); $bscale = ($scale > 0 && $scale != 1) ? pack('n', i...

438.XSSearch::setFacets

... {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L401 (显示) public function setFacets($field, $exact = false){ $buf = ''; if (!is_array($field)) { $field = array($field); } foreach ($field as $name) { $ff = $this-...

439.XSTokenizerScws::__construct

...NULL) $arg string 复合等级参数,默认不指定 源码: 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 ins...

440.XS::convert

...换前的字符集 {return} mixed 转换后的数据 源码: sdk/php/lib/XS.class.php#L550 (显示) public static function convert($data, $to, $from){ // need not convert if ($to == $from) { return $data; } // array traverse if (is_array($data)) { foreach ($...

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