I attempted a backport of Patch-742 on Solr-1.3. You can see the results below with Hunk failures.
Is there specific method to obtain a list of patches may that occurred specific to the data import functionality prior to PATCH-742. I suppose I would need to ensure that these specific data import files (DataImporter.java, DataConfig.java and DocBuilder.java) are at the correct revision before applying PATCH-742. -sh-3.1$ pwd /home/smallwes/projects/solr/downloads/apache-solr-1.3.0 -sh-3.1$ patch -p 0 -i ../SOLR-742.patch --dry-run patching file contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/D ataImporter.java Hunk #1 FAILED at 95. Hunk #2 FAILED at 112. Hunk #3 FAILED at 123. Hunk #4 succeeded at 189 (offset -5 lines). Hunk #5 FAILED at 227. 4 out of 5 hunks FAILED -- saving rejects to file contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/D ataImporter.java.rej patching file contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/D ataConfig.java Hunk #3 FAILED at 130. Hunk #4 FAILED at 145. Hunk #5 FAILED at 158. 3 out of 5 hunks FAILED -- saving rejects to file contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/D ataConfig.java.rej patching file contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/D ocBuilder.java Hunk #1 FAILED at 17. Hunk #2 FAILED at 331. Hunk #3 FAILED at 368. Hunk #4 FAILED at 402. Hunk #5 succeeded at 580 (offset 1 line). 4 out of 5 hunks FAILED -- saving rejects to file contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/D ocBuilder.java.rej Regards, Wesley. On 3/11/09 6:07 AM, "Small, Wesley" <wesley.sm...@mtvstaff.com> wrote: > Thanks for the feedback Shalin. I will investigate the backport of this 1.4 > fix into 1.3. Do you know of any other subsequent patches related to the > data import and dynamic fields that I also should located and backport as > well? I just ask if you happen to have this information handy. > > I am reaching here, but I would like your opinion. Do you believe it is > conceivable at all port the entire data import functionality from the latest > 1.4-dev nightly build and manually merge this with the stable 1.3 release? > On 3/11/09 5:26 AM, "Shalin Shekhar Mangar" <shalinman...@gmail.com> wrote: > >> > On Wed, Mar 11, 2009 at 2:55 PM, Shalin Shekhar Mangar < >> > shalinman...@gmail.com> wrote: >> > >>>> >> > On Wed, Mar 11, 2009 at 2:28 PM, Wesley Small >>> >> <wesley.sm...@mtvstaff.com>wrote: >>>> >> > >>>>>> >>> >> Good morning, >>>>>> >>> >> >>>>>> >>> >> I reviewed a Solr Patch-742, which corrects an issue with the data import >>>>>> >>> >> process properly ingesting/commiting (solr add xml) document with >>>>>> dynamic >>>>>> >>> >> fields. >>>>>> >>> >> >>>>>> >>> >> Is this fix available for Solr 1.3 or is there a known work >>>>>> around? >>>>>> >>> >> >>>> >> > >>>> >> > Unfortunately, no. The fix is in trunk but the trunk DataImportHandler uses >>>> >> > a new rollback operation which is not supported by Solr 1.3 release. >>>> >> > >> > >> > However you should be able to backport the changes in SOLR-742 to Solr 1.3 >> > code. >> > >> > -- >> > Regards, >> > Shalin Shekhar Mangar. >> > > >