[
https://issues.apache.org/jira/browse/OAK-12406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Mueller updated OAK-12406:
---------------------------------
Summary: "if" and "exists" functions for sparse function-based indexing
(was: "if" and "exists" functions for function-based indexing)
> "if" and "exists" functions for sparse function-based indexing
> --------------------------------------------------------------
>
> Key: OAK-12406
> URL: https://issues.apache.org/jira/browse/OAK-12406
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Reporter: Thomas Mueller
> Priority: Major
>
> With function-based indexes we can index the upper-case version of a
> property. But we currently can't index properties conditionally, for example
> index the path, but only if a certain property exists.
> We don't want to add many functions, but but such a feature would be useful.
> Example:
> {noformat}
> if(exists([alias]), path(), null)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)