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 2013/05/15 17:41:16 UTC

[jira] [Commented] (OAK-262) Query: support pseudo properties like jcr:score() and rep:excerpt()

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

Thomas Mueller commented on OAK-262:
------------------------------------

Implemented in revision 1482908. This should unblock implementing a fulltext index, and testing such queries.

However, I'm not sure if the query engine would do the right thing if there is a real property called jcr:score or rep:excerpt. I leave the issue open for now, until we have test cases.
                
> Query: support pseudo properties like jcr:score() and rep:excerpt()
> -------------------------------------------------------------------
>
>                 Key: OAK-262
>                 URL: https://issues.apache.org/jira/browse/OAK-262
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>
> The query engine currently only supports properties that are stored within a node. It doesn't currently support "pseudo-properties" that are provided by an index, for example jcr:score() and rep:excerpt(). 
> To support such properties, I suggest to change the Cursor interface to return an "IndexRow" (a new class that can return such pseudo-properties as well as the path) instead of just the path.
> This may also speed up queries that don't require to load the node itself (if access rights can be checked efficiently or don't need to be checked for a given query).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira