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 "Thomas Mueller (JIRA)" <ji...@apache.org> on 2012/11/05 16:32:12 UTC

[jira] [Created] (OAK-425) Query Index: pass the query statement to the index for logging purposes

Thomas Mueller created OAK-425:
----------------------------------

             Summary: Query Index: pass the query statement to the index for logging purposes
                 Key: OAK-425
                 URL: https://issues.apache.org/jira/browse/OAK-425
             Project: Jackrabbit Oak
          Issue Type: Improvement
            Reporter: Thomas Mueller


The query index might want to log activity (number of read nodes,...). Currently, the query index doesn't know the query statement itself, so the context of the log info is lost.

To solve that, I added a 'statement' parameter to the TraversingIndex, but that's not a nice solution, as it only works with the TraversingIndex.

Probably a better solution is to make the query statement available in the Filter, so that no changes in the query SPI are needed. Other ideas are welcome.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (OAK-425) Query Index: pass the query statement to the index for logging purposes

Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OAK-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Mueller resolved OAK-425.
--------------------------------

    Resolution: Fixed

r1408729
                
> Query Index: pass the query statement to the index for logging purposes
> -----------------------------------------------------------------------
>
>                 Key: OAK-425
>                 URL: https://issues.apache.org/jira/browse/OAK-425
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>
> The query index might want to log activity (number of read nodes,...). Currently, the query index doesn't know the query statement itself, so the context of the log info is lost.
> To solve that, I added a 'statement' parameter to the TraversingIndex, but that's not a nice solution, as it only works with the TraversingIndex.
> Probably a better solution is to make the query statement available in the Filter, so that no changes in the query SPI are needed. Other ideas are welcome.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (OAK-425) Query Index: pass the query statement to the index for logging purposes

Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OAK-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Mueller reassigned OAK-425:
----------------------------------

    Assignee: Thomas Mueller
    
> Query Index: pass the query statement to the index for logging purposes
> -----------------------------------------------------------------------
>
>                 Key: OAK-425
>                 URL: https://issues.apache.org/jira/browse/OAK-425
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>
> The query index might want to log activity (number of read nodes,...). Currently, the query index doesn't know the query statement itself, so the context of the log info is lost.
> To solve that, I added a 'statement' parameter to the TraversingIndex, but that's not a nice solution, as it only works with the TraversingIndex.
> Probably a better solution is to make the query statement available in the Filter, so that no changes in the query SPI are needed. Other ideas are welcome.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira