Merge branch 'script_gj' into 'master'
es url update See merge request !60
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ class CZBlankDataExport {
|
|||||||
def directionMap1 = ["西南":1,"东南":2,"南":3,"西北":4,"东北":5,"东":6,"西":7,"北":8,"东西":9,"南北":10]
|
def directionMap1 = ["西南":1,"东南":2,"南":3,"西北":4,"东北":5,"东":6,"西":7,"北":8,"东西":9,"南北":10]
|
||||||
def directionMap = [1:"南",2:"北",3:"南北",4:"东",5:"西",6:"东西",7:"东南",8:"西南",9:"东北",10:"西北"]
|
def directionMap = [1:"南",2:"北",3:"南北",4:"东",5:"西",6:"东西",7:"东南",8:"西南",9:"东北",10:"西北"]
|
||||||
|
|
||||||
public static String address = "jdbc:es://http://seawater.es.db.fangjia.com:9200/timezone=UTC&page.size=250&connect.timeout=120s&network.timeout=120s&page.timeout=120s"
|
public static String address = "jdbc:es://http://seawater.es.db.fangjia.com:9200?timezone=UTC&page.size=240&connect.timeout=240000&network.timeout=60000&page.timeout=240000&query.timeout=90000"
|
||||||
public static EsDataSource dataSource = new EsDataSource()
|
public static EsDataSource dataSource = new EsDataSource()
|
||||||
static {
|
static {
|
||||||
dataSource.setUrl(address)
|
dataSource.setUrl(address)
|
||||||
|
|||||||
Reference in New Issue
Block a user