[ 
https://issues.apache.org/jira/browse/OAK-11443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nuno Santos updated OAK-11443:
------------------------------
    Description: 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.  (was: 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.)

> 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
>            Priority: Minor
>
> 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)

Reply via email to