0

在 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索引永远不会为增量导入运行。什么是 reBuildIndexBeginTime=03:10:00 ,为什么我们将它用于增量导入?

我的 solr-multicore 安装中的 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
4

1 回答 1

1

好的,正如我所承诺的,就在这里。清洁数据导入处理程序调度程序编译源。

于 2012-07-14T19:23:42.523 回答