You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2026/10/20 08:04:00 UTC
[jira] [Closed] (OAK-12406) "if" and "exists" functions for sparse function-based indexing
[ https://issues.apache.org/jira/browse/OAK-12406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke closed OAK-12406.
--------------------------------
> "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
> Assignee: Thomas Mueller
> Priority: Major
> Fix For: 2.8.0
>
>
> 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)