forked from two8g/solr-dataimport-scheduler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdataimport.properties
51 lines (40 loc) · 1.5 KB
/
dataimport.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#版本日志
#version=1.0
#describe=init,04:00:00重建索引,间隔1分钟更新索引
#################################################
# #
# dataimport scheduler properties #
# #
#################################################
# to sync or not to sync
# 1 - active; anything else - inactive
syncEnabled=1
# which cores to schedule
# in a multi-core environment you can decide which cores you want syncronized
# leave empty or comment it out if using single-core deployment
syncCores=collection
# solr server name or IP address
# [defaults to localhost if empty]
server=localhost
# solr server port
# [defaults to 80 if empty]
port=8080
# application name/context
# [defaults to current ServletContextListener's context (app) name]
webapp=solr
# URL params [mandatory]
# remainder of URL
params=/dataimport?command=delta-import&clean=false&commit=true
# schedule interval
# number of minutes between two runs
# [defaults to 30 if empty]
interval=1
# full-import URL params
# 重新建索引的url参数
reBuildIndexParams=/dataimport?command=full-import&clean=false&commit=true&optimize=true
# 重做索引时间间隔的计时开始时间,第一次真正执行的时间=reBuildIndexBeginTime+reBuildIndexInterval*60*1000;
# 两种格式:2012-04-11 03:10:00 或者 03:10:00.默认为 00:00:00
reBuildIndexBeginTime=04:00:00
# 重做索引的时间间隔,单位分钟,默认7200,即5天; 1440为1天
# 为空,为0,或者注释掉:表示永不重做索引
reBuildIndexInterval=1440