[
https://issues.apache.org/jira/browse/OAK-6082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15978179#comment-15978179
]
Thomas Mueller commented on OAK-6082:
-------------------------------------
This look good to me.
Assuming there are relatively few indexes, we could also cache the result, for
example for 10 seconds. That might be a bit simpler.
> Service to determine index paths
> --------------------------------
>
> Key: OAK-6082
> URL: https://issues.apache.org/jira/browse/OAK-6082
> Project: Jackrabbit Oak
> Issue Type: Task
> Components: indexing
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
> Fix For: 1.8
>
> Attachments: OAK-6082-v1.patch
>
>
> It would be useful to have an {{IndexPathService}} which would provide
> # List of all index paths
> # Determine if oak:index node is present under given path
> The service would make use of nodetype index for {{oak:QueryIndexDefinition}}
> for determining index paths.
> This service can then be used to enable improvements like
> * listing report for all indexes (OAK-6080),
> * Reduce lookup for oak:index nodes
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)