]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-5989: Added configuration block, with commented-out override in demo lifesci...
authorAron Roberts <aron@socrates.berkeley.edu>
Thu, 16 May 2013 00:43:31 +0000 (17:43 -0700)
committerAron Roberts <aron@socrates.berkeley.edu>
Thu, 16 May 2013 00:43:31 +0000 (17:43 -0700)
services/common/src/main/cspace/config/services/tenants/lifesci/tenant-bindings.delta.xml
services/common/src/main/cspace/config/services/tenants/tenant-bindings-proto.xml

index 385d81f2d0e1a68c147adc1d2433c65096d6092e..e7946cac785d27b9759205b6f20061ce51b81e04 100644 (file)
                 <types:value>100</types:value>
             </types:item>
             -->
+            <!--
+            <types:item id="jdbcqueriestenantrestricted" xmlns:types="http://collectionspace.org/services/config/types"
+                        merge:matcher="id" merge:action="replace">
+                <types:key>jdbcQueriesAreTenantIdRestricted</types:key>
+                <types:value>false</types:value>
+            </types:item>
+            -->
         </tenant:properties>
        
        <tenant:serviceBindings merge:matcher="id" id="CollectionObjects">
index 09bbd592fb8d65d9d02f300ddecdff3617808525..beb8525e9e578dcbefd368fe6b6ecd2b21688133 100644 (file)
@@ -61,7 +61,8 @@
                 just at the beginning of a term.
 
                 See the tenant-bindings.delta.xml file for the 'lifesci' tenant,
-                for an example of how to override this value in your tenant.
+                for examples of how to override this value, and other, similar
+                values below, in your own tenant.
             -->
             <types:item id="ptstartingwildcard" xmlns:types="http://collectionspace.org/services/config/types">
                 <types:key>ptStartingWildcard</types:key>
             <!--
                By default, term completion searches return a maximum number
                of terms in their search results. The default value is 40 terms.
-               See the tenant-bindings.delta.xml file for the 'lifesci' tenant,
-               for an example of how to override this value in your tenant.
             -->
             <types:item id="maxlistitemsjdbc" xmlns:types="http://collectionspace.org/services/config/types">
                 <types:key>maxListItemsReturnedLimitOnJdbcQueries</types:key>
                 <types:value>40</types:value>
             </types:item>
+             <!--
+               By default, term completion searches are restricted (constrained)
+               to the current tenant. On a system where a tenant's data is
+               isolated within its own repository, or on a shared repository
+               system where only one tenant has data, this restriction can be
+               removed by setting the value below to 'false'. That will remove
+               one SQL JOIN from the query, potentially improving search performance.
+            -->
+            <types:item id="jdbcqueriestenantrestricted" xmlns:types="http://collectionspace.org/services/config/types">
+                <types:key>jdbcQueriesAreTenantIdRestricted</types:key>
+                <types:value>true</types:value>
+            </types:item>
         </tenant:properties>        
         
         <!-- begin idgenerator service meta-data -->