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 da...@apache.org on 2015/10/21 18:07:02 UTC

svn commit: r1709875 - in /jackrabbit/oak/trunk: RELEASE-NOTES.txt oak-doc/src/site/markdown/query/query.md

Author: davide
Date: Wed Oct 21 16:07:02 2015
New Revision: 1709875

URL: http://svn.apache.org/viewvc?rev=1709875&view=rev
Log:
OAK-1617 - Automatically convert "or" queries to "union" for SQL-2

- relase notes
- docs

Modified:
    jackrabbit/oak/trunk/RELEASE-NOTES.txt
    jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query.md

Modified: jackrabbit/oak/trunk/RELEASE-NOTES.txt
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/RELEASE-NOTES.txt?rev=1709875&r1=1709874&r2=1709875&view=diff
==============================================================================
--- jackrabbit/oak/trunk/RELEASE-NOTES.txt (original)
+++ jackrabbit/oak/trunk/RELEASE-NOTES.txt Wed Oct 21 16:07:02 2015
@@ -15,6 +15,13 @@ release.
 The Oak effort is a part of the Apache Jackrabbit project.
 Apache Jackrabbit is a project of the Apache Software Foundation.
 
+New configuration in 1.3.9
+--------------------------
+
+Providing the start-up parameter `-Doak.query.sql2optimisation` will
+enable the experimental feature OAK-1617 that performs another round
+of optimisations on top of a SQL2 query.
+
 Changes in Oak 1.3.8
 --------------------
 

Modified: jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query.md
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query.md?rev=1709875&r1=1709874&r2=1709875&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query.md (original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query.md Wed Oct 21 16:07:02 2015
@@ -393,3 +393,11 @@ The structure of the index is specific t
 flavors store the content as unstructured nodes (clear readable text), the _Lucene_ index is stored as binaries, so one would need to export the
 entire Lucene directory to the local file system and browse it using a dedicated tool.
 
+### SQL2 Optimisation
+
+    @since 1.3.9 with -Doak.query.sql2optimisation
+
+if enabled by providing `-Doak.query.sql2optimisation` at start-up, it
+will perform a round of optimisation on the `Query` object obtained
+after parsing a SQL2 statement. It will for example attempt a
+conversion of OR conditions into UNION (OAK-1617).
\ No newline at end of file