xunsearch 1.1.0 数据库mysql 字符集 utf8 配置文件如下 project.name = entry project.default_charset = UTF-8 server.index = 10.1.20.51:8383 server.search = 10.1.20.51:8384 [tblog_entry_id] type = id [content] type = string index = both [user_id] type = numeric index = s...
... 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(...
...$xs = new XS('entry'); $search = $xs->getSearch(); $search->setCharset('utf8'); $search->addRange('user_id',1,20000)->setLimit($page_num,($page-1)*$page_num)->setSort('post_time',true)->setQuery($q); print_r($search->query); $docs = $search->search(); print_r结果:Xapian::Query(波:(pos=...
.../quote] ini文件: project.name = pin_115_gjh project.default_charset = UTF-8 [id] type = id [name] type = title [create_time] type = numeric [enterprise_id] type = numeric [image_url] [img_type] [category] index = mixed [source] [source_icon_url] [from] type = numeric [buy_stat] type ...
...Xshell下中文乱码,所以在做第2步之前,得先把编码换成UTF8,这样才能显示中文。 执行安装脚本,根据提示进行操作,主要是输入 xunsearch 软件包的安装目录,强烈建议单独规划一个目录,而不是混到别的软件目录中。 cd xunse...
...Xshell下中文乱码,所以在做第2步之前,得先把编码换成UTF8,这样才能显示中文。 执行安装脚本,根据提示进行操作,主要是输入 xunsearch 软件包的安装目录,强烈建议单独规划一个目录,而不是混到别的软件目录中。 cd xunse...
...录里 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...