diff --git a/dev-tools/eclipse/dot.classpath b/dev-tools/eclipse/dot.classpath index 5e86db866cc..2b60809df0d 100644 --- a/dev-tools/eclipse/dot.classpath +++ b/dev-tools/eclipse/dot.classpath @@ -117,8 +117,8 @@ - - + + diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index eaf2a2e1418..6e6f2ec036a 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -802,6 +802,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 ---------------------- diff --git a/solr/example/lib/jetty-6.1.26-patched-JETTY-1340.jar b/solr/example/lib/jetty-6.1.26-patched-JETTY-1340.jar new file mode 100644 index 00000000000..3368a8ed21c --- /dev/null +++ b/solr/example/lib/jetty-6.1.26-patched-JETTY-1340.jar @@ -0,0 +1,2 @@ +AnyObjectId[33aa586bcc18fc1ff0276b56e595281fb90e2bb5] was removed in git history. +Apache SVN contains full history. \ No newline at end of file diff --git a/solr/example/lib/jetty-6.1.26.jar b/solr/example/lib/jetty-6.1.26.jar deleted file mode 100644 index a95786a2da6..00000000000 --- a/solr/example/lib/jetty-6.1.26.jar +++ /dev/null @@ -1,2 +0,0 @@ -AnyObjectId[2cbe07aeefa47ad6321addf0e75e010858f72fba] was removed in git history. -Apache SVN contains full history. \ No newline at end of file diff --git a/solr/example/lib/jetty-util-6.1.26-patched-JETTY-1340.jar b/solr/example/lib/jetty-util-6.1.26-patched-JETTY-1340.jar new file mode 100644 index 00000000000..67f2e8587c4 --- /dev/null +++ b/solr/example/lib/jetty-util-6.1.26-patched-JETTY-1340.jar @@ -0,0 +1,2 @@ +AnyObjectId[286a135efb973e693b20e437dc01eb8658e72ff2] was removed in git history. +Apache SVN contains full history. \ No newline at end of file diff --git a/solr/example/lib/jetty-util-6.1.26.jar b/solr/example/lib/jetty-util-6.1.26.jar deleted file mode 100644 index 0daa247d9c9..00000000000 --- a/solr/example/lib/jetty-util-6.1.26.jar +++ /dev/null @@ -1,2 +0,0 @@ -AnyObjectId[cd237528add68b792f2e6e030344f27d9d07ec31] was removed in git history. -Apache SVN contains full history. \ No newline at end of file diff --git a/solr/src/test/org/apache/solr/client/solrj/SolrExampleTests.java b/solr/src/test/org/apache/solr/client/solrj/SolrExampleTests.java index 071f74e0255..1968cde14e8 100644 --- a/solr/src/test/org/apache/solr/client/solrj/SolrExampleTests.java +++ b/solr/src/test/org/apache/solr/client/solrj/SolrExampleTests.java @@ -181,7 +181,7 @@ abstract public class SolrExampleTests extends SolrJettyTestBase 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 docs = new ArrayList(); @@ -209,7 +209,7 @@ abstract public class SolrExampleTests extends SolrJettyTestBase // 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() );