how about "weight"?

On Thu, Jan 19, 2012 at 6:23 PM, Aseem Kishore <aseem.kish...@gmail.com> wrote:
> Hi there,
>
> Take a Facebook-like example, where users can "like" different
> movies/music/celebs/etc. Suppose we want to let users drag-and-drop these
> movies/etc. on their profile pages, to let them e.g. show their favorite
> movies first.
>
> How would you guys recommend achieving that in Neo4j? If possible, I'd like
> to avoid creating a node for every relationship (redundancy/overhead as we
> do this more and more).
>
> I can't think of anything better than putting properties on the
> relationship. Maybe index numbers (e.g. rel D might have "index: 0", rel B
> might have "index: 1", etc.), but that's essentially reordering an array,
> which sucks. The other option that thus came to mind was to mimic a linked
> list: have an "after" property that contains the ID of the relationship
> this one comes after (and/or maybe a "before" property instead or in
> addition).
>
> Just wondering if there are better ideas! Thanks. =)
>
> Aseem
> _______________________________________________
> NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please register 
> and consider posting at https://groups.google.com/forum/#!forum/neo4j
>
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user



-- 
Best wishes,

Linan Wang
Architect, Programmer, PhD
_______________________________________________
NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please register 
and consider posting at https://groups.google.com/forum/#!forum/neo4j

Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to