Please note comments on these pages have now been disabled for all users.
Topics discussed in this section:
Some of the major improvements in Solr 5 include:
Ease Of Use
SolrCloud & Distributed Requests
New Search Functionality
results can now include nested
stats.fieldresults constrained by those pivots
stats.fieldcan be used to generate statistics over the results of arbitrary numeric functions
DateRangeFieldhas been added for indexing date ranges, especially multi-valued ones
MoreLikeThisquery parser allows requesting for documents similar to an existing document
timeAllowedis now used to prematurely terminate requests during query expansion and SolrClient request retry
Beginning with Solr 5.0, Solr is no longer distributed as a "war" (Web Application Archive) suitable for deployment in any Servlet Container. Solr is now distributed as a stand alone java server application, including start and stop scripts for use on Unix and MS-Windows platforms, as well as an installation script for setting up a "production" installation of Solr on *nix platforms managed via
The Upgrading a Solr Cluster section of this guide provides detailed steps for existing users to upgrade their clusters regardless of what servlet container they were using with Solr 4.
Solr 5 has no support for reading Lucene/Solr 3.x and earlier indexes. Be sure to run the Lucene
IndexUpgrader included with Solr 4.10 if you might still have old 3x formatted segments in your index. Alternatively: fully optimize your index with Solr 4.10 to make sure it consists only of one up-to-date index segment.
Solr 4.4 introduced a new format for the
solr.xml file, eliminating the need for each
<core> to be explicitly listed. Instead a process known as "Core Discovery" was introduced relying on
core.properties files in each SolrCore instance directory.
Solr 5.0 has eliminated all support for the older
solr.xml format, and moved entirely to core discovery. See the Moving to the New solr.xml Format section for more details.
Solr 5.0 only supports creating and removing SolrCloud collections through the Collections API, unlike previous versions. While not using the collections API may still work in 5.0, it is unsupported, not recommended, and the behavior will change in a 5.x release.