[
https://issues.apache.org/jira/browse/OAK-3825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vikas Saurabh updated OAK-3825:
-------------------------------
Attachment: OAK-3825.patch
[~chetanm], can you please checkout the attached patch - [^OAK-3825.patch].
Essentially, it allows configuring a property definitions with
{{name=":nodeName"}} and index it using state.properties loop in makeDocument
(as we don't want to support regex or relative paths for this).
With this setting, both IndexDef.indexNodeNames=true or
PropertyDef.name=:nodeName would work for indexing node name.
The reason to retain :nodeName instead of moving onto something like
oak:nodename was that would have required re-indexing for setups with
indexNodeNames=true set already.
> 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
>
> Attachments: OAK-3825.patch
>
>
> 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)