uschindler commented on code in PR #14901:
URL: https://github.com/apache/lucene/pull/14901#discussion_r2190298017


##########
lucene/core/src/java24/org/apache/lucene/internal/vectorization/PanamaVectorizationProvider.java:
##########
@@ -45,6 +45,10 @@ final class PanamaVectorizationProvider extends 
VectorizationProvider {
           "Vector bit size is less than 128: " + 
PanamaVectorConstants.PREFERRED_VECTOR_BITSIZE);
     }
 
+    if (PanamaVectorConstants.HAS_FAST_INTEGER_VECTORS == false) {
+      throw new UnsupportedOperationException("No integer vector support");

Review Comment:
   I'd change this message a bit more verbose as this is logged to enduser in a 
warning (see `VectorizationProvider` around line 169).
   
   Maybe "CPU flags do not guarantee fast integer vectors".



-- 
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...@lucene.apache.org

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


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

Reply via email to