Hi All
I have a requirement where I must check if there is an already
existing relationship between two nodes (say N1 and N2). Right now,
I'm doing it as follows:
boolean found = false;
final IterableRelationship currentRels =
N1.getRelationships(RelTypes.KNOWS, Direction.OUTGOING);
for
Looping through relatiomships manually is the way to go. However
there's a new component in
https://svn.neo4j.org/laboratory/components/lucene-index/ which can
index relationships and do fast lookups on whether or not a
relationship (with a certain attribute even) exists between two nodes.
You'll
Thanx Mattias. Can I download a tar.gz or zip file from somewhere? I'm
not using Maven in my projects yet...I mean I'm not very comfortable
with it.
Arijit
On 30 July 2010 17:33, Mattias Persson matt...@neotechnology.com wrote:
Looping through relatiomships manually is the way to go. However
Tom,
I just installed the python bindings and tried this very simple setup
to create a database and populate it within a transaction:
#!/usr/bin/env python
import sys, random, csv
from time import sleep
from random import randint
import neo4j
graphdb = neo4j.GraphDatabase(db)
with
Tom,
just tried this, works for me (notice there is no #!/usr/bin/env
python at the beginning of the file). If this and the last trivial
snippet I sent does not work, I would suspect some hickups in the
setup and installation of JPype and the Neo4j bindings?
I did (on Mac OS X, Python 2.6)
1.
The latest snapshots of things can be found at http://m2.neo4j.org/
and this component (jar-file) can be found in
http://m2.neo4j.org/org/neo4j/neo4j-lucene-index/0.1-SNAPSHOT/
2010/7/30, Arijit Mukherjee ariji...@gmail.com:
Thanx Mattias. Can I download a tar.gz or zip file from somewhere? I'm
Gentlemen,
Neo4j 1.1 has arrived - http://bit.ly/neo4j11 (changelog at
http://dist.neo4j.org/CHANGES.txt)!
Change your Maven pom.xml and rejoice :)
Happy hacking,
/peter neubauer
COO and Sales, Neo Technology
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
On 30 Jul 2010, at 15:35, user-requ...@lists.neo4j.org wrote:
graphdb = neo4j.GraphDatabase(db)
with graphdb.transaction:
person = graphdb.node(name=Person)
peter = graphdb.node(name=Peter)
peter.IS_A(person)
print peter['name']
graphdb.shutdown()
Yes that works great... I think
Hi,
today I released an update of the Grails Neo4j plugin
(http://www.grails.org/plugin/neo4j). The main changes are:
* compatibility with Grails 1.3.x. Be aware, Grails 1.3 - 1.3.3 are
suffering from http://jira.codehaus.org/browse/GRAILS-6427, so either
use Grails 1.2.x, or be brave and use a
Very interesting question, Alex. Since you've potentially mutated the
collection you're Iterating, the correct thing to do is to invalidate the
iterator, but I do see the need to meet your functional requirements of
incremental updates.
While I'm not sure it would be ideal, one approach you
Stefan,
that was record time man! Congrats!
Cheers,
/peter neubauer
COO and Sales, Neo Technology
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter http://twitter.com/peterneubauer
http://www.neo4j.org
Hello all,
I have an application where I have a node that has several hundred thousand
relationships (this probably needs to be changed). In the application I
iterate over these relationships, and delete a large subset of them. Because
there are so many writes, I want to commit the transaction
Hi, so I got 2GB more RAM and noticed that after adding some more memory map
and increasing the heap space, my small query went from 6hrs to 3min. Quite
reasonable!
But the larger one that would take a month would still take a month. So I've
been performance testing parts of it:
The algorithm as
13 matches
Mail list logo