Author: thomasm
Date: Fri Oct 7 13:35:19 2016
New Revision: 1763760
URL: http://svn.apache.org/viewvc?rev=1763760&view=rev
Log:
OAK-4265 XPath: support limited form of union
Modified:
jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query-engine.md
Modified: jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query-engine.md
URL:
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query-engine.md?rev=1763760&r1=1763759&r2=1763760&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query-engine.md
(original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query-engine.md Fri
Oct 7 13:35:19 2016
@@ -395,3 +395,22 @@ for example attempt a conversion of OR c
[OAK-1617](https://issues.apache.org/jira/browse/OAK-1617).
To disable it provide `-Doak.query.sql2optimisation=false` at the start-up.
+
+### Additional XPath and SQL-2 Features
+
+The Oak implementation supports some features that are not part of the JCR
specification:
+
+ @since 1.5.12
+
+Union for XPath and SQL-2 queries. Examples:
+
+ /jcr:root/(content|lib)/*
+ /jcr:root/content//*[@a] | /jcr:root/lib//*[@b]) order by @c
+ select * from [nt:base] as a where issamenode(a, '/content')
+ union select * from [nt:base] as a where issamenode(a, '/lib')
+
+XPath functions "fn:string-length" and "fn:local-name".
+
+
+
+
\ No newline at end of file