jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-3574) Query engine: support p=lowercase('x') and other function-based indexes
Date Wed, 14 Sep 2016 14:02:20 GMT

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

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

> this can be computed once

You are right! I will fix that.

> not work if the relative property which is encoded in function gets changed

Good catch! I will add a test case and fix this. I will add the relative property / properties
in collectPropConfigs to the propAggregate list. That way, a function can potentially have
multiple parameters in the future (for example, a function that calculates the duration based
on start and end date). 


> 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
>         Attachments: OAK-3574-lucene.patch
>
>
> 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)

Mime
View raw message