Suppose a "Notification" entity. To keep thing simple, let's assume a single property: "*readFlag*", that could be *true* if the notification was already read by the client, or *false* if it is new or not checked by the client yet.
What is the difference in term of performance between those both ways to retrieve *read notifications?*: - Set a label on the "*Notification*" node called "*ReadNotification*" and query them using: *MATCH(r:ReadNotification) return r * - *Index* the "*readFlag*" property of the "*Notification*" node without needing a label. Query would be: *MATCH(n:Notification) WHERE n.read = true return n* Are both ways very similar? Which one should I choose? Thanks a lot, Michael -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
