This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 61d7443dbe [lucene] Fix row count in IndexManifestEntry
61d7443dbe is described below
commit 61d7443dbe81a530b0984331995d69e5b9646a2e
Author: JingsongLi <[email protected]>
AuthorDate: Sat Dec 27 09:48:52 2025 +0800
[lucene] Fix row count in IndexManifestEntry
---
.../org/apache/paimon/lucene/index/LuceneVectorGlobalIndexWriter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/paimon-lucene/src/main/java/org/apache/paimon/lucene/index/LuceneVectorGlobalIndexWriter.java
b/paimon-lucene/src/main/java/org/apache/paimon/lucene/index/LuceneVectorGlobalIndexWriter.java
index bc77a3551f..349a2a0b60 100644
---
a/paimon-lucene/src/main/java/org/apache/paimon/lucene/index/LuceneVectorGlobalIndexWriter.java
+++
b/paimon-lucene/src/main/java/org/apache/paimon/lucene/index/LuceneVectorGlobalIndexWriter.java
@@ -73,6 +73,7 @@ public class LuceneVectorGlobalIndexWriter implements
GlobalIndexSingletonWriter
LuceneVectorIndex<?> index = vectorIndexFactory.create(count, key);
index.checkDimension(vectorIndexOptions.dimension());
vectorIndices.add(index);
+ count++;
if (vectorIndices.size() >= sizePerIndex) {
try {
flush();
@@ -80,7 +81,6 @@ public class LuceneVectorGlobalIndexWriter implements
GlobalIndexSingletonWriter
throw new RuntimeException(e);
}
}
- count++;
}
@Override