You probably aren't doing anything wrong, other than those patches are a bit out of date with trunk. You might have to fight through getting them current a bit, or wait until I or someone else can get to updating them.

        Erik

On Jan 6, 2010, at 11:52 AM, Thibaut Lassalle wrote:

hi,

I tried to apply patches to solr-1.4

Here is the result

javad...@javadev5:~/Java/apache-solr-1.4.0$ patch -p0 < SOLR-64.patch
patching file src/java/org/apache/solr/schema/ HierarchicalFacetField.java patching file src/common/org/apache/solr/common/params/ FacetParams.java
Hunk #1 FAILED at 108.
1 out of 1 hunk FAILED -- saving rejects to file
src/common/org/apache/solr/common/params/FacetParams.java.rej
patching file example/solr/conf/schema.xml
Hunk #1 FAILED at 144.
Hunk #2 FAILED at 417.
2 out of 2 hunks FAILED -- saving rejects to file
example/solr/conf/schema.xml.rej
patching file src/java/org/apache/solr/request/SimpleFacets.java
Hunk #1 FAILED at 33.
Hunk #2 FAILED at 227.
Hunk #3 FAILED at 238.
Hunk #4 FAILED at 484.
Hunk #5 FAILED at 541.
5 out of 5 hunks FAILED -- saving rejects to file
src/java/org/apache/solr/request/SimpleFacets.java.rej
javad...@javadev5:~/Java/apache-solr-1.4.0$ patch -p0 <SOLR-792.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/example/solr/conf/solrconfig.xml
b/example/solr/conf/solrconfig.xml
|index e2c0a48..1cd18bc 100755
|--- a/example/solr/conf/solrconfig.xml
|+++ b/example/solr/conf/solrconfig.xml
--------------------------
File to patch:


It failed on windows xp too.
What's wrong with what I'm doing?

Thanks
t.

Reply via email to