You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2011/02/26 00:05:57 UTC
svn commit: r1074742 - in /lucene/dev/branches/branch_3x: ./
dev-tools/eclipse/ lucene/ solr/ solr/example/lib/
solr/src/test/org/apache/solr/client/solrj/
Author: rmuir
Date: Fri Feb 25 23:05:57 2011
New Revision: 1074742
URL: http://svn.apache.org/viewvc?rev=1074742&view=rev
Log:
SOLR-2381: use patched version of jetty with correct UTF-8 handling
Added:
lucene/dev/branches/branch_3x/solr/example/lib/jetty-6.1.26-patched-JETTY-1340.jar
- copied unchanged from r1074726, lucene/dev/trunk/solr/example/lib/jetty-6.1.26-patched-JETTY-1340.jar
lucene/dev/branches/branch_3x/solr/example/lib/jetty-util-6.1.26-patched-JETTY-1340.jar
- copied unchanged from r1074726, lucene/dev/trunk/solr/example/lib/jetty-util-6.1.26-patched-JETTY-1340.jar
Removed:
lucene/dev/branches/branch_3x/solr/example/lib/jetty-6.1.26.jar
lucene/dev/branches/branch_3x/solr/example/lib/jetty-util-6.1.26.jar
Modified:
lucene/dev/branches/branch_3x/ (props changed)
lucene/dev/branches/branch_3x/dev-tools/eclipse/dot.classpath
lucene/dev/branches/branch_3x/lucene/ (props changed)
lucene/dev/branches/branch_3x/solr/ (props changed)
lucene/dev/branches/branch_3x/solr/CHANGES.txt
lucene/dev/branches/branch_3x/solr/src/test/org/apache/solr/client/solrj/SolrExampleTests.java
Modified: lucene/dev/branches/branch_3x/dev-tools/eclipse/dot.classpath
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/dev-tools/eclipse/dot.classpath?rev=1074742&r1=1074741&r2=1074742&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/dev-tools/eclipse/dot.classpath (original)
+++ lucene/dev/branches/branch_3x/dev-tools/eclipse/dot.classpath Fri Feb 25 23:05:57 2011
@@ -114,8 +114,8 @@
<classpathentry kind="lib" path="solr/lib/velocity-1.6.1.jar"/>
<classpathentry kind="lib" path="solr/lib/velocity-tools-2.0-beta3.jar"/>
<classpathentry kind="lib" path="solr/lib/wstx-asl-3.2.7.jar"/>
- <classpathentry kind="lib" path="solr/example/lib/jetty-6.1.26.jar"/>
- <classpathentry kind="lib" path="solr/example/lib/jetty-util-6.1.26.jar"/>
+ <classpathentry kind="lib" path="solr/example/lib/jetty-6.1.26-patched-JETTY-1340.jar"/>
+ <classpathentry kind="lib" path="solr/example/lib/jetty-util-6.1.26-patched-JETTY-1340.jar"/>
<classpathentry kind="lib" path="solr/example/lib/servlet-api-2.5-20081211.jar"/>
<classpathentry kind="lib" path="solr/example/lib/jsp-2.1/core-3.1.1.jar"/>
<classpathentry kind="lib" path="solr/example/lib/jsp-2.1/jsp-2.1-glassfish-2.1.v20091210.jar"/>
Modified: lucene/dev/branches/branch_3x/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/CHANGES.txt?rev=1074742&r1=1074741&r2=1074742&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/solr/CHANGES.txt (original)
+++ lucene/dev/branches/branch_3x/solr/CHANGES.txt Fri Feb 25 23:05:57 2011
@@ -637,6 +637,10 @@ Other Changes
* SOLR-2365: Move DIH jars out of solr.war (David Smiley via yonik)
+* SOLR-2381: Include a patched version of Jetty (6.1.26 + JETTY-1340)
+ to fix problematic UTF-8 handling for supplementary characters.
+ (uschindler, yonik, rmuir)
+
Build
----------------------
Modified: lucene/dev/branches/branch_3x/solr/src/test/org/apache/solr/client/solrj/SolrExampleTests.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/src/test/org/apache/solr/client/solrj/SolrExampleTests.java?rev=1074742&r1=1074741&r2=1074742&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/solr/src/test/org/apache/solr/client/solrj/SolrExampleTests.java (original)
+++ lucene/dev/branches/branch_3x/solr/src/test/org/apache/solr/client/solrj/SolrExampleTests.java Fri Feb 25 23:05:57 2011
@@ -178,7 +178,7 @@ abstract public class SolrExampleTests e
SolrInputDocument doc2 = new SolrInputDocument();
doc2.addField( "id", "id2", 1.0f );
- doc2.addField( "name", "h\u1234llo", 1.0f );
+ doc2.addField( "name", "h\uD866\uDF05llo", 1.0f );
doc2.addField( "price", 20 );
Collection<SolrInputDocument> docs = new ArrayList<SolrInputDocument>();
@@ -206,7 +206,7 @@ abstract public class SolrExampleTests e
// System.out.println( rsp.getResults() );
// query outside ascii range
- query.setQuery("name:h\u1234llo");
+ query.setQuery("name:h\uD866\uDF05llo");
rsp = server.query( query );
assertEquals( 1, rsp.getResults().getNumFound() );