You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by James liu <li...@gmail.com> on 2007/09/10 05:57:42 UTC

How to patch

i wanna try patch:
https://issues.apache.org/jira/browse/SOLR-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel

and i download solr1.2 release

patch < SOLR-269*.pach(when in
'/tmp/apache-solr-1.2.0/src/test/org/apache/solr/update'
)

it show me

|Index: src/test/org/apache/solr/common/SolrDocumentTest.java
|===================================================================
|--- src/test/org/apache/solr/common/SolrDocumentTest.java      (revision
555897)
|+++ src/test/org/apache/solr/common/SolrDocumentTest.java      (working
copy)
--------------------------
File to patch:


i input the absolute path which file should be ...

but it not ok...

does my solr's version not right?

-- 
regards
jl

Re: How to patch

Posted by James liu <li...@gmail.com>.
thks ,ryan.

2007/9/10, Ryan McKinley <ry...@gmail.com>:
>
> James liu wrote:
> > i wanna try patch:
> >
> https://issues.apache.org/jira/browse/SOLR-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel
> >
> > and i download solr1.2 release
> >
>
> The most recent patch is Eriks-ModifiableDocument.patch
>
> You will need to apply it to solr trunk.  (not 1.2 release)
>
> ryan
>



-- 
regards
jl

Re: How to patch

Posted by Ryan McKinley <ry...@gmail.com>.
James liu wrote:
> i wanna try patch:
> https://issues.apache.org/jira/browse/SOLR-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel
> 
> and i download solr1.2 release
> 

The most recent patch is Eriks-ModifiableDocument.patch

You will need to apply it to solr trunk.  (not 1.2 release)

ryan

Re: How to patch

Posted by Mike Klaas <mi...@gmail.com>.
On 9-Sep-07, at 8:57 PM, James liu wrote:

> i wanna try patch:
> https://issues.apache.org/jira/browse/SOLR-139? 
> page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel
>
> and i download solr1.2 release
>
> patch < SOLR-269*.pach(when in
> '/tmp/apache-solr-1.2.0/src/test/org/apache/solr/update'
> )

Patches should be generally applied from the top-level solr directory  
with 'patch -p0'

-Mike