You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Nuno Santos (Jira)" <ji...@apache.org> on 2025/01/30 15:38:00 UTC

[jira] [Created] (OAK-11443) indexing-job: Use a single DefaultIndexWriterFactory in the LuceneIndexEditorProvider

Nuno Santos created OAK-11443:
---------------------------------

             Summary: indexing-job: Use a single DefaultIndexWriterFactory in the LuceneIndexEditorProvider
                 Key: OAK-11443
                 URL: https://issues.apache.org/jira/browse/OAK-11443
             Project: Jackrabbit Oak
          Issue Type: Task
          Components: indexing
            Reporter: Nuno Santos


The `LuceneIndexEditorProvider` is creating a new `DefaultIndexWriterFactory` for every `LuceneIndexEditor` instance that creates, so one per Lucene index being reindexed. But instances of `DefaultIndexWriterFactory` can be reused by several editors. This is already what is done in the `LuceneIndexProvider` which is used to index the document store.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)