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

Chetan Mehrotra commented on OAK-3011:
--------------------------------------

+1 for the patch.

{{IndexPlanner}} uses {{IndexNode}} name for the string representation. The 
{{IndexNode}} name is currently set to node name defining the index definition. 
May be we should change {{IndexNode}} name to represent the whole path as the 
index might be defined at non root definitions also and path would provide 
complete detail

> Add name of lucene-property index to cost debug log
> ---------------------------------------------------
>
>                 Key: OAK-3011
>                 URL: https://issues.apache.org/jira/browse/OAK-3011
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: lucene, query
>            Reporter: Alex Parvulescu
>             Fix For: 1.2.3, 1.3.2
>
>         Attachments: OAK-3011.patch
>
>
> Currently the cost debug log only contains the type and the cost, but if 
> there are multiple lucene-property indexes, there's no way of knowing which 
> index has what cost so it would be really nice to have the index name 
> included with the cost output.
> Now:
> {code}
> org.apache.jackrabbit.oak.query.QueryImpl cost for lucene-property is 1.5
> {code}
> Nice to have:
> {code}
> org.apache.jackrabbit.oak.query.QueryImpl cost for lucene-property [name] is 
> 1.5
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to