OAK-2260 TarMK Cold Standby can corrupt bulk segments

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1637815 13f79535-47bb-0310-9956-ffa450edef68
OAK-2261 - Enable support for NodeType based indexing rules

Switch to using NodeState instead of NodeBuilder in IndexDefinition

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1637880 13f79535-47bb-0310-9956-ffa450edef68
OAK-2261 - Enable support for NodeType based indexing rules

Pass on the 'root' NodeState to IndexDefinition. This would later be used to create NodeTypeManager for evaluating NodeType hierarchy

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1637886 13f79535-47bb-0310-9956-ffa450edef68
OAK-2190: Support for like query for string
Applied the patch from Chetan and enabled the test with an extra condition.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1638705 13f79535-47bb-0310-9956-ffa450edef68
OAK-2261 - Enable support for NodeType based indexing rules

Refactor config related methods to a util class

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1638779 13f79535-47bb-0310-9956-ffa450edef68
OAK-2261 - Enable support for NodeType based indexing rules

Refactor the boost logic. Boost would always be set. Default to 1.0f unless configured explicitly

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1638780 13f79535-47bb-0310-9956-ffa450edef68
OAK-2261 - Enable support for NodeType based indexing rules (WIP)

Add support for IndexRule configuration parsing

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1638781 13f79535-47bb-0310-9956-ffa450edef68
OAK-2261 - Enable support for NodeType based indexing rules (WIP)

Read children using Tree api to respect ordering

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1638782 13f79535-47bb-0310-9956-ffa450edef68
OAK-2261 - Enable support for NodeType based indexing rules (WIP)

Implement toString for IndexDefinition to aid in debugging. Supports 'name' property in definition node which would be used in toString to uniquely refer to an index definition. If path is known it would also be dumped

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1638783 13f79535-47bb-0310-9956-ffa450edef68
OAK-2267: Expose checkpoints through JMX

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1639056 13f79535-47bb-0310-9956-ffa450edef68
OAK-2261 - Enable support for NodeType based indexing rules (WIP)

Provide config option to disable IndexRule inheritance. By default the rules would be inheritable

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1639260 13f79535-47bb-0310-9956-ffa450edef68
OAK-2267: Expose checkpoints through JMX
Deprecate exiting checkpoint methods in favour of CheckpointMBean

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1639316 13f79535-47bb-0310-9956-ffa450edef68
OAK-2261 - Enable support for NodeType based indexing rules (WIP)

Remove dependency on ImmutableRoot (as it is part of o.a.j.oak.core package which is not exported)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1639577 13f79535-47bb-0310-9956-ffa450edef68
OAK-2270 - Resolve usage of ImmutableTree wrt OSGi constraints

Inlining the required classes for now

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1639622 13f79535-47bb-0310-9956-ffa450edef68
OAK-2261 - Enable support for NodeType based indexing rules (WIP)

Compatibility support - Impilement logic to adapt existing index config to IndexRule based config
* If no declaredNodeType defined then existing 'properties' config is mapped to rule for type nt:base
* If declaredNodeType defined then non inheritable rule is defined for each nodeType

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1639963 13f79535-47bb-0310-9956-ffa450edef68
OAK-2270 - Resolve usage of ImmutableTree wrt OSGi constraints

Fix the embed-dependency tag expression

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1639966 13f79535-47bb-0310-9956-ffa450edef68
OAK-2261 - Enable support for NodeType based indexing rules (WIP)

* Set primaryType for runtime create NodeStates
* Use property name as node name unless its not suitable to be used i.e. in relative prop name case or regEx

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

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1640090 13f79535-47bb-0310-9956-ffa450edef68
OAK-2261 - Enable support for NodeType based indexing rules (WIP)

Make index editor use the IndexRules

LuceneIndexEditor
* Move to IndexRule for determine what to be indexed and how it is to be indexed
* For each node create a Tree instance - Later they would be utilized to evaluate
   Conditions in indexing rule

IndexDefinition
* Move some of the relative property related logic to IndexRule based
* Make PropertyDefinition accessible from RelativeProperty - This would later be refactored once proper
   aggregation support would be added
* Compatibility Config
   * Always set propertyIndex to false for a fulltext index
   * Copy all the property config from existing property node to indexRule property node

PropertyDefinition
* Change getPropertyType -> getType in PropertyDefinition

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1640134 13f79535-47bb-0310-9956-ffa450edef68
OAK-2266 : UserQueryManager: Sort Ignore Case Reversed

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