You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2010/02/19 04:06:24 UTC
[Solr Wiki] Update of "DataImportHandler" by MichaelWalker
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}'">