Apache Solr Release Notes Introduction ------------ Apache Solr is an open source enterprise search server based on the Apache Lucene Java search library, with XML/HTTP and JSON APIs, hit highlighting, faceted search, caching, replication, and a web administration interface. It runs in a Java servlet container such as Tomcat. See http://lucene.apache.org/solr for more information. $Id$ Getting Started --------------- You need a Java 1.5 VM or later installed. In this release, there is an example Solr server including a bundled servlet container in the directory named "example". See the tutorial at http://lucene.apache.org/solr/tutorial.html Although Solr strives to be agnostic of the Locale where the server is running, some code paths in Solr 1.4.1 are known to depend on the System default Locale, or Charset. It is recommended that when running Solr you set the following system properties: -Duser.language=en -Duser.country=US ================== 1.4.2-dev ================== Upgrading from Solr 1.4 ----------------------- This is a bug fix release - no changes are required when upgrading from Solr 1.4. However, a reindex is needed for some of the analysis fixes to take effect. Versions of Major Components ---------------------------- Apache Lucene 2.9.3 Apache Tika 0.8-SNAPSHOT Carrot2 3.1.0 Lucene Information ---------------- Since Solr is built on top of Lucene, many people add customizations to Solr that are dependent on Lucene. Please see http://lucene.apache.org/java/2_9_3/, especially http://lucene.apache.org/java/2_9_3/changes/Changes.html for more information on the version of Lucene used in Solr. Bug Fixes ---------------------- * SOLR-1902: Upgraded Tika to 0.8-SNAPSHOT (Tommaso Teofili, gsingers) * SOLR-2036: Avoid expensive fieldCache ram estimation for the admin stats page. (yonik) * SOLR-2100: The replication handler backup command didn't save the commit point and hence could fail when a newer commit caused the older commit point to be removed before it was finished being copied. This did not affect normal master/slave replication. (Peter Sturge via yonik) * SOLR-2180: It was possible for EmbeddedSolrServer to leave searchers open if a request threw an exception. (yonik) * SOLR-2192: StreamingUpdateSolrServer.blockUntilFinished was not thread safe and could throw an exception. (yonik) * SOLR-1667: PatternTokenizer does not reset attributes such as positionIncrement (Robert Muir via shalin) * SOLR-1993: fix String cast assumption in JavaBinCodec - specific addresses "commitWithin" option on Update requests. (noble, hossman, and Maxim Valyanskiy) ================== Release 1.4.1 ================== Release Date: See http://lucene.apache.org/solr for the official release date. Upgrading from Solr 1.4 ----------------------- This is a bug fix release - no changes are required when upgrading from Solr 1.4. However, a reindex is needed for some of the analysis fixes to take effect. Versions of Major Components ---------------------------- Apache Lucene 2.9.3 Apache Tika 0.4 Carrot2 3.1.0 Lucene Information ---------------- Since Solr is built on top of Lucene, many people add customizations to Solr that are dependent on Lucene. Please see http://lucene.apache.org/java/2_9_3/, especially http://lucene.apache.org/java/2_9_3/changes/Changes.html for more information on the version of Lucene used in Solr. Bug Fixes ---------------------- * SOLR-1934: Upgrade to Apache Lucene 2.9.3 to obtain several bug fixes from the previous 2.9.1. See the Lucene 2.9.3 release notes for details. (hossman, Mark Miller) * SOLR-1432: Make the new ValueSource.getValues(context,reader) delegate to the original ValueSource.getValues(reader) so custom sources will work. (yonik) * SOLR-1572: FastLRUCache correctly implemented the LRU policy only for the first 2B accesses. (yonik) * SOLR-1595: StreamingUpdateSolrServer used the platform default character set when streaming updates, rather than using UTF-8 as the HTTP headers indicated, leading to an encoding mismatch. (hossman, yonik) * SOLR-1660: CapitalizationFilter crashes if you use the maxWordCountOption (Robert Muir via shalin) * SOLR-1662: Added Javadocs in BufferedTokenStream and fixed incorrect cloning in TestBufferedTokenStream (Robert Muir, Uwe Schindler via shalin) * SOLR-1711: SolrJ - StreamingUpdateSolrServer had a race condition that could halt the streaming of documents. The original patch to fix this (never officially released) introduced another hanging bug due to connections not being released. (Attila Babo, Erik Hetzner via yonik) * SOLR-1748, SOLR-1747, SOLR-1746, SOLR-1745, SOLR-1744: Streams and Readers retrieved from ContentStreams are not closed in various places, resulting in file descriptor leaks. (Christoff Brill, Mark Miller) * SOLR-1580: Solr Configuration ignores 'mergeFactor' parameter, always uses Lucene default. (Lance Norskog via Mark Miller) * SOLR-1777: fieldTypes with sortMissingLast=true or sortMissingFirst=true can result in incorrectly sorted results. (yonik) * SOLR-1797: fix ConcurrentModificationException and potential memory leaks in ResourceLoader. (yonik) * SOLR-1798: Small memory leak (~100 bytes) in fastLRUCache for every commit. (yonik) * SOLR-1522: Show proper message if