lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Solr Wiki] Update of "DataImportHandler" by Lukas Smith
Date Wed, 22 Sep 2010 11:29:07 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "DataImportHandler" page has been changed by Lukas Smith.
The comment on this change is: added link to DataImportHandlerDeltaQueryViaFullImport.


  Delta Import operation can be started by hitting the URL [[http://localhost:8983/solr/dataimport?command=delta-import]].
This operation will be started in a new thread and the ''status'' attribute in the response
should be shown ''busy'' now. Depending on the size of your data set, this operation may take
some time. At any time, you can hit [[http://localhost:8983/solr/dataimport]] to see the status
  When delta-import command is executed, it reads the start time stored in ''conf/''.
It uses that timestamp to run delta queries and after completion, updates the timestamp in
+ '''Note''': there is an alternative approach for updating documents in Solr, which is in
many cases more efficient and also requires less configuration explained on DataImportHandlerDeltaQueryViaFullImport.
  === Delta-Import Example ===
  We will use the same example database used in the full import example. Note that the database
schema has been updated and each table contains an additional column ''last_modified'' of
timestamp type. You may want to download the database again since it has been updated recently.
We use this timestamp field to determine what rows in each table have changed since the last
indexed time.

View raw message