...增的词汇才能生效。 [url]http://www.xunsearch.com/doc/php/guide/index.dict[/url] 3. 其它一些 PHP-SDK 工具和 API的修改: XSIndex 对象的各个方法也直接返回对象本身,以支持串接操作。 util.Quest 增加了 --show-query 功能用于查看解析后...
[root@localhost xunsearch]# util/Indexer.php --source=test.csv --clean demo 清空现有索引数据 ... 初始化数据源 ... test.csv [XSException] util/XSDataSource.class.php(49): Undefined data source type: `test.csv' #0 Indexer.php(241): XSDataSource::instance('test.csv', NULL) #1 {main}...
...项目 project.name = product project.default_charset = utf-8 ;server.index = 8383 ;server.search = 8384 [id] type = id [p_id] [p_name] type = title [p_bn_id 然后用 # 导入 MySQL 数据库的 dbname.tbl_post 表到 demo 项目中,并且平滑重建 util/Indexer.php -...
Notice: Undefined index: part in C:\Users\Administrator\Desktop\tool\dev\make_xd b_file.php on line 92 PHP Notice: Undefined index: part in C:\Users\Administrator\Desktop\tool\dev\ma ke_xdb_file.php on line 92 Notice: Use of undefined constant key - assumed 'key' in C:\Users\Administrato Des...
找了下log, indexd.log显示如下信息: 2014-09-01 10:42:01 indexd[17203] ALERT server start (BIND:) 2014-09-01 10:42:01 indexd[17203] NOTICE event loop start (EVENT:0x0002, FLAG:0x0004) 2014-09-01 10:42:12 indexd[17203] ALERT caught SIGINT, shutdown gracefully 2014-09-01 10:42:...
...struct xdb_tree_node* next; } xdb_tree_list, *xdb_tree_plist; int travel_index = -1; xdb_tree_plist _xdb_tree_plist = NULL; void _xdb_next_tree_read(xdb_t x, xptr_t ptr) { if (ptr->len != 0) { unsigned char buf[XDB_MAXKLEN + 18]; int vlen, voff; vlen = sizeof(buf) - 1; if (v...
...me = pub project.default_charset = utf-8 ;服务端用默认值 ;server.index = 8383 ;server.search = 8384 [did] type = id [title] type = title [tag] index = self [summary] index = both [content] type = body [/php] 这个是用命令行随便搜的几个,都是0.5+秒...
... __get XSDocument __set() 魔术方法 __set XSDocument addIndex() 给字段增加索引文本 (仅限索引文档) XSDocument addTerm() 给字段增加索引词 (仅限索引文档) XSDocument afterSubmit() 重写接口, 在文档成功提交到索引服务器后调...
...name = discuz project.default_charset = GBK ;服务端用默认值 ;server.index = 8383 ;server.search = 8384 [pid] type = id [fid] index = self tokenizer = full [tid] [first] index = self tokenizer = full [author] index = both [authorid] [subject] type = title [message] type = body [dateli...
...h 安装目录, 而 $project 为您的搜索项目 $prefix/sdk/php/util/Indexer.php $project -d log_db --clean $prefix/sdk/php/util/Indexer.php $project --flush-log 官方网站:[url]http://www.xunsearch.com/[/url] 下载地址:[url]http://www.xunsearch.com/download/xunsearch-full-latest...