You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2019/12/18 12:49:00 UTC

[jira] [Closed] (JCR-2311) Improve indexing performance by reusing already create Lucene Documents within a single indexing transaction

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

Julian Reschke closed JCR-2311.
-------------------------------

> Improve indexing performance by reusing already create Lucene Documents within a single indexing transaction
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-2311
>                 URL: https://issues.apache.org/jira/browse/JCR-2311
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: indexing
>            Reporter: Ard Schrijvers
>            Assignee: Ard Schrijvers
>            Priority: Minor
>
> When using indexing aggregates, it can become very expensive when for example binary data like pdfs are involved. Within a single MultiIndex transaction, we should be save to reuse the created Lucene Document's. This is useful for aggregates, as this might currently involve reindexing the same node multiple times now in a single transaction. 
> In the mail discussion below I describe to use WeakReferences, though I think SoftReferences are in this case better suited (we do not want the created lucene docs to be gc-ed, unless memory gets low...)
> Also see http://www.nabble.com/Improve-indexing-performance-wrt-Aggregates-td25471828.html



--
This message was sent by Atlassian Jira
(v8.3.4#803005)