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 "Thomas Mueller (Jira)" <ji...@apache.org> on 2026/09/22 13:16:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=18118016#comment-18118016 ] 

Thomas Mueller commented on OAK-12406:
--------------------------------------

https://github.com/apache/jackrabbit-oak/pull/3139

> "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)