OAK-1711 Provide tools to manage externally synced users

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1587319 13f79535-47bb-0310-9956-ffa450edef68
OAK-1719: Missing commit hooks in upgrade

Add an editor for upgrading rep:glob entries in existing Jackrabbit Classic ACEs to the rep:restrictions structure used in Oak
Make the RepositoryUpgrade class easier to extend and customize.
Use the after instead of the before state to get privilege bits in PermissionHook, as otherwise newly added privileges won't be reflected in the permission store.
Also: Avoid NPE in SegmentNodeState.getStringValue("jcr:primaryType") in the unexpected case when a primary type is not set.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1587399 13f79535-47bb-0310-9956-ffa450edef68
OAK-1719: Missing commit hooks in upgrade

Fix compile error.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1587408 13f79535-47bb-0310-9956-ffa450edef68
OAK-1722: Use a shared IndexSearcher for performing Lucene queries

Turn the LuceneIndexProvider into an Observer so it can track changes to in-content Lucene indices.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1587428 13f79535-47bb-0310-9956-ffa450edef68
OAK-1724: Enable copying of Lucene index to local file system for read queries

Decrease the blob entry size to below the SegmentMK inline limit to ensure good performance even when using the SegmentMK with an external Data/BlobStore.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1587430 13f79535-47bb-0310-9956-ffa450edef68
OAK-1708 - add comments about temporary embeds

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1587469 13f79535-47bb-0310-9956-ffa450edef68
OAK-1730 - fixed possible NPE in OrderedContentMirrorStrategy

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1587472 13f79535-47bb-0310-9956-ffa450edef68
OAK-1733 Consolidate Mongo client connection creation logic

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1587483 13f79535-47bb-0310-9956-ffa450edef68
OAK-1731: Repository upgrade does not copy default values of property definitions
Test case (commented out for the time being)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1587485 13f79535-47bb-0310-9956-ffa450edef68
OAK-319 Similar (rep:similar) support

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1587488 13f79535-47bb-0310-9956-ffa450edef68
bump up H2 version, move version + into parent pom

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1587493 13f79535-47bb-0310-9956-ffa450edef68
OAK-925 - Query: Lucene index loads all path in memory

Modified the LucenePathCursor to use an iterator for fetching LuceneResultRow. The iterator impl would fetch lucene results in batches of 50

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1587504 13f79535-47bb-0310-9956-ffa450edef68
OAK-1702 - Create a benchmark for Full text search

Reduce the number of rows fetched to 100

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1587505 13f79535-47bb-0310-9956-ffa450edef68
OAK-1732: Cluster node lease not renewed in time

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1587538 13f79535-47bb-0310-9956-ffa450edef68
cleanup: remove obsolete version of (R)DBBlobStore

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1587558 13f79535-47bb-0310-9956-ffa450edef68
OAK-1731: Repository upgrade does not copy default values of property definitions
Copy default values of property definitions during upgrade

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1587580 13f79535-47bb-0310-9956-ffa450edef68
OAK-1702: Create a benchmark for Full text search

Perform 100 full text queries per test iteration to get more accurate test results.
Call getString() on the matching title/text properties and aggregate the results to prevent the JIT compiler from optimizing away unused bits of code.
Also give more time for initial indexing

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1587712 13f79535-47bb-0310-9956-ffa450edef68
OAK-1722: Use a shared IndexSearcher for performing Lucene queries

Improve concurrency of IndexTracker based on suggestion by Chetan.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1587787 13f79535-47bb-0310-9956-ffa450edef68
OAK-1667 - Encode Blob length as part of blobId in DataStoreBlobStore

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1587800 13f79535-47bb-0310-9956-ffa450edef68
OAK-1667 - Encode Blob length as part of blobId in DataStoreBlobStore

Fix the test logic as we encode the length by default.

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