actually your dataimport.properties is empty , I guess that is the reason On Sun, Aug 16, 2009 at 5:19 AM, djain101<dharmveer_j...@yahoo.com> wrote: > > Hi, > > I am following the example on > http://wiki.apache.org/solr/DataImportHandlerFaq#fullimportdelta > http://wiki.apache.org/solr/DataImportHandlerFaq#fullimportdelta and i > configured my data-config.xml in the similar way as mentioned in the example > on this link. the findDelta entity tag looks like as: > > <entity name="findDelta" query="select emp_id as id from employee where > LAST_UPDATED_TIMESTAMP > > to_date('${dataimporter.last_index_time}','YYYY-MM-DD HH24:MI:SS')" > rootEntity="false"> > > When i try to index using command=full-import&clean=false, it responds with > message "Indexing completed. Added/Updated: 0 documents. Deleted 0 > documents." When I looked at the query, it looks like as: > select party_id as id from core_party where LAST_UPDATED_TIMESTAMP > > to_date('','YYYY-MM-DD HH24:MI:SS') > > Looks like Solr is not able to replace ${dataimporter.last_index_time} with > the timestamp from dataimport.properties. This file exist in my conf folder > and gets updated everytime i do full-import. So there is no issue with the > timestamp in dataimport.properties file. Somehow, it is not getting replaced > in sql query. > > Please help !!! > -- > View this message in context: > http://www.nabble.com/delta-import-using-a-full-import-command-is-not-working-tp24989144p24989144.html > Sent from the Solr - User mailing list archive at Nabble.com. > >
-- ----------------------------------------------------- Noble Paul | Principal Engineer| AOL | http://aol.com