搜索

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

1.编写第一个配置文件

... `cdb_posts` -- CREATE TABLE `cdb_posts` ( `pid` int(10) unsigned NOT NULL auto_increment, `fid` smallint(6) unsigned NOT NULL default '0', `tid` mediumint(8) unsigned NOT NULL default '0', `first` tinyint(1) NOT NULL default '0', `author` varchar(15) NOT NULL default '', `authorid` med...

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

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

... -- CREATE TABLE IF NOT EXISTS `sample` ( `id` int(12) unsigned NOT NULL AUTO_INCREMENT, `subject` varchar(1024) NOT NULL, `message` text NOT NULL, `dateline` int(12) unsigned NOT NULL, `author` varchar(1024) NOT NULL, `authorid` int(12) unsigned NOT NULL, `tid` int(12) unsi...

3.Demo项目运行失败:[XSException] /XSDataSource.class.php(376): Can not open input file: ''

发布时间:2014-11-15 02:11 t By yanyun

...e->init() #1 XSDataSource.class.php(51): XSDataSource->__construct('csv', NULL) #2 Indexer.php(240): XSDataSource::instance('csv', NULL) #3 {main} 请教了!

4.XSIndex::update

... $fid = $this->xs->getFieldId(); $key = $doc->f($fid); if ($key === null || $key === '') { throw new XSException('Missing value of primary key (FIELD:' . $fid . ')'); } // request cmd $cmd = new XSCommand(XS_CMD_INDEX_REQUEST, XS_CMD_INDEX_REQUEST_ADD); if ($add !== true) {...

5.XSCsvDataSource

...deinit(){ if ($this->fd) { fclose($this->fd); $this->fd = null; }} getDataList() 方法 protected void getDataList() 源码: sdk/php/util/XSDataSource.class.php#L392 (显示) protected function getDataList(){ if (($item = fgetcsv($this->fd, 0, $this->delim)...

6.重启xunsearch

更新时间:2012-03-27 10:03 t By bigxu

...emo RE /data/www/xunsearch/bin/xs-ctl.sh /hom/bigxu/xu_restart.log > /dev/null 2>&1 & try_times=5 if [[ $1 == 'help' || $4'x' == 'x' ]] then echo "arg1 try:url,example http://www.xunsearch.com/site/search?q=demo " echo "arg2 res_content,example:RE (content of arg1 must include ar...

7.创建索引失败

更新时间:2012-12-18 15:12 t By HiLinz

...Array) #1 /usr/local/xunsearch/sdk/php/lib/XS.php(2030): XSServer->connect(NULL, true) #2 /usr/local/xunsearch/sdk/php/lib/XS.php(2016): XSServer->open() #3 /usr/local/xunsearch/sdk/php/lib/XS.php(344): XSServer->__construct('8383') #4 /usr/local/xunsearch/sdk/php/lib/XS.php(251): XS->getIndex('8383...

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

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

...你的phpwind数据库名 CREATE TABLE `mq` ( `mid` int(10) unsigned NOT NULL AUTO_INCREMENT, `tid` int(10) unsigned NOT NULL DEFAULT '0', `type` tinyint(1) unsigned zerofill NOT NULL DEFAULT '0', PRIMARY KEY (`mid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; #建立trigger 使用trigger来知...

9.XSJsonDataSource

...deinit(){ if ($this->fd) { fclose($this->fd); $this->fd = null; }} getDataList() 方法 protected void getDataList() 源码: sdk/php/util/XSDataSource.class.php#L295 (显示) protected function getDataList(){ // read line (check to timeout?) $line = ''; ...

10.XSFieldMeta::getCustomTokenizer

... $name = 'XSTokenizer' . ucfirst($this->tokenizer); $arg = null; } if (!class_exists($name)) { $file = $name . '.class.php'; if (file_exists($file)) { require_once $file; } else if (file_exists(XS_LIB_ROOT . DIRECTORY_SEPA...

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