Sweet.
My test using the LuceneIndex worked like a charm. I set off a test
script to index the same node 100,000 times in 10 threads and there
were zero exceptions =)
here's the ghetto, brute force test. Feedback and tips are always
welcome http://gist.github.com/254435
Thanks for the help guys,
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 org.neo4j.impl.core.NodeImpl.getSingleRelations
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 i
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 ot
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 :
> Hey guys,
>
> I'm pretty new to Neo4j, especially the indexing stuff.
>
> Here's my situation. I want to
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 (
6 matches
Mail list logo