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