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 ca...@apache.org on 2016/01/22 23:20:57 UTC
svn commit: r1726331 -
/jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md
Author: catholicon
Date: Fri Jan 22 22:20:57 2016
New Revision: 1726331
URL: http://svn.apache.org/viewvc?rev=1726331&view=rev
Log:
OAK-3825: Including Resource name to suggestions
Update documentation
Modified:
jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md
Modified: jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md?rev=1726331&r1=1726330&r2=1726331&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md (original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md Fri Jan 22 22:20:57 2016
@@ -355,7 +355,7 @@ nullCheckEnabled
Refer to [IS NULL support][OAK-2517] for more details
-**Property Names**
+<a name="property-names"></a>**Property Names**
Property name can be one of following
@@ -369,6 +369,10 @@ Property name can be one of following
_jcr:content/metadata/dc:.*$_
which indexes all property names starting with _dc_ from node with
relative path _jcr:content/metadata_
+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`)
<a name="path-restrictions"></a>
##### Evaluate Path Restrictions
@@ -988,6 +992,8 @@ Analyzed suggestions can be enabled by s
- suggestAnalyzed = true
```
+Setting up `useInSuggest=true` for a property definition having `name=:nodeName` would add node names to
+suggestion dictionary (See [property name](#property-names) for node name indexing)
#### Spellchecking