You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by re...@apache.org on 2014/05/22 14:11:10 UTC

svn commit: r1596829 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.java

Author: reschke
Date: Thu May 22 12:11:09 2014
New Revision: 1596829

URL: http://svn.apache.org/r1596829
Log:
OAK-1266 - documentation

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.java?rev=1596829&r1=1596828&r2=1596829&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.java (original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.java Thu May 22 12:11:09 2014
@@ -140,13 +140,19 @@ import com.google.common.util.concurrent
  * </table>
  * <p>
  * <em>Note that the database needs to be created/configured to support all Unicode
- * characters in text fields, and to collate by Unicode code point (in DB2: "identity collation").
+ * characters in text fields, and to collate by Unicode code point (in DB2: "identity collation",
+ * in Postgres: "C").
  * THIS IS NOT THE DEFAULT!</em>
  * 
  * <h3>Caching</h3>
  * <p>
  * The cache borrows heavily from the {@link MongoDocumentStore} implementation;
  * however it does not support the off-heap mechanism yet.
+ * 
+ * <h3>Queries</h3>
+ * <p>
+ * The implementation currently supports only two indexed properties: "_modified" and
+ * "_bin". Attempts to use a different indexed property will cause a {@link MicroKernelException}.
  */
 public class RDBDocumentStore implements CachingDocumentStore {
 
@@ -275,6 +281,7 @@ public class RDBDocumentStore implements
     // number of retries for updates
     private static int RETRIES = 10;
 
+    // set of supported indexed properties
     private static Set<String> INDEXEDPROPERTIES = new HashSet<String>(Arrays.asList(new String[] { MODIFIED,
             NodeDocument.HAS_BINARY_FLAG }));