Michael Marth created OAK-3839:
----------------------------------

             Summary: Suggest missing indexes
                 Key: OAK-3839
                 URL: https://issues.apache.org/jira/browse/OAK-3839
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: query
    Affects Versions: 1.3.13, 1.0.25, 1.2.9
            Reporter: Michael Marth


For queries that lack the appropriate indexes (i.e. falling back on traversal) 
it would be helpful if the query engine could suggest which index to create. 
The missing index should not be created automatically and the suggestion should 
only be displayed in DEBUG mode. To begin with a message in the log would be 
great (we could extend with an MBean later). Also, it would be helpful to cover 
the simple cases first (I imagine the implementation of a complete suggestion 
mechanism could be quite complex).



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

Reply via email to