You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by pa...@apache.org on 2023/10/31 06:08:14 UTC

(lucene) branch main updated: Do not close merge threadpool in Lucene99HnswVectorsWriter

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

patrickz 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 4576ae09e88 Do not close merge threadpool in Lucene99HnswVectorsWriter
4576ae09e88 is described below

commit 4576ae09e8885f40cc27424fa8d529aa5c172422
Author: Patrick Zhai <zh...@gmail.com>
AuthorDate: Mon Oct 30 23:08:06 2023 -0700

    Do not close merge threadpool in Lucene99HnswVectorsWriter
---
 .../org/apache/lucene/codecs/lucene99/Lucene99HnswVectorsWriter.java   | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lucene/core/src/java/org/apache/lucene/codecs/lucene99/Lucene99HnswVectorsWriter.java b/lucene/core/src/java/org/apache/lucene/codecs/lucene99/Lucene99HnswVectorsWriter.java
index 5515de2ac81..691a7300c59 100644
--- a/lucene/core/src/java/org/apache/lucene/codecs/lucene99/Lucene99HnswVectorsWriter.java
+++ b/lucene/core/src/java/org/apache/lucene/codecs/lucene99/Lucene99HnswVectorsWriter.java
@@ -842,9 +842,6 @@ public final class Lucene99HnswVectorsWriter extends KnnVectorsWriter {
   @Override
   public void close() throws IOException {
     IOUtils.close(meta, vectorData, vectorIndex, quantizedVectorData);
-    if (mergeExec != null) {
-      mergeExec.shutdownNow();
-    }
   }
 
   private abstract static class FieldWriter<T> extends KnnFieldVectorsWriter<T> {