Re: [Neo] SingleValueIndex org.neo4j.api.core.NotFoundException: More than one relationship

2009-12-11 Thread Mattias Persson
Hi Arin, Maye we should document this more, but you shouldn't use that class. Instead, take a look at the LuceneIndexService and see how that works out for you. 2009/12/10 Arin Sarkissian a...@rspot.net: Hey guys, I'm pretty new to Neo4j, especially the indexing stuff. Here's my situation.

Re: [Neo] SingleValueIndex org.neo4j.api.core.NotFoundException: More than one relationship

2009-12-11 Thread Johan Svensson
Hi Arin, As Mattias mentioned you should use the IndexService together with LuceneIndexService for this. However could you please send the stacktrace for the NotFoundException? Regarding your comments in the code here are some quick answers: Use the reference node to connect the index or any

Re: [Neo] SingleValueIndex org.neo4j.api.core.NotFoundException: More than one relationship

2009-12-11 Thread Todd Stavish
Hi Arin, I just ran into this same problem. I am not sure about the scalability of my solution, but I only had 20,000 users. It may scale, but I just wanted you to know that I didn't test for it. My goal was to step into the graph using a string based query, that is supplying a user's name. An

Re: [Neo] SingleValueIndex org.neo4j.api.core.NotFoundException: More than one relationship

2009-12-11 Thread Arin Sarkissian
Hey Johan, Here's the stacktrace I get when I run the code at: http://gist.github.com/253569 Exception in thread pool-1-thread-16 org.neo4j.api.core.NotFoundException: More than one relationship[KEY_ENTRY, OUTGOING] found for NodeImpl#3 at

[Neo] SingleValueIndex org.neo4j.api.core.NotFoundException: More than one relationship

2009-12-10 Thread Arin Sarkissian
Hey guys, I'm pretty new to Neo4j, especially the indexing stuff. Here's my situation. I want to be able to get nodes via one of their properties; in this case let's say the Nodes represent a user I want to be able to grab a User's node via their username. So, my initial attempt may be naive