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 2016/04/01 09:25:25 UTC
[jira] [Updated] (OAK-4152) Expose the index path to IndexEditor
[ https://issues.apache.org/jira/browse/OAK-4152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra updated OAK-4152:
---------------------------------
Attachment: OAK-4152-v1.patch
[patch|^OAK-4152-v1.patch] for the same. It sets a hidden property {{:indexPath}} on the index definition node.
[~tmueller] The change is small but as its in a critical part it would be helpful if you can review it once
> Expose the index path to IndexEditor
> ------------------------------------
>
> Key: OAK-4152
> URL: https://issues.apache.org/jira/browse/OAK-4152
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: query
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
> Fix For: 1.6
>
> Attachments: OAK-4152-v1.patch
>
>
> For some cases like below it would be good to have indexPath information somehow conveyed to the index editors
> # CopyOnWrite in Lucene index
> # Better logging in IndexEditor
> For this we have 2 options
> # Change the {{IndexEditorProvider#getIndexEditor}} method and pass the path there
> # OR Set the path as a hidden property in index definition and have a convention for editor to pick that information from there
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)