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

Reply via email to