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 th...@apache.org on 2021/07/05 10:04:01 UTC
[jackrabbit-oak] branch trunk updated: OAK-8910 Improve OAK Lucene
Index Documentation
This is an automated email from the ASF dual-hosted git repository.
thomasm pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
The following commit(s) were added to refs/heads/trunk by this push:
new c6bd138 OAK-8910 Improve OAK Lucene Index Documentation
c6bd138 is described below
commit c6bd1382b7f2b55211e8f41dba42ab0d01acf545
Author: thomasm <th...@apache.org>
AuthorDate: Mon Jul 5 12:03:55 2021 +0200
OAK-8910 Improve OAK Lucene Index Documentation
---
oak-doc/src/site/markdown/query/lucene.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/oak-doc/src/site/markdown/query/lucene.md b/oak-doc/src/site/markdown/query/lucene.md
index 6f2189f..95b709e 100644
--- a/oak-doc/src/site/markdown/query/lucene.md
+++ b/oak-doc/src/site/markdown/query/lucene.md
@@ -521,7 +521,8 @@ Property name can be one of following
4. The string `:nodeName` - this special case indexes node name as if it's a
virtual property of the node being indexed. Setting this along with
`nodeScopeIndex=true` is akin to setting `indexNodeName=true` on indexing
- rule. (`@since Oak 1.3.15, 1.2.14`)
+ rule (`@since Oak 1.3.15, 1.2.14`).
+ Ordering is not supported. For ordering, use `function=name()` instead.
##### <a name="path-restrictions"></a> Evaluate Path Restrictions
@@ -1120,6 +1121,7 @@ This allows to search for, and order by, the lower case version of the property
* lower(localname())
* length([test/data])
* length(name())
+* name()
Indexing multi-valued properties is supported.
Relative properties are supported (except for ".." and ".").