0

ウィキページ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

よし、約束通り、これだ。Clean Data Import Handler Scheduler コンパイル済みソース。

于 2012-07-14T19:23:42.523 に答える