OAK-2200: Tune cost calculation for lucene property index
Added a configurable param entryCount which defaults to 1000 and indicates the max count to be returned by the lucene index.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1634774 13f79535-47bb-0310-9956-ffa450edef68
OAK-2229 - Provide a way for Index implementation to determine reindex modee

When reindex would be done IndexUpdate would increment 'reindexCount' in the index definition node. Index implementation can use that to determine the index generation/revision

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

Handle the reindex case. Make use of reindexCount introduced with OAK-2229

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1634781 13f79535-47bb-0310-9956-ffa450edef68
OAK-2198 - Add support for declaringNodeTypes to only index node with specific types

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

Handle the deletion of old index content post reindex

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1634803 13f79535-47bb-0310-9956-ffa450edef68
OAK-2198 - Add support for declaringNodeTypes to only index node with specific types

Minor refactoring of code

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

Removing implemented TODOs
- Support native functions - OAK-2205
- Support for path restrictions - OAK-2211

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

Ignore plan if index is FullTextEnabled.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1634838 13f79535-47bb-0310-9956-ffa450edef68
OAK-2232: External events incomplete

Ignored test to reproduce the issue

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1634841 13f79535-47bb-0310-9956-ffa450edef68
OAK-2234 - Support property existence query

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1634852 13f79535-47bb-0310-9956-ffa450edef68
OAK-2233 : Add UserIdCredentials to Oak user management extension

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1634853 13f79535-47bb-0310-9956-ffa450edef68
OAK-2235 - Lucene index not created if no node is indexed

By default IndexWriter is lazily created but if logic detects its a reindex mode then it would initialize write and that would create an empty index dir

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1634864 13f79535-47bb-0310-9956-ffa450edef68
OAK-2236 - Support queries with only order by specified

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1634896 13f79535-47bb-0310-9956-ffa450edef68
OAK-2237: NodeStoreKernel.getNodes throws when passing filter=""

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1634898 13f79535-47bb-0310-9956-ffa450edef68
OAK-2198 - Add support for declaringNodeTypes to only index node with specific types

Specify generic type

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1635044 13f79535-47bb-0310-9956-ffa450edef68
OAK-2239 - Do not wrap LucenePropertyIndex with AggregateIndex

Moved the wrapping logic to provider implementation

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1635045 13f79535-47bb-0310-9956-ffa450edef68
OAK-2230: Execution Stats for async indexing
Added resettable consolidated execution stats
TimeSeries for trends

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1635058 13f79535-47bb-0310-9956-ffa450edef68
OAK-2128:  Scalability benchmarks for search
Logging execution stats introduced in OAK-2230

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1635059 13f79535-47bb-0310-9956-ffa450edef68
OAK-2196: Implement sorting based on Lucene sorting
For ordered fields try conversion to defined type from the actual type if different and log warning and ignore if conversion fails.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1635060 13f79535-47bb-0310-9956-ffa450edef68
OAK-301 Document Oak

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