"week_pv, week_product_click_count, week_add_cart_count, p_day from app_search_keyword_year_week_p_day where id >= %d and id < %d",idFlag,idFlag+TABLE_SPLIT_STEP_SIZE)
results,err:=db.Query(sqlStr)
iferr!=nil{log.Print(err.Error())}
...
...
@@ -264,8 +261,10 @@ func queryIndex(idFlag int, db *sql.DB, bulkProcessor *elastic.BulkProcessor, wg