project.name = test project.default_charset = utf-8 server.index = 192.168.46.129:8383 server.search = 192.168.46.129:8384 我将配置文件修改成下面这样 执行以下还是不行 http://192.168.46.129:8383/和http://192.168.46.129:8384/ 输入的时候 显示 It works! [root@localhost x...
...is->type === self::TYPE_BODY) { $str .= "type = body\n"; } // index if ($this->type !== self::TYPE_BODY && ($index = ($this->flag & self::FLAG_INDEX_BOTH))) { if ($index === self::FLAG_INDEX_BOTH) { if ($this->type !== self::TYPE_TITLE) { $str .= "ind...
...------------ project.name = demo project.default_charset = utf-8 server.index = 8383 server.search = 8384 [goods_id] type = id [cat_ids] index = both [goods_name] type = title index = both [goods_desc] type = body phrase = no index = both tokenizer = default [goods_thumb...
...------------ project.name = demo project.default_charset = utf-8 server.index = 8383 server.search = 8384 [goods_id] type = id [cat_ids] index = both [goods_name] type = title index = both [goods_desc] type = body phrase = no index = both tokenizer = default [goods_thumb...
/usr/local/xunsearch/sdk/php/util/Indexer.php --rebulid --source=mysql://u:p@127.0.0.1/test --sql="SELECT movie_id,movie_name,movie_starring,movie_director,movie_description,movie_list_img_url,movie_insert_time FROM movie" --project=movie [XSException] ../../usr/local/xunsearch/sdk/php/lib/XS...
...统写为没有带引号的 utf8 兼容性最高。 如果您在使用 INDEXER 时一直有乱码现象,请按以下方法修改一下 $prefix/sdk/php/util/XSDataSource.class.php 详见补丁文件: [url]https://github.com/hightman/xunsearch/commit/eddb1b5f4d7a7f8fb8f82f3675e97640a9d4e...
...和搜索数据库发生了较大的偏差。 > tip: 在我们附带的[Indexer 索引管理工具](util.indexer)中提供了 `--clean` > 选项用于清空项目的索引数据库,用起来更简洁。 清空数据很简单,直接调用 [XSIndex::clean] 即可,代码如下: ~~~ [php] //...
...p/guide/start.demo 在执行 2. 填充索引数据□ 中的 : util/Indexer.php --source=csv --clean demo 出现以下错误: [root@localhost php]# util/Indexer.php --source=csv --clean demo Object id #2 #0 lib/XS.php(367): xs_error_handler(8, 'Uninitialized s...', '/www/xunsearch/...',...
...件 [php] project.name = myblog project.default_charset = utf-8 server.index = 8383 server.search = 8384 [ID] type = id phrase = yes [author] index = self [post_content] type = body [post_title] type = title [post_date] type = numeric index = self [category] index = se...
...置文件的解析结果 | | JSON 扩展 | OK | util.Quest, util.Indexer | 用于读取或输出 JSON 格式的数据 | | XML 扩展 | OK | util.Indexer | 用于读取导入 XML 格式的数据 | | MySQL 扩展 | mysql | util.Indexer | 用于读取...