Re: [Neo] Managing nodes with same values for a property
2010/2/24 Sumanth Thikka suma...@truesparrow.com: Hi Mario, Thanks for your reply. My requirement is to avoid duplicates. For that, do we need to find the nodes with the same value and avoid inserting, as it is mentioned or any alternative(optimized) ways known to do this? The best way is probably to use an IndexService (LuceneIndexService) to keep track that / Mattias ___ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo] Managing nodes with same values for a property
Hi, A clarification regarding the properties of nodes. If I am not wrong two nodes can have same value for similar property. For example: node1.setProperty(name, Sumanth), node2.setProperty(name, Sumanth) is valid. node1 and node2 have same value Sumanth for the property name. My doubt is, how do we distinguish these nodes? Do we need to check if there already exists any node with the similar property value in Lucene(if one uses lucene) before creating? Thank you, T.Sumanth ___ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user