You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by th...@apache.org on 2019/07/04 08:23:21 UTC

svn commit: r1862540 - /jackrabbit/site/live/oak/docs/query/property-index.html

Author: thomasm
Date: Thu Jul  4 08:23:21 2019
New Revision: 1862540

URL: http://svn.apache.org/viewvc?rev=1862540&view=rev
Log:
OAK-936: Site checkin for project Oak Documentation-1.14-SNAPSHOT

Modified:
    jackrabbit/site/live/oak/docs/query/property-index.html

Modified: jackrabbit/site/live/oak/docs/query/property-index.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/query/property-index.html?rev=1862540&r1=1862539&r2=1862540&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/query/property-index.html (original)
+++ jackrabbit/site/live/oak/docs/query/property-index.html Thu Jul  4 08:23:21 2019
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia Site Renderer 1.8.1 at 2019-07-03 
+ | Generated by Apache Maven Doxia Site Renderer 1.8.1 at 2019-07-04 
  | Rendered using Apache Maven Fluido Skin 1.6
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20190703" />
+    <meta name="Date-Revision-yyyymmdd" content="20190704" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak &#x2013; The Property Index</title>
     <link rel="stylesheet" href="../css/apache-maven-fluido-1.6.min.css" />
@@ -151,7 +151,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate">Last Published: 2019-07-03<span class="divider">|</span>
+        <li id="publishDate">Last Published: 2019-07-04<span class="divider">|</span>
 </li>
           <li id="projectVersion">Version: 1.14-SNAPSHOT</li>
         </ul>
@@ -293,7 +293,7 @@
 <ul>
 
 <li><tt>declaringNodeTypes</tt> (Name, multi-valued): the index only applies to a certain node type.</li>
-<li><tt>unique</tt> (Boolean): if set to <tt>true</tt>, a uniqueness constraint on this property is added. Ensure you set declaringNodeTypes, otherwise all nodes of the repository are affected (which is most likely not what you want), and you are not able to version the node.</li>
+<li><tt>unique</tt> (Boolean): if set to <tt>true</tt>, a uniqueness constraint on this property is added. Ensure you set declaringNodeTypes, otherwise all nodes of the repository are affected (which is most likely not what you want), and you are not able to version the node. Only the first 100 characters are used to check for uniqueness. That means, the first 100 characters of the value need to be different; if not, then trying to store is rejected with the exception &#x201c;Uniqueness constraint violated&#x201d;. This only applies to storing; when querying, all characters are considered.</li>
 <li><tt>includedPaths</tt> (String, multi-valued): the paths that are included (&#x2018;/&#x2019; if not set). Since Oak version 1.4 (OAK-3263). The index is only used if the query has a path restriction that is not excluded, and part of the included paths.</li>
 <li><tt>excludedPaths</tt> (String, multi-valued): the paths where this index is excluded (none if not set). Since Oak version 1.4 (OAK-3263). The index is only used if the query has a path restriction that is not excluded, and part of the included paths.</li>
 <li><tt>valuePattern</tt> (String) A regular expression of all indexed values. The index is used for equality conditions where the value matches the pattern, and for &#x201c;in(&#x2026;)&#x201d; queries where all values match the pattern. The index is not used for &#x201c;like&#x201d; conditions. Since Oak version 1.7.2 (OAK-4637).</li>