搜索

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

1.SQL 导入错误,请问管理同学 sql 导入不支持 DATE_FORMAT(a.inputtime , '%Y%m%d' ) 函数??

更新时间:2012-03-19 23:03 t By a7262619

...oot@localhost ~]# Indexer.php --source=mysql://xxx@localhost/phpcms --sql="SELECT a.id,a.title,a.url,a.catid,FROM_UNIXTIME (inputtime,'%Y%m%d' ) as inputtime,ad.content,c.catname,c.url as caturl FROM v9_dede_article AS a LEFT JOIN v9_dede_article_data as ad on a.id=ad.id LEFT JOIN v9_category as...

2.Indexer 导入数据和 mysql查询结果不一致, why??

更新时间:2013-09-25 13:09 t By airowner

这是mysql查询的结果 mysql> select group_concat(game_tag.tag__id) as tag__id,t.id as id from m as t left join game_tag on t.game__id = game_tag.game__id group by t.game__id; +-----------------------------------------------------------------------------+-----+ | tag__id ...

3.建立索引时错误

更新时间:2013-12-14 12:12 t By sundyandy

...l/Indexer.php --rebuild --source=mysql://root:123456@localhost/test --sql="SELECT * FROM documents" --project=demo 开始重建索引 ... 初始化数据源 ... mysql://root:123456@localhost/test [XSException] [color=#FF0000]../data/web/sftest/php/util/XSDataSource.class.php(826): SQLSTATE[HY0...

4.xunsearch是否支持Geodist搜素?

发布时间:2012-06-12 21:06 t By cevin

...下很火的lbs搜索呢? sphinx配置: [code] sql_query_range = SELECT IFNULL(MIN(`id`), 1), IFNULL(MAX(`id`), 1) FROM `fandian` sql_query = SELECT `id`,`type`, `name`, RADIANS(`lat`) AS `latitude`, RADIANS(`lon`) AS `longitude` FROM `fandian` WHERE (`id` >= $start AND `id` SetServer("loc...

5.报错[XSException] /XSDataSource.class.php(794): SQLSTATE[42000]

更新时间:2013-06-04 12:06 t By beike228

...'LIMIT 1' at line 1 #0 XSDataSource.class.php(454): XSDatabasePDO->query('select LIMIT 1') #1 XSDataSource.class.php(213): XSDatabase->query1('select') #2 XSDataSource.class.php(33): XSDatabaseDataSource->init() [hr] --sql="select * from sj_union " --project=demo

6.报错[XSException] /XSDataSource.class.php(794): SQLSTATE[42000]

更新时间:2013-06-04 12:06 t By beike228

...'LIMIT 1' at line 1 #0 XSDataSource.class.php(454): XSDatabasePDO->query('select LIMIT 1') #1 XSDataSource.class.php(213): XSDatabase->query1('select') #2 XSDataSource.class.php(33): XSDatabaseDataSource->init() [hr] --sql="select * from sj_union " --project=demo

7.rebuild索引的时候加sql报错

发布时间:2014-03-21 10:03 t By wjj-11

...r.php -p --rebuild --source=mysql://root:'111111'@localhost/tmp_tsg --sql="select*,IF(market_price>0,round(shop_price/market_price*10,1),10) as rebate from tsg_goods" -p ../app/goods.ini [/php][/quote]初始化数据源 ... mysql://root:6$4!rgnbmClskax@localhost/tmp_tsg PHP Notice: Undefined i...

8.SQL语句里 group by 带来的问题

发布时间:2014-05-20 15:05 t By xiao6ye

...l]# php Indexer.php --rebuild --source=mysql://root:@localhost/shop --sql="select g.goods_id,g.cat_id,g.goods_name,g.en_goods_name,g.goods_short_name,g.en_goods_short_name,g.brand_id,g.shop_price,g.goods_brief,g.en_goods_brief,g.goods_img,CONCAT(ga.attr_id,'_',ga.attr_value) as attr_value from fp_go...

9.导入索引,使用mysql数据源,但是端口号需要指定如果填写

发布时间:2013-08-11 16:08 t By 周小渊

...l/Indexer.php --rebuild --source=mysql://root:123456@127.0.0.1/test --sql="select * from pw_record" --project=record 以上是默认mysql 端口号为3306 导入命令 但是, 现在我的mysql 端口号是6630 在--source=mysql://root:123456@127.0.0.1/test 这块应该如何调整呢?...

10.导入索引出错

发布时间:2012-06-09 09:06 t By jcy787211820

.../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.php(2202): Connection r...

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