OAK-2298 - LuceneIndex should provide correct cost based on index size

If query involves fulltext then estimatedEntryCount would reflect numOfDoc (unless entryCount is explicitly configured, default value is not considered). For property indexes min of entryCount and numOfDocs would be used (default entryCount set to 1000)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1642031 13f79535-47bb-0310-9956-ffa450edef68
OAK-2138 : documentation

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1642055 13f79535-47bb-0310-9956-ffa450edef68
OAK-2268: Support index time Aggregation of repository nodes
Minor logging changes

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1642056 13f79535-47bb-0310-9956-ffa450edef68
OAK-2138 : documentation

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1642057 13f79535-47bb-0310-9956-ffa450edef68
OAK-2303 - added jsr305 annotations

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1642062 13f79535-47bb-0310-9956-ffa450edef68
OAK-2302 - Simplify query debugging with MDC

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1642119 13f79535-47bb-0310-9956-ffa450edef68
OAK-2077: Improve the resilence of the OrderedIndex for dangling links

tracked a warning when a dangling link is enountered and in case it
happens during an insert it attempts to clean it up.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1642285 13f79535-47bb-0310-9956-ffa450edef68
OAK-1941 - do not rely on connection.close rolling back the transaction

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1642299 13f79535-47bb-0310-9956-ffa450edef68
OAK-1941 - properly declare when we'll use a connection for reading only

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1642303 13f79535-47bb-0310-9956-ffa450edef68
OAK-2308: Incorrect recovery of _lastRev for branch commit

Test and fix

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1642648 13f79535-47bb-0310-9956-ffa450edef68
OAK-1941 - remove unused code

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1642665 13f79535-47bb-0310-9956-ffa450edef68
OAK-2294: Corrupt repository after concurrent version operations
Throw custom exception instead of ISE when segment references are exceeded

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1642667 13f79535-47bb-0310-9956-ffa450edef68
OAK-1941 - rename RDB fixture for consistency

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1642675 13f79535-47bb-0310-9956-ffa450edef68
OAK-2309 Persistent cache: config option for autoCompact

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1642682 13f79535-47bb-0310-9956-ffa450edef68
OAK-1907 Better cost estimates for traversal, property, and ordered indexes (work in progress)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1642683 13f79535-47bb-0310-9956-ffa450edef68
OAK-2291: Associate user defined values with checkpoint
Initial implementation

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1642692 13f79535-47bb-0310-9956-ffa450edef68
OAK-2311: Released checkpoint can still be retrieved
FIXME

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1642694 13f79535-47bb-0310-9956-ffa450edef68
OAK-2312: NodeStoreTest.moveToDescendant fails on MemoryNodeStore
Update test expectation

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1642696 13f79535-47bb-0310-9956-ffa450edef68
OAK-2291: Associate user defined values with checkpoint
Include user defined properties in CheckpointMBean

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1642715 13f79535-47bb-0310-9956-ffa450edef68
OAK-2313 Better handling for external binaries in the segment explorer

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1642765 13f79535-47bb-0310-9956-ffa450edef68