Author: thomasm
Date: Tue Nov 28 15:30:19 2017
New Revision: 1816555
URL: http://svn.apache.org/viewvc?rev=1816555&view=rev
Log:
OAK-301: Document Oak
Modified:
jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md
Modified: jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md
URL:
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md?rev=1816555&r1=1816554&r2=1816555&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md (original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md Tue Nov 28
15:30:19 2017
@@ -53,6 +53,7 @@
* [Score Explanation](#score-explanation)
* [Custom hooks](#custom-hooks)
* [Design Considerations](#design-considerations)
+* [Limits](#limits)
* [Lucene Index vs Property Index](#lucene-vs-property)
* [Examples](#examples)
* [A - Simple queries](#simple-queries)
@@ -1401,6 +1402,12 @@ nodetype as Table in your DB and all the
in that table. Various property definitions can then be considered as index
for
those columns.
+### <a name="limits"></a>Limits
+
+The Apache Lucene version currently used in Oak has a limit of about 2^31
documents per index
+([this includes Lucene version
6](http://lucene.apache.org/core/6_5_0/core/org/apache/lucene/codecs/lucene62/package-summary.html#Limitations)).
+If a larger index is needed, please use Apache Solr, which doesn't have this
limit.
+
### <a name="lucene-vs-property"></a>Lucene Index vs Property Index
Lucene based index can be restricted to index only specific properties and in
that