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 "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..
http://wiki.apache.org/solr/DataImportHandler?action=diff&rev1=237&rev2=238

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

      <document name="products">
  	    <entity name="item" pk="ID"
                  query="select * from item"
-                 deltaImportQuery="select * from item where ID=='${dataimporter.delta.id}'"
+                 deltaImportQuery="select * from item where ID='${dataimporter.delta.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}'">

Mime
View raw message