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 MichaelWalker
Date Fri, 19 Feb 2010 03:06:24 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 MichaelWalker.
The comment on this change is: Delta-import example used an invalid SQL query syntax of "==",
which did not work in my testing. Changing to "=", which did work in Solr 1.4..


      <document name="products">
  	    <entity name="item" pk="ID"
                  query="select * from item"
-                 deltaImportQuery="select * from item where ID=='${}'"
+                 deltaImportQuery="select * from item where ID='${}'"
  		deltaQuery="select id from item where last_modified > '${dataimporter.last_index_time}'">
              <entity name="feature" pk="ITEM_ID"
                      query="select description as features from feature where item_id='${item.ID}'">

View raw message