You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by an...@apache.org on 2015/07/04 00:54:39 UTC
svn commit: r1689105 - /lucene/dev/trunk/solr/CHANGES.txt
Author: andyetitmoves
Date: Fri Jul 3 22:54:39 2015
New Revision: 1689105
URL: http://svn.apache.org/r1689105
Log:
SOLR-7714: Add note about ShardHandler interface change to upgrade notes
Modified:
lucene/dev/trunk/solr/CHANGES.txt
Modified: lucene/dev/trunk/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/CHANGES.txt?rev=1689105&r1=1689104&r2=1689105&view=diff
==============================================================================
--- lucene/dev/trunk/solr/CHANGES.txt (original)
+++ lucene/dev/trunk/solr/CHANGES.txt Fri Jul 3 22:54:39 2015
@@ -103,6 +103,17 @@ Upgrading from Solr 5.2
* The "name" parameter in ADDREPLICA Collections API call has be deprecated. One cannot specify
the core name for a replica. See SOLR-7499 for more info.
+* The ShardHandler interface has changed. The interface used to provide a
+ `checkDistributed` function which doubled up in purpose to determine if the
+ request is distributed, and to prepare for distributed requests. This unfortunately
+ meant that the object had to be instantiated even when the request is not
+ distributed. The task of initially determining if the request is distributed
+ is now done by SearchHandler using the distrib/shards parameters, and a
+ ShardHandler object is created only if the request is distributed. The interface
+ now has a `prepDistributed` function instead of the `checkDistributed` function,
+ which can then be used to prepare for the distributed request. Users with custom
+ ShardHandler implementations would need to modify their code to this effect.
+
Detailed Change List
----------------------