Chetan Mehrotra created OAK-4874: ------------------------------------ Summary: Improve the warning logged when traversal happens within property index Key: OAK-4874 URL: https://issues.apache.org/jira/browse/OAK-4874 Project: Jackrabbit Oak Issue Type: Improvement Components: query Reporter: Chetan Mehrotra Assignee: Chetan Mehrotra Priority: Minor Fix For: 1.6
Currently a traversal related warning gets logged in 2 modes # Actual traversal - Query execution not backed by any index {noformat} LOG.warn("Traversed " + readCount + " nodes with filter " + filter + "; consider creating an index or changing the query"); {noformat} # Traversal within property index {noformat} LOG.warn("Traversed {} nodes ({} index entries) using index {} with filter {}", readCount, intermediateNodeReadCount, indexName, filter); {noformat} To allow users to better distinguish between these 2 warning we should reword the warning message in #2 to avoid using traversal there -- This message was sent by Atlassian JIRA (v6.3.4#6332)