... 清空现有索引数据 ... 初始化数据源 ... csv [XSException] /XSDataSource.class.php(376): Can not open input file: '' #0 XSDataSource.class.php(35): XSCsvDataSource->init() #1 XSDataSource.class.php(51): XSDataSource->__construct('csv', NULL) #2 Indexer.php(240): XSDataSource::insta...
...@localhost/test [XSException] [color=#FF0000]../data/web/sftest/php/util/XSDataSource.class.php(826): SQLSTATE[HY000] [2002] No such file or directory[/color] #0 XSDataSource.class.php(180): XSDatabasePDO->connect(Array) #1 XSDataSource.class.php(35): XSDatabaseDataSource->init() #2 XSDataSourc...
...sg PHP Notice: Undefined index: count in /123tsg/xunsearch/sdk/php/util/XSDataSource.class.php on line 207 Notice: Undefined index: count in /123tsg/xunsearch/sdk/php/util/XSDataSource.class.php on line 207 开始批量导入数据 (请直接输入数据) ... 完成索引导入:成功 0 ...
...://xxx@localhost/phpcms [XSException] ../usr/local/xunsearch/sdk/php/util/XSDataSource.class.php(794): SQLSTATE[42000] [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM_UNIXTIME (inputtime,'%Y%m%d' ) as...
...有索引数据 ... 初始化数据源 ... 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}[hr] 我在util下面增加了一个test.csv下如了下面这些数据 1,关于 xunse...
...直有乱码现象,请按以下方法修改一下 $prefix/sdk/php/util/XSDataSource.class.php 详见补丁文件: [url]https://github.com/hightman/xunsearch/commit/eddb1b5f4d7a7f8fb8f82f3675e97640a9d4ed83[/url]
直接修改代码 sdk\php\util\XSDataSource.class.php 482行 $host .= (isset($param['port']) && $param['port'] != 3306) ? ':' . $param['port'] : '[b]:3399[/b]';
...果[b]首行, 失败或无数据[/b]则返回 false 源码: sdk/php/util/XSDataSource.class.php#L450 (显示) public function query1($sql){ $sql = preg_replace('/ limit\s+(\d+)(?:\s*...
... undefined function json_last_error() in /usr/local/xunsearch/sdk/php/util/XSDataSource.class.php on line 332 过滤器 debug 不显示 json导入出错
你可以用debug那个调试一下,看看怎么回事!/usr/local/xunsearch/sdk/php/util/XSDataSource.class.php