hi I tried to patch by following command on console
patch -p0 < SOLR-236-trunk.patch patching file solr/src/java/org/apache/solr/handler/component/CollapseComponent.java patching file solr/src/test/test-files/solr/conf/solrconfig-fieldcollapse.xml patching file solr/src/java/org/apache/solr/search/fieldcollapse/collector/DocumentGroupCountCollapseCollectorFactory.java patching file solr/src/java/org/apache/solr/search/fieldcollapse/collector/FieldValueCountCollapseCollectorFactory.java can't find file to patch at input line 995 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: solr/src/java/org/apache/solr/search/DocSetHitCollector.java |=================================================================== |--- solr/src/java/org/apache/solr/search/DocSetHitCollector.java (revision 922957) |+++ solr/src/java/org/apache/solr/search/DocSetHitCollector.java (revision ) -------------------------- File to patch: Asking for filename, I check the but the file not exist.. please help... On Tue, May 11, 2010 at 11:29 PM, Erick Erickson <erickerick...@gmail.com>wrote: > In Eclipse (you *may* need to have the subclipse plugin installed), just > right-click on the project>>team>>apply patch and follow the wizard.... > > HTH > Erick > > On Tue, May 11, 2010 at 12:50 PM, Jonty Rhods <jonty.rh...@gmail.com> > wrote: > > > hi David, > > thanks for quick reply.. > > please give me full command. so I can patch. what is meaning of [level]. > > As I write I had downloaded latest src from trunk.. So please also tell > > that, in terminal what will be command and from where I can run.. > > should I try > > >patch -p[level] < name_of_patch.patch > > > > thanks > > > > On Tue, May 11, 2010 at 10:02 PM, David Stuart < > > david.stu...@progressivealliance.co.uk> wrote: > > > > > Hey, > > > > > > In osx you shoud be able to patch in the same way as on liux patch > > > -p[level] < name_of_patch.patch. You can do this from the shell > including > > on > > > the mac. > > > > > > David Stuart > > > > > > > > > On 11 May 2010, at 17:15, Jonty Rhods <jonty.rh...@gmail.com> wrote: > > > > > > hi all, > > >> > > >> I am very new to solr. > > >> Now I required to patch solr (patch no 236). > > >> I download the latest src code and patch, but unable to finde suitable > > way > > >> to patch. > > >> I have eclipse installed. > > >> > > >> please guide me.. > > >> > > > > > >