I also should mention that solr-2010 is incorporated in Solr 3.1, so if you can 
upgrade you won't need a patch.  Note, however, that you will still want to 
apply the fix in solr-2462 regardless of the version as this fix hasn't been 
committed anywhere.

James Dyer
E-Commerce Systems
Ingram Content Group
(615) 213-4311


-----Original Message-----
From: roySolr [mailto:royrutten1...@gmail.com] 
Sent: Wednesday, May 04, 2011 6:53 AM
To: solr-user@lucene.apache.org
Subject: Patch problems solr 1.4 - solr-2010

Hello,

I want to patch my solr installation(1.4.1) with
solr-2010.(https://issues.apache.org/jira/browse/SOLR-2010)

I need this feature:
Only return collations that are guaranteed to result in hits if re-queried 

Now i try the following code:

wget
https://issues.apache.org/jira/secure/attachment/12457683/SOLR-2010_141.patch
-O - | patch -p0  --dry-run

I get the following error message:

--13:51:35-- 
https://issues.apache.org/jira/secure/attachment/12457683/SOLR-2010_141.patch
Resolving issues.apache.org... 140.211.11.121
Connecting to issues.apache.org|140.211.11.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 55846 (55K) [text/x-patch]
Saving to: `STDOUT'

100%[====================================================================================================================================>]
55,846      59.3K/s   in 0.9s

13:51:37 (59.3 KB/s) - `-' saved [55846/55846]

(Stripping trailing CRs from patch.)
patching file src/common/org/apache/solr/common/params/SpellingParams.java
Hunk #1 FAILED at 81.
1 out of 1 hunk FAILED -- saving rejects to file
src/common/org/apache/solr/common/params/SpellingParams.java.rej
(Stripping trailing CRs from patch.)
patching file
src/java/org/apache/solr/handler/component/SpellCheckComponent.java
Hunk #1 FAILED at 24.
Hunk #2 FAILED at 141.
Hunk #3 FAILED at 155.
Hunk #4 FAILED at 214.
Hunk #5 FAILED at 252.
Hunk #6 FAILED at 262.
6 out of 6 hunks FAILED -- saving rejects to file
src/java/org/apache/solr/handler/component/SpellCheckComponent.java.rej
(Stripping trailing CRs from patch.)
patching file src/java/org/apache/solr/spelling/PossibilityIterator.java
(Stripping trailing CRs from patch.)
patching file src/java/org/apache/solr/spelling/RankedSpellPossibility.java
(Stripping trailing CRs from patch.)
patching file src/java/org/apache/solr/spelling/SpellCheckCollation.java
(Stripping trailing CRs from patch.)
patching file src/java/org/apache/solr/spelling/SpellCheckCollator.java
(Stripping trailing CRs from patch.)
patching file src/java/org/apache/solr/spelling/SpellCheckCorrection.java
(Stripping trailing CRs from patch.)
patching file
src/solrj/org/apache/solr/client/solrj/response/SpellCheckResponse.java
Hunk #1 FAILED at 31.
Hunk #2 FAILED at 45.
Hunk #3 FAILED at 108.
Hunk #4 FAILED at 210.
4 out of 4 hunks FAILED -- saving rejects to file
src/solrj/org/apache/solr/client/solrj/response/SpellCheckResponse.java.rej
(Stripping trailing CRs from patch.)
patching file
src/test/org/apache/solr/client/solrj/response/TestSpellCheckResponse.java
Hunk #1 FAILED at 23.
Hunk #2 FAILED at 109.
2 out of 2 hunks FAILED -- saving rejects to file
src/test/org/apache/solr/client/solrj/response/TestSpellCheckResponse.java.rej
(Stripping trailing CRs from patch.)
patching file src/test/org/apache/solr/spelling/SpellCheckCollatorTest.java
(Stripping trailing CRs from patch.)
patching file
src/test/org/apache/solr/spelling/SpellPossibilityIteratorTest.java
(Stripping trailing CRs from patch.)
patching file src/test/test-files/solr/conf/schema.xml
Hunk #1 FAILED at 19.
Hunk #2 FAILED at 50.
Hunk #3 FAILED at 100.
Hunk #4 FAILED at 408.
Hunk #5 FAILED at 427.
Hunk #6 FAILED at 453.
Hunk #7 FAILED at 535.
7 out of 7 hunks FAILED -- saving rejects to file
src/test/test-files/solr/conf/schema.xml.rej
(Stripping trailing CRs from patch.)
patching file src/test/test-files/solr/conf/solrconfig.xml
Hunk #1 FAILED at 29.
Hunk #2 FAILED at 116.
Hunk #3 FAILED at 340.
Hunk #4 FAILED at 396.
4 out of 4 hunks FAILED -- saving rejects to file
src/test/test-files/solr/conf/solrconfig.xml.rej


--
View this message in context: 
http://lucene.472066.n3.nabble.com/Patch-problems-solr-1-4-solr-2010-tp2898443p2898443.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to