OAK-1966 - Add Hint for selecting more performant index in MongoDocumentStore#query

Disabling the modified index based approach for now (setting default to -1) untill this is fully tested

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1611021 13f79535-47bb-0310-9956-ffa450edef68
OAK-1972: Async property index update may fail on DocumentMK with more than 100 index changes

Test to reproduce the issue

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1611041 13f79535-47bb-0310-9956-ffa450edef68
OAK-1961: Introduce DocumentStoreException

Fix broken cause chain

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1611270 13f79535-47bb-0310-9956-ffa450edef68
OAK-1966 - Add Hint for selecting more performant index in MongoDocumentStore#query

Fix the test to change default value by setting the system property to 120 as we have disabled the feature by default now

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1611275 13f79535-47bb-0310-9956-ffa450edef68
OAK-1972: Async property index update may fail on DocumentMK with more than 100 index changes

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1611277 13f79535-47bb-0310-9956-ffa450edef68
OAK-1975: Wrong values reported for OBSERVATION_EVENT_DURATION
Delegate updating of the relevant counters to a dedicated class

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1611313 13f79535-47bb-0310-9956-ffa450edef68
OAK-1757: Oak eats too many CPU cycles when idle
Align with 1.0 branch. This change got lost probably due to some merge accident

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1611332 13f79535-47bb-0310-9956-ffa450edef68
OAK-1965: Support for constraints like: foo = 'X' OR bar = 'Y'

Decouple OrderedPropertyIndex from PropertyIndex to allow independent evolution

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1611351 13f79535-47bb-0310-9956-ffa450edef68
OAK-1965: Support for constraints like: foo = 'X' OR bar = 'Y'

Refactor PropertyIndex to make it easier to extend.

Make the property index query plans more informative by including
the name of the index being used and the encoded values being looked up.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1611358 13f79535-47bb-0310-9956-ffa450edef68
OAK-1965: Support for constraints like: foo = 'X' OR bar = 'Y'

Push down per-selector multi-property OR constraints and use then in PropertyIndexPlan

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1611359 13f79535-47bb-0310-9956-ffa450edef68
OAK-1973 - IndexUpdate traverses the data nodes under index nodes

– Wraps the IndexUpdate with VisibleEditor where used (except Upgrade)
– Removed internal wrapping of editors as the IndexUpdate itself is wrapped

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1611584 13f79535-47bb-0310-9956-ffa450edef68
OAK-1896 - Move JR2 specific logic from oak-run to separate module

Modified the build to produce two jars
- oak-run - Contains all Oak related jars and supports all Oak modes
- oak-run-jr2 - Contains Oak and Jackrabbit 2 jars. Support all JR2 related modes like upgrade and benchmark

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1611742 13f79535-47bb-0310-9956-ffa450edef68
Merge branch 'upstream-trunk' into OAK-1892
OAK-1695 - embdedded Solr server doc

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1612531 13f79535-47bb-0310-9956-ffa450edef68
OAK-1875 - provided broader test of cost and enabled filter restrictions

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1612560 13f79535-47bb-0310-9956-ffa450edef68
OAK-1926 - UnmergedBranch state growing with empty BranchCommit leading to performance degradation

Unmerged persistent branch revs would be purged upon start for current cluster

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1612825 13f79535-47bb-0310-9956-ffa450edef68
OAK-1983 Query: reduce debug log output

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1612828 13f79535-47bb-0310-9956-ffa450edef68
OAK-1982 Ordered index must ignore full-text queries

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1612835 13f79535-47bb-0310-9956-ffa450edef68
Merge branch 'upstream-trunk' into OAK-1892