gus-asf commented on a change in pull request #573: WIP: SOLR-13150
URL: https://github.com/apache/lucene-solr/pull/573#discussion_r257886945
 
 

 ##########
 File path: 
solr/core/src/java/org/apache/solr/cloud/api/collections/CategoryRoutedAlias.java
 ##########
 @@ -128,7 +128,8 @@ public void validateRouteValue(AddUpdateCommand cmd) 
throws SolrException {
 
     if (cols.stream()
         .filter(x -> !x.contains(UNINITIALIZED)).count() >= 
Integer.valueOf(maxCardinality)) {
-      throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "max 
cardinality can not be exceeded for a Category Routed Alias: " + 
maxCardinality);
+      throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Max 
cardinality " + maxCardinality
 
 Review comment:
   Yeah this message is clearer and friendlier :).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to