couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: Hierarchical comments Hacker News style
Date Sun, 20 May 2012 03:59:25 GMT
On Thursday, May 17, 2012, Luca Matteis wrote:

> On Thu, May 17, 2012 at 8:19 PM, Matthieu Rakotojaona
> <matthieu.rakotojaona@gmail.com <javascript:;>> wrote:
> > ["905"] // 905 points for post "1"
> > ["1","36"] // 36 points for post "1/4"
> > ["1","76"] // 76 points for post "1/2"
> > ["1","2","14"] // 14 points for post "1/2/3"
> > ["1","4","1"] // 1 point for post "1/4/6"
>
> Okay but the new "1/4/6" comment you just added doesn't appear
> underneath the "1/4" comment. I want the view to keep things in order
> for me. Whilst this would require me to process the view and order
> things myself using another language. Instead I only have Couch, and I
> want Couch to do the work.
>

if you had a look in the nymphormations code , posted on @dev to this
topoc, you could  have seen ot is using the local seq in the emitted key to
handle that.

benoƮt

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message