[
https://issues.apache.org/jira/browse/OAK-3825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15104223#comment-15104223
]
Vikas Saurabh commented on OAK-3825:
------------------------------------
Had a chat with [~chetanm] about this and he suggested that we should probably
expose node name as a virtual property to be indexed (say {{oak:nodename}}).
With that in place, using node name would work as other property indices.
There'd be a catch though with usage of relative property name or regexes i.e.
this virtual property should come into play iff the {{PropertyDefinition#name
== "oak:nodename"}}.
[~chetanm], does disallowing relative paths and regex sound fine in context of
node name indexing?
> Including Resource name to suggestions
> --------------------------------------
>
> Key: OAK-3825
> URL: https://issues.apache.org/jira/browse/OAK-3825
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: lucene
> Reporter: Ankit Agarwal
> Assignee: Vikas Saurabh
> Fix For: 1.4
>
>
> Currently it is possible to include properties of a resource into
> suggestions.
> There should be a way so that its possible to include resource name itself
> into suggestions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)