Search 在solrImportScheduler中,为什么需要为增量导入定义reBuildIndexBeginTime?

Search 在solrImportScheduler中,为什么需要为增量导入定义reBuildIndexBeginTime?,search,solr,Search,Solr,在wiki页面上 这条路线的目的是什么 reBuildIndexBeginTime=03:10:00 如果我注释掉reBuildIndexBeginTime=03:10:00则增量导入的索引永远不会运行。 什么是reBuildIndexBeginTime=03:10:00,为什么我们将其用于增量导入 我的solr多核安装中的dataimport.properties文件 ################################################# #

在wiki页面上

这条路线的目的是什么

reBuildIndexBeginTime=03:10:00
如果我注释掉
reBuildIndexBeginTime=03:10:00
则增量导入的索引永远不会运行。 什么是reBuildIndexBeginTime=03:10:00,为什么我们将其用于增量导入

我的solr多核安装中的dataimport.properties文件

#################################################
#                                               #
#       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
好的,正如我承诺的,是的。
清理数据导入处理程序计划程序编译的源代码。

忽略这些。只需使用张贴在网站上的说明。我添加了这个(其他人的)项目的链接,这样你就不必自己构建jar。如果我删除reBuildIndexBeginTime属性,它不会进行增量导入。你能把你的整个dataimport.properties文件发布到这里吗,请。我已经在我的问题中添加了数据导入文件。源代码是开放的,因此您可以查看这两个属性的用途。对不起,我不能不深入了解代码就帮你,但它是相当简单的代码。这两个属性随后由Liang Zhang(项目作者)添加,我从不需要查看该来源。总有一天我会打开我自己的项目。。。
#################################################
#                                               #
#       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