....php): failed to open stream: No such file or directory in D:\xun_pro\util\indexer.php on line 7 Fatal error: require_once(): Failed opening required '../../xunsearch-sdk/sdk/php/lib/XS.php' (include_path='.;D:\xunsearch-sdk\php\lib') in D:\xun_pro\util\indexer.php on line 7 报如上错误,...
...UTF8 我连接进去查看 数据都没问题 如果方便自己改一下 Indexer.php 在 $index->update 之前打印一样 $data 的字段。 2.$data 之前的数据中文乱码 您使用哪个方式的 MYSQL 访问方式,之前也有人报告了类似的错误,原因是他的MYSQL没有安...
[root@VM71 php]# util/Indexer.php --source=csv --clean demo Object id #9 #0 lib/XS.php(2080): XSServer->read(8) #1 lib/XS.php(2065): XSServer->getRespond() #2 lib/XS.php(2042): XSServer->execCommand(Array, 201) #3 lib/XS.php(2003): XSServer->setProject('demo') #4 lib/XS.php(...
...出现如下错误 [XSErrorException] ../usr/local/xunsearch/sdk/php/util/Indexer.php(176): ob_flush(): failed to flush buffer. No buffer to flush.(8) #0 [internal function]: xs_error_handler(8, 'ob_flush(): fai...', '/usr/local/xuns...', 176, Array) #1 /usr/local/xunsearch/sdk/php/util/Indexer.php(...
Fatal error: Declaration of XSDebugFilter::process() must be compatible with that of XSDataFilter::process() in /home/vhost/k2012.metalsinfo.com/sdk/php/util/XSDataSource.class.php on line 890[hr] 自己找到解决方法: interface XSDataFilter { /** * 数据处理函数, 返回 false ...
[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 = 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 = self tokenizer = full [post_time] type = numeric in...
...de][root@a107 ~]# /usr/local/php/bin/php /usr/local/xunsearch/sdk/php/util/Indexer.php --project=xxx –-source=mysql://xxx:xxx@localhost/xxx --sql="select ID,post_title,post_content,UNIX_TIMESTAMP(post_date) as post_time from wp_posts where (post_status='publish' or post_status='pending') and post_...
... XSServer->__construct(8383, Object(XS)) #4 ../phplib/XS.php(222): XS->getIndex() #5 ../phputil/Indexer.php(121): XSComponent->__get('index') #6 {main} 连接局域网内其他主机mysql是出的错误 命令如下: util/Indexer.php -p discuz --source=mysql://aaa:bbb@192.168.0.1/bbs --sql...
[root@hp php]# util/Indexer.php --source=csv --clean demo [XSException] lib/XS.php(2092): Failed to create home directoy of the project(S#508) #0 lib/XS.php(2067): XSServer->execCommand(Array, 201) #1 lib/XS.php(2028): XSServer->setProject('demo') #2 lib/XS.php(2011): XSServer->open('8383') #3 ...