You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sh...@apache.org on 2026/05/29 21:37:34 UTC

(lucene) branch main updated: Add @lucene.experimental to native vectorization classes

This is an automated email from the ASF dual-hosted git repository.

shubhamvishu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/main by this push:
     new 4a98dd73892 Add @lucene.experimental to native vectorization classes
4a98dd73892 is described below

commit 4a98dd738924f6f53855c08de4c6906152a3f9f4
Author: Shubham Chaudhary <sh...@gmail.com>
AuthorDate: Fri May 29 17:30:57 2026 -0400

    Add @lucene.experimental to native vectorization classes
---
 .../lucene/internal/vectorization/NativeVectorUtilSupport.java      | 2 ++
 .../lucene/internal/vectorization/NativeVectorizationProvider.java  | 6 +++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/lucene/core/src/java25/org/apache/lucene/internal/vectorization/NativeVectorUtilSupport.java b/lucene/core/src/java25/org/apache/lucene/internal/vectorization/NativeVectorUtilSupport.java
index 1ba9e2ea129..d9673300c92 100644
--- a/lucene/core/src/java25/org/apache/lucene/internal/vectorization/NativeVectorUtilSupport.java
+++ b/lucene/core/src/java25/org/apache/lucene/internal/vectorization/NativeVectorUtilSupport.java
@@ -48,6 +48,8 @@ import org.apache.lucene.util.Constants;
  *
  * <p>It Uses <code>Linker.Option.critical(true)</code> for optimal performance by eliminating the
  * overhead of ensuring MemorySegments are allocated off-heap before native calls.
+ *
+ * @lucene.experimental
  */
 @SuppressWarnings("restricted")
 final class NativeVectorUtilSupport implements VectorUtilSupport {
diff --git a/lucene/core/src/java25/org/apache/lucene/internal/vectorization/NativeVectorizationProvider.java b/lucene/core/src/java25/org/apache/lucene/internal/vectorization/NativeVectorizationProvider.java
index 1233cc2f89f..13db2fe31c6 100644
--- a/lucene/core/src/java25/org/apache/lucene/internal/vectorization/NativeVectorizationProvider.java
+++ b/lucene/core/src/java25/org/apache/lucene/internal/vectorization/NativeVectorizationProvider.java
@@ -25,7 +25,11 @@ import org.apache.lucene.store.IndexInput;
 import org.apache.lucene.util.Constants;
 import org.apache.lucene.util.SuppressForbidden;
 
-/** Native provider returning native implementations which delegates to Panama implementation. */
+/**
+ * Native provider returning native implementations which delegates to Panama implementation.
+ *
+ * @lucene.experimental
+ */
 final class NativeVectorizationProvider extends VectorizationProvider {
 
   private final VectorizationProvider delegateVectorUtilProvider =