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 "DataImportHandlerDeltaQueryViaFullImport" by Lukas Smith
Date Wed, 22 Sep 2010 11:38:45 GMT
Dear Wiki user,

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

The "DataImportHandlerDeltaQueryViaFullImport" page has been changed by Lukas Smith.


- = Using query'' attribute for both full and delta import =
+ = Using query attribute for both full and delta import =
  The standard approach in Solr is to define one query for the initial import and a second
query to fetch the IDs of documents that have changed and a third query to fetch the data
that changed. Especially if you expect a large number of changes this isn't very efficient.
Furthermore if both in the initial import and the delta case you have the same SELECT list,
its tedious to maintain 3 queries where two are almost identical and one still very similar.
The fundamental idea is to only define one query for both the full and delta import by reading
out the requests parameters on a full-import.

View raw message