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/04/07 18:43:13 UTC

[jira] [Commented] (OAK-2036) getPlan() output for NodeTypeIndex doesn't indicate the index type used

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

Chetan Mehrotra commented on OAK-2036:
--------------------------------------

[~justinedelson] Looks like this was fixed in trunk sometime back by Thomas [1]

[~tmueller] Just to confirm would it be fine to include this in branch?

[1] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/nodetype/NodeTypeIndex.java#L72-75

> getPlan() output for NodeTypeIndex doesn't indicate the index type used
> -----------------------------------------------------------------------
>
>                 Key: OAK-2036
>                 URL: https://issues.apache.org/jira/browse/OAK-2036
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: query
>            Reporter: Justin Edelson
>            Assignee: Chetan Mehrotra
>             Fix For: 1.3.0
>
>
> NodeTypeIndex's getPlan() method simply does this:
> {code}
> return filter.toString();
> {code}
> whereas all the other index implementation output their name. This should be changed to, at minimum:
> {code}
> return "nodetype " + filter.toString();
> {code}



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