lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
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.
http://wiki.apache.org/solr/DataImportHandlerDeltaQueryViaFullImport?action=diff&rev1=1&rev2=2

--------------------------------------------------

- = 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.
  

Mime
View raw message