This is an automated email from the ASF dual-hosted git repository.
mkhludnev pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new 86bd5203ae9 tidying #4554 (#4662)
86bd5203ae9 is described below
commit 86bd5203ae91e68dcf9b0e3919a75db96b96a61c
Author: Mikhail Khludnev <[email protected]>
AuthorDate: Sat Jul 25 15:07:32 2026 +0300
tidying #4554 (#4662)
---
.../cluster/placement/impl/PlacementPluginFactoryLoader.java | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git
a/solr/core/src/java/org/apache/solr/cluster/placement/impl/PlacementPluginFactoryLoader.java
b/solr/core/src/java/org/apache/solr/cluster/placement/impl/PlacementPluginFactoryLoader.java
index cef0e1fcbe4..b7f582d01f7 100644
---
a/solr/core/src/java/org/apache/solr/cluster/placement/impl/PlacementPluginFactoryLoader.java
+++
b/solr/core/src/java/org/apache/solr/cluster/placement/impl/PlacementPluginFactoryLoader.java
@@ -114,11 +114,12 @@ public class PlacementPluginFactoryLoader {
case "affinity" -> new AffinityPlacementFactory();
case "minimizecores" -> new MinimizeCoresPlacementFactory();
case "random" -> new RandomPlacementFactory();
- default -> throw new SolrException(
- SolrException.ErrorCode.SERVER_ERROR,
- "Invalid value for system property '"
- + PLACEMENTPLUGIN_DEFAULT_SYSPROP
- + "'. Supported values are 'simple', 'random', 'affinity' and
'minimizecores'");
+ default ->
+ throw new SolrException(
+ SolrException.ErrorCode.SERVER_ERROR,
+ "Invalid value for system property '"
+ + PLACEMENTPLUGIN_DEFAULT_SYSPROP
+ + "'. Supported values are 'simple', 'random', 'affinity'
and 'minimizecores'");
};
} else {
// TODO: Consider making the ootb default AffinityPlacementFactory, see