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 2016/06/09 12:23:21 UTC

[jira] [Commented] (OAK-3574) Query engine: support p=lowercase('x') and other function-based indexes

    [ https://issues.apache.org/jira/browse/OAK-3574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15322415#comment-15322415 ] 

Thomas Mueller commented on OAK-3574:
-------------------------------------

length(property) = 10 and length(name()) = 10 can be supported as well. Also, other comparison types, such as upper(property) > 'abc', length(property) < 10. 

In theory, combined functions can be supported (upper(lower(x)), but the grammar doesn't support that, and such combinations rarely make sense.

> Query engine: support p=lowercase('x') and other function-based indexes
> -----------------------------------------------------------------------
>
>                 Key: OAK-3574
>                 URL: https://issues.apache.org/jira/browse/OAK-3574
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: core, query
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>
> Currently, the query engine and indexes don't support function-based indexes for conditions of the form lowercase(property) = 'x'. This needs to be supported, specially for the Lucene property index.
> Also important is lowercase(name()).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)