[ 
https://issues.apache.org/jira/browse/OAK-4152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15215641#comment-15215641
 ] 

Thomas Mueller commented on OAK-4152:
-------------------------------------

As far as I understand, this would replace 
http://jackrabbit.apache.org/oak/docs/query/lucene.html: 

* name - Optional property Captures the name of the index which is used while 
logging
* indexPath - Optional string property to specify index path - Path of the 
index definition in the repository. For e.g. if the index definition is 
specified at /oak:index/lucene then set this path in indexPath codec

> 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
>
>
> 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)

Reply via email to