Paddy,
I took the freedom to format the wiki a bit and put a maven profile
into the pom.xml in order to download and expand the data
automatically if you run
mvn -P import install jetty:run
http://github.com/peterneubauer/TransportDublin
Is that ok? Would it be possible to do the import
Hi all,
I just stumbled over the immutable TraversalDescription API
(http://components.neo4j.org/neo4j-kernel/apidocs/index.html), which
will not modify the object if you do
TraversalDescription td = new TraversalDescriptionImpl();
td.depthFirst();
Instead, one needs to reassign td, like
Hello,
I really like the look of neo4j and would like to use it in a project I'm
working on http://pppeoplepppowered.blogspot.com/ .
I'm new to graphs and how to work with them, it's all new, but really drawn to
them having banged my head on SQL schemas for years (and years). My problem
with
This doesn't work (from the tutorial page)... any ideas where I'm going wrong?
Thanks...
import neo4j
from neo4j.util import Subreference
graphdb = neo4j.GraphDatabase( test_neo4j_db )
class SubCategoryProducts(neo4j.Traversal):
types = [neo4j.Outgoing.SUBCATEGORY, neo4j.Outgoing.PRODUCT]
Hi,
I'm considering using neo4j for a current project I'm working on.
I need to do the following periodically (e.g. daily):
* step 1: for every node, let's call it A, I need to pick n other
nodes randomly that fullfill certain attributes and have no
relationship to A.
* step2: For each of those
2010/7/27 Peter Neubauer peter.neuba...@neotechnology.com
Hi all,
I just stumbled over the immutable TraversalDescription API
(http://components.neo4j.org/neo4j-kernel/apidocs/index.html), which
will not modify the object if you do
TraversalDescription td = new TraversalDescriptionImpl();
I may have missed your point. But, FWIW, this model reflects what I would
expect from an immutable object.
For example:
String s = Test;
s.replace('T', 't'); // s still contains Test
BigInteger and Date are the same way.
-Paul
-Original Message-
From: user-boun...@lists.neo4j.org
Hi,
I'm trying to call enableCache(..) for the following example:
http://wiki.neo4j.org/content/Batch_Insert#Using_batch_inserter_together_with_indexing
How would I go about doing that?
~Mohit
___
Neo4j mailing list
User@lists.neo4j.org
I think the key point of Peters request is to separate the 'builder' from
the 'traverser'. Mattias argument appears to state that if the builder and
traverser are the same class (series of immutable instances of the same
class), you have more flexibility in refactoring, because you don't have to
Lately I've played with some OpenStreetMap data...
Nodes imported have many properties with a small set of values (road
type, point-of-interest type, colour, ...) but I don't know in advance
the set of values (sometimes a new value can become standard,
sometimes an invalid value is present).
Other
Since you're doing a depth 1 traversal please use something like this
instead:
for ( Relationship rel : graphDb.getReferenceNode().getRelationships(
Relationships.ROUTE, Direction.OUTGOING ) )
{
Node node = rel.getEndNode();
// Do stuff
}
Since a traverser
Are you thinking of the method in LuceneIndexService? The batch inserter
index doesn't have such a method. Do you have performance problems inserting
stuff, or why do you want such a method?
2010/7/27 Mohit Vazirani mohi...@yahoo.com
Hi,
I'm trying to call enableCache(..) for the following
- Original Message
From: Mattias Persson matt...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Tue, July 27, 2010 12:31:49 PM
Subject: Re: [Neo4j] Enabling LRU cache with BatchInserter
Are you thinking of the method in LuceneIndexService?
Yes
The batch
Mapping property values to a discrete set, and refering to them using their
'id' is quite reminiscent of a foreign key in a relational database. Why not
take the next step and make a node for each value, and link all data nodes
to the value nodes? This is then a kind of index, a category index.
I
I think I found my answer in
http://graphml.graphdrawing.org/primer/graphml-primer.html#Nested
The edges between two nodes in a nested graph have to be declared in a graph,
which is an ancestor of both nodes in the hierarchy. Note that this is true for
our example. Declaring the edge between
thanks peter that looks a lot better.
I'm working on a Neo4j Ajax combination to display only routes on the map.
Ajax and Neo4j is a really powerful combination, it is useful feature to
display the neo4j database property's,
With a jQuery LiveSearch feature Spring Mvc-Ajax combined with neo4j
Is it possible to encode the absence of a relationship with a relationship in
your application?
Date: Tue, 27 Jul 2010 18:52:10 +0100
From: alberto.perd...@gmail.com
To: user@lists.neo4j.org
Subject: [Neo4j] Querying for nodes that have no relationhip to a specfic
node
Hi,
I'm
If this is feasible in Alberto's application, you have to consider that you
will be creating a complete graph, and for such a graph with n nodes, you'll
have O(n^2) relationships. This can grow really, really fast.
Besides, it would turn the insertion of a new node into a potentially slow
Sounds like a pretty easy SQL query, though. ;-)
Actually the random sampling aspect definitely throws a complication
into the requirements. I can't even picture how to achieve that in Neo
without first obtain some (large) set of nodes and using a randomizer
to select from the
19 matches
Mail list logo