I was successful at distributing the Solr-1.4-DEV data import functionality
within the Solr 1.3 war.

1. Copy the data import’s src directory from 1.4 to 1.3.
2. Made sure to used the data import’s build.xml already existing in Solr
1.3
3. Commented out all code within #SolrWriter.rollback method
4. Commented out the following import statements from #SolrWriter
#import org.apache.solr.update.RollbackUpdateCommand;
5. Copied required libraries for logging from 1.4/lib to 1.3/lib
slf4j-api-1.5.5.jar
slf4j-jdk14-1.5.5.jar

I was planning on replacing the Solr 1.4 logging scheme to the style in Solr
1.3, but that was unnecessary work.

Continuing my testing with this customized distributing.

Thanks again,
Wesley.



On 3/11/09 6:35 AM, "Shalin Shekhar Mangar" <shalinman...@gmail.com> wrote:

> On Wed, Mar 11, 2009 at 4:01 PM, Noble Paul നോബിള്‍ नोब्ळ् <
> noble.p...@gmail.com> wrote:
> 
>> > I guess you can take the trunk and comment out the contents of
>> > SolrWriter#rollback() and it should work with Solr1.3
>> >
>> >
> I agree. Rollback is the only feature which depends on enhancements in
> Solr/Lucene libraries. So if you remove this feature, everything else should
> work fine with 1.3
> 
> --
> Regards,
> Shalin Shekhar Mangar.
> 

Reply via email to