jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-169) Support orderable nodes
Date Fri, 06 Jul 2012 13:26:34 GMT

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

Carsten Ziegeler commented on OAK-169:

The queues have no size limit in my case and yes I'll end up with lets say 100.000 to 300.000
Sure I can use timestamps for those things and maybe that's the solution.
However, give me the first ten entries is usually listing the first 10 added nodes whereas
I would have to do a query with a timestamp property
I just realized that this is about "explicitly specify" the order - so in my use cases I don't
have to explicitly specify the order but use insert order. If nodes are returned in that order
my use case would be solved as well.

I'm not implying that you should implement something for my use cases, but I think saying
"there are any good uses cases" is a little bit too quick for me :) 
> Support orderable nodes
> -----------------------
>                 Key: OAK-169
>                 URL: https://issues.apache.org/jira/browse/OAK-169
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: jcr
>            Reporter: Jukka Zitting
> There are JCR clients that depend on the ability to explicitly specify the order of child
nodes. That functionality is not included in the MicroKernel tree model, so we need to implement
it either in oak-core or oak-jcr using something like an extra (hidden) {{oak:childOrder}}
property that records the specified ordering of child nodes. A multi-valued string property
is probably good enough for this.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message