在wiki页面http://code.google.com/p/solr-dataimport-scheduler/上
params=/dataimport?command=delta-import&clean=false&commit=true
interval=1这条线的目的是什么?
reBuildIndexBeginTime=03:10:00如果我注释掉reBuildIndexBeginTime=03:10:00 ,那么索引就不会为delta 运行。什么是reBuildIndexBeginTime=03:10:00,为什么我们将它用于增量导入?
dataimport.properties文件在我的solr-多核安装中
#################################################
# #
# 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=hkc-core
# solr server name or IP address
# [defaults to localhost if empty]
server=localhost
# solr server port
# [defaults to 80 if empty]
port=1666
# application name/context
# [defaults to current ServletContextListener's context (app) name]
webapp=solr-multicore
# 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
#reBuildIndexInterval=7200
#reBuildIndexParams=/dataimport?command=full-import&clean=true&commit=true
reBuildIndexBeginTime=00:00:00发布于 2012-07-14 19:23:42
好吧,正如我所承诺的,这里是。干净的数据导入处理程序计划程序编译源代码。
https://stackoverflow.com/questions/11429372
复制相似问题