HoustonPutman commented on code in PR #1680:
URL: https://github.com/apache/solr/pull/1680#discussion_r1223574906


##########
solr/core/src/java/org/apache/solr/schema/DenseVectorField.java:
##########
@@ -193,12 +193,24 @@ public void checkSchemaField(final SchemaField field) 
throws SolrException {
     switch (vectorEncoding) {
       case FLOAT32:
         if (dimension > FloatVectorValues.MAX_DIMENSIONS) {
-          log.warn("The vector dimension "+ dimension +" specified for field 
"+ field.getName() +" exceeds the current Lucene default max dimension of "+ 
FloatVectorValues.MAX_DIMENSIONS +". It's un-tested territory, extra caution 
and benchmarks are recommended for production systems.");
+          if (log.isWarnEnabled()) {

Review Comment:
   Errorprone does tell you they are required sometimes. I just had to do it 
for one of my PRs.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to