搜索

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

21.RE: 英文模糊搜索问题

发布时间:2013-07-31 15:07 t By homingway

...Document $doc=null){ $charset = is_object($doc) ? $doc->getCharset() : 'UTF-8'; $ret = array(); //如果词的总长度小于给定的长度,则直接返回该词 $strlen = mb_strlen($value,$charset); if($strlen length) { $ret[] = $value; return $ret; } $ret = array_me...

22.XSDatabasePDO_PgSQL

... XSDatabasePDO query1() 查询数据库首行 XSDatabase setUtf8() 将输出字符集设置为 UTF-8 XSDatabasePDO_PgSQL Protected 方法 隐去继承来的方法 名称描述定义于 makeDsn() 生成 Postgres DSN XSDatabasePDO_PgSQL 方法明细 ...

23.XSSearch::getQuery

...nge'), $res->buf); } return XS::convert($res->buf, $this->_charset, 'UTF-8');} 获取解析后的搜索语句

24.XSSearch

... $scale = 1){ $term = strtolower($term); $term = XS::convert($term, 'UTF-8', $this->_charset); $bscale = ($scale > 0 && $scale != 1) ? pack('n', intval($scale * 100)) : ''; $vno = $field === null ? XSFieldScheme::MIXED_VNO : $this->xs->getField($field, true)->vno; $cmd = new XSCommand...

25.编写第一个配置文件

...dateline`), KEY `first` (`tid`,`first`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; ~~~ 搜索的设计与分析 -------------- 首先得搞明白我们要得到什么样的搜索效果,进行针对性的设计和分析才能确定需要哪些字段。在 这个案例中我们的需求是要对所...

26.不使用Indexer.php添加数据到xunsearch

更新时间:2012-12-21 20:12 t By Dull

... unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -- Dumping data for table `sample` -- [/code] 新建一个数据表,crontab: [code]-- -- Table structure for table `crontab` -- CREATE TABLE IF NOT EXISTS `crontab` ( `id` int(...

27.XSDatabaseDataSource

... public mixed getCharset() {return} mixed 如果数据库不支持 UTF-8 转换则返回 false 源码: sdk/php/util/XSDataSource.class.php#L138 (显示) public function getCharset(){ if ($this->db->setUtf8()) { return 'UTF-8'; } return parent::getCharset();} 返回...

28.XSDocument

...ion getIterator(){ if ($this->_charset !== null && $this->_charset !== 'UTF-8') { $from = $this->_meta === null ? $this->_charset : 'UTF-8'; $to = $this->_meta === null ? 'UTF-8' : $this->_charset; return new ArrayIterator(XS::convert($this->_data, $to, $from)); } retur...

29.Indexer 导入数据和 mysql查询结果不一致, why??

更新时间:2013-09-25 13:09 t By airowner

...ocal/xunsearch/sdk/php/util/Indexer.php --project=${project_ini} --charset=utf8 --source=${mysql} --sql="select group_concat(game_tag.tag__id) as tag__id,t.id as id from m as t left join game_tag on t.game__id = game_tag.game__id group by t.game__id" 初始化数据源 ... mysql://root@localhost/db...

30.使用讯搜搭建phpwind的全文检索

更新时间:2012-05-18 09:05 t By myoula

...录里 vi 项目名.ini project.name = 项目名 project.default_charset = UTF-8 server.index = 192.168.0.250:8383 server.search = 192.168.0.250:8384 [tid] type = id [fid] index = self tokenizer = full [author] [authorid] index = self tokenizer = full [postdate] tokenizer = full [subject] type...

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