lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonty Rhods <jonty.rh...@gmail.com>
Subject Re: how to patch solr-236 in mac os
Date Wed, 12 May 2010 06:26:59 GMT
I tried to patch from diffrent src folder but asking for file name to
patch..
and I think some dependent patch also required..
please guide me to patch SOLR-236.patch (with dependent patch if any).
If it will require then I will again download the src code from trunk..

thanks

On Wed, May 12, 2010 at 11:53 AM, Jonty Rhods <jonty.rhods@gmail.com> wrote:

> 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 <erickerickson@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.rhods@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.stuart@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.rhods@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..
>> > >>
>> > >
>> >
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message