the last-index_time is available only from second time onwards that is . It expects a full-import to be done first It knows that by the presence of dataimport.properties in the config directory. Did you check if it is present?
On Thu, Oct 16, 2008 at 5:33 PM, Florian Aumeier <[EMAIL PROTECTED]> wrote: > Noble Paul നോബിള് नोब्ळ् schrieb: >>> >>> Well, when doing the way you described below (full-import with the delta >>> query), the '${dataimporter.last_index_time}' timestamp is empty: >>> >> >> I guess this was fixed post 1.3 . probably you can take >> dataimporthandler.jar from a nightly build (you may also need to add >> slf4j.jar) >> >>> > I replaced > dist/apache-solr-dataimporthandler-1.3.0.jar > dist/solrj-lib/slf4j-api-1.5.3.jar > dist/solrj-lib/slf4j-jdk14-1.5.3.jar > > with their counterparts from the nightly build, but it did not help. Then I > tried to enter the date kind of hard coded (now() - '12 hours'::interval). > Everything looks fine, but there are no new documents in the index. > > here is the log: > > INFO: Starting Full Import > Oct 16, 2008 1:07:08 PM org.apache.solr.core.SolrCore executeINFO: [test] > webapp=/solr path=/dataimport > params={command=full-import&clean=false&entity=articles-delta} status=0 > QTime=0 > Oct 16, 2008 1:07:08 PM org.apache.solr.handler.dataimport.JdbcDataSource$1 > call > INFO: Creating a connection for entity articles-delta with URL: > jdbc:postgresql://bm02:5432/bm > Oct 16, 2008 1:07:08 PM org.apache.solr.handler.dataimport.JdbcDataSource$1 > callINFO: Time taken for getConnection(): 45 > Oct 16, 2008 1:14:53 PM org.apache.solr.core.SolrCore execute > INFO: [test] webapp=/solr path=/dataimport params={} status=0 QTime=1 > Oct 16, 2008 1:16:11 PM org.apache.solr.handler.dataimport.SolrWriter > readIndexerPropertiesINFO: Read dataimport.properties > Oct 16, 2008 1:16:11 PM org.apache.solr.handler.dataimport.SolrWriter > persistStartTime > INFO: Wrote last indexed time to dataimport.properties > Oct 16, 2008 1:16:11 PM org.apache.solr.handler.dataimport.DocBuilder > commitINFO: Full Import completed successfullyOct 16, 2008 1:16:11 PM > org.apache.solr.update.DirectUpdateHandler2 commit > INFO: start commit(optimize=true,waitFlush=false,waitSearcher=true)Oct 16, > 2008 1:16:11 PM org.apache.solr.search.SolrIndexSearcher <init>INFO: Opening > [EMAIL PROTECTED] mainOct 16, 2008 1:16:11 PM > org.apache.solr.update.DirectUpdateHandler2 commit > INFO: end_commit_flush > ... (autowarming) > Oct 16, 2008 1:16:12 PM org.apache.solr.handler.dataimport.DocBuilder > execute > INFO: Time taken = 0:9:3.231 > > -- --Noble Paul