Author: catholicon
Date: Thu Jun 13 15:38:01 2019
New Revision: 1861271

URL: http://svn.apache.org/viewvc?rev=1861271&view=rev
Log:
OAK-8271: Lucene path transformed result doesn't accomodate wildcards in 
relative path

Add a bit of grammar doc

Modified:
    jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/grammar-sql2.md.vm
    jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/grammar-xpath.md.vm

Modified: 
jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/grammar-sql2.md.vm
URL: 
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/grammar-sql2.md.vm?rev=1861271&r1=1861270&r2=1861271&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/grammar-sql2.md.vm 
(original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/grammar-sql2.md.vm Thu 
Jun 13 15:38:01 2019
@@ -229,6 +229,10 @@ The selector name is only needed if the
 
 Property names can be relative, so that for example 'jcr:content/test'
 means the property names 'test' in the child node 'jcr:content'.
+Relative path fragments can also contain `*` to represent 'any' node at
+that point. `//` is *not* supported as part of relative path. So, `a/*/test`,
+`*/a/test`, `a/*/*/test` etc are valid while `a//test`, `a/*/b//test`, etc are
+*not*.
 
 The wildcard '*' means any property.
 

Modified: 
jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/grammar-xpath.md.vm
URL: 
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/grammar-xpath.md.vm?rev=1861271&r1=1861270&r2=1861271&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/grammar-xpath.md.vm 
(original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/grammar-xpath.md.vm 
Thu Jun 13 15:38:01 2019
@@ -278,6 +278,11 @@ Examples:
 The "*" stands for any property.
 Using it in a condition requires a relative path. 
 For example: `[./* = 'test']` means where any property matches the word 'test'.
+Relative path fragments can also contain `*` to represent 'any' node at
+that point. `//` is *not* supported as part of relative path. So, `a/*/@test`,
+`*/a/@test`, `a/*/*/@test` etc are valid while `a//@test`, `a/*/b//@test`, etc 
are
+*not*.
+
 
 "jcr:score()" is the score returned by the index.
 


Reply via email to