The only way is to backport the patch to 1.3 . If you are confortable doing that just modify the relevant code and do an "ant dist" to get the jar
On Tue, Aug 18, 2009 at 11:42 AM, djain101<dharmveer_j...@yahoo.com> wrote: > > How can i get the version of DIH which fixes this issue and is compatible > with 1.3? > > > Noble Paul നോബിള് नोब्ळ्-2 wrote: >> >> OK, I thought you were using an older version of 1.4. the new DIH is >> not compatible with 1.3 >> >> On Tue, Aug 18, 2009 at 11:37 AM, djain101<dharmveer_j...@yahoo.com> >> wrote: >>> >>> I replaced the dataimporthandler.jar from 8/7/2009 build in WEB-INF/lib >>> of >>> solr.war but on restarting of JBOSS, it threw me following exception but >>> if >>> i revert back to 1.3 jar then it loads the class fine. Is there any >>> compatibilty issue between latest dataimporthandler.jar and solr1.3.war? >>> >>> INFO: xsltCacheLifetimeSeconds=5 >>> 23:04:00,442 ERROR [STDERR] Aug 17, 2009 11:04:00 PM >>> org.apache.solr.common.SolrException log >>> SEVERE: java.lang.NoClassDefFoundError: Could not initialize class >>> org.apache.solr.handler.dataimport.DataImportHandler >>> at java.lang.Class.forName0(Native Method) >>> at java.lang.Class.forName(Class.java:247) >>> at >>> org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:257) >>> at >>> org.apache.solr.core.SolrResourceLoader.newInstance(SolrResourceLoader.java:278) >>> >>> >>> Noble Paul നോബിള് नोब्ळ्-2 wrote: >>>> >>>> http://people.apache.org/builds/lucene/solr/nightly/ >>>> >>>> you can just replace the dataimporthandler jar in your current >>>> installation and it should be fine >>>> >>>> On Tue, Aug 18, 2009 at 11:18 AM, djain101<dharmveer_j...@yahoo.com> >>>> wrote: >>>>> >>>>> Can you please point me to the url for downloading latest DIH? Thanks >>>>> for >>>>> your help. >>>>> >>>>> >>>>> Noble Paul നോബിള് नोब्ळ्-2 wrote: >>>>>> >>>>>> you can take a nightly of DIH jar alone. It is quite stable >>>>>> >>>>>> On Tue, Aug 18, 2009 at 8:21 AM, djain101<dharmveer_j...@yahoo.com> >>>>>> wrote: >>>>>>> >>>>>>> Looks like this issue has been fixed on Sept 20, 2008 against issue >>>>>>> SOLR-768. >>>>>>> Can someone please let me know which one is a stable jar after Sept >>>>>>> 20, >>>>>>> 2008. >>>>>>> >>>>>>> >>>>>>> >>>>>>> djain101 wrote: >>>>>>>> >>>>>>>> After debugging dataimporter code, i found that it is a bug in the >>>>>>>> dataimporter 1.3 code itself. doFullImport() in DataImporter class >>>>>>>> is >>>>>>>> not >>>>>>>> loading last index time where as doDeltaImport() is. The code >>>>>>>> snippet >>>>>>>> from >>>>>>>> doFullImport() is: >>>>>>>> >>>>>>>> if (requestParams.commit) >>>>>>>> setIndexStartTime(new Date()); >>>>>>>> >>>>>>>> >>>>>>>> where as in doDeltaImport() is: >>>>>>>> >>>>>>>> if (requestParams.commit) { >>>>>>>> Date lastModified = writer.loadIndexStartTime(); >>>>>>>> setIndexStartTime(new Date()); >>>>>>>> setLastIndexTime(lastModified); >>>>>>>> } >>>>>>>> >>>>>>>> Looks like it is fixed in latest version of DataImporter.java. I >>>>>>>> will >>>>>>>> test >>>>>>>> with that. >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> View this message in context: >>>>>>> http://www.nabble.com/delta-import-using-a-full-import-command-is-not-working-tp24989144p25017612.html >>>>>>> Sent from the Solr - User mailing list archive at Nabble.com. >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> ----------------------------------------------------- >>>>>> Noble Paul | Principal Engineer| AOL | http://aol.com >>>>>> >>>>>> >>>>> >>>>> -- >>>>> View this message in context: >>>>> http://www.nabble.com/delta-import-using-a-full-import-command-is-not-working-tp24989144p25018880.html >>>>> Sent from the Solr - User mailing list archive at Nabble.com. >>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> ----------------------------------------------------- >>>> Noble Paul | Principal Engineer| AOL | http://aol.com >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/delta-import-using-a-full-import-command-is-not-working-tp24989144p25019032.html >>> Sent from the Solr - User mailing list archive at Nabble.com. >>> >>> >> >> >> >> -- >> ----------------------------------------------------- >> Noble Paul | Principal Engineer| AOL | http://aol.com >> >> > > -- > View this message in context: > http://www.nabble.com/delta-import-using-a-full-import-command-is-not-working-tp24989144p25019071.html > Sent from the Solr - User mailing list archive at Nabble.com. > > -- ----------------------------------------------------- Noble Paul | Principal Engineer| AOL | http://aol.com