Dataconfig I am using now

<entity name="item" pk="data_id" transformer="TemplateTransformer"              
                                                
         query="select * from data.vw_data_ref" 
                 deltaImportQuery="select * from data.vw_data_ref  where
concat(LOCAL_ID,LOCAL_MASTER_ID)='${dataimporter.delta.data_id}'"
         deltaQuery="select concat(LOCAL_ID,LOCAL_MASTER_ID) as unique_id
from data.vw_data_ref 
 where UPDATE_DATE > to_date('${dataimporter.last_index_time}', 'YYYY-MM-DD
HH24:MI:SS')"
         >
                 
                 <field column="data_id"
template="${item.LOCAL_MASTER_ID}${item.LOCAL_ID}" />
        </entity>

*managed-schema*

<uniqueKey>data_id</uniqueKey>




-----
Regards
Shruti
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to