OAK-1941 - in queries, avoid re-parsing content from the DB when it's already in the cache

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1634055 13f79535-47bb-0310-9956-ffa450edef68
OAK-2005 - Use separate Lucene index for performing property related queries

Modifying the test logic to ensure that previous Lucene index is not lost. With this change Lucene does not modify existing files

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

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

Expose various stats related to copying over JMX

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1634513 13f79535-47bb-0310-9956-ffa450edef68
Merge branch 'upstream-trunk' into OAK-2226
OAK-2226 - Lucene no results for multiple jcr:contains

registered the node types
OAK-2226 - Lucene no results for multiple jcr:contains

unit test with custom node types
OAK-2226 - Lucene no results for multiple jcr:contains

code clean-up