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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2015/05/29 16:37:18 UTC
[jira] [Resolved] (OAK-2754) Use non unique PathCursor in
LucenePropertyIndex
[ https://issues.apache.org/jira/browse/OAK-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra resolved OAK-2754.
----------------------------------
Resolution: Fixed
Fixed with http://svn.apache.org/r1682488
> Use non unique PathCursor in LucenePropertyIndex
> ------------------------------------------------
>
> Key: OAK-2754
> URL: https://issues.apache.org/jira/browse/OAK-2754
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: lucene
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
> Labels: resilience
> Fix For: 1.3.0
>
>
> {{LucenePropertyIndex}} currently uses unique PathCursor [1] due to which the cursor would maintain an in memory set of visited path. This might grow big if result size is big and cursor is traversed completely.
> As with current impl the path would not be duplicated we can avoid using unique cursor
> [1] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LucenePropertyIndex.java#L1153-1154
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)