Following on from the relative URI work that Jim is looking at, I was
wondering if there was any way that the entity URIs used for RESTful batch
requests could be made more discoverable or elegantly derivable? Currently
the only way I'm aware of to calculate a relative node URI, for example, is
to
Hi,
I need to batch insert millions of data in neo4j.
It is quite difficult to keep all in a Map to get node ids, so it needs
frequent lookups in index to get some node ids for relationships, and
result is quite low.
Is there any way to build several neo4j databases (independantly) then
to merge
Shouldn't rel2 then be an optional relationship? Otherwise IMHO it can never be
null.
START c=...
MATCH c-[rel1:MyRel]-a, c-[rel2?:MyRel]-b
WHERE rel2 is null
RETURN c
Am 29.11.2011 um 13:00 schrieb D. Frej:
I would recommend the following
START c=...
MATCH c-[rel1:MyRel]-a,
you might be right. I only used it the other way around (rel2 IS NOT
NULL) to guarante that the relationship is there. So I thought ... ;)
However, currently I am quite busy and cannot check easily.
That brings me to a feature request for neoclipse: The possibility to
type and execute a cypher
you are right:
http://docs.neo4j.org/chunked/snapshot/cypher-cookbook.html#_basic_friend_finding_based_on_social_neighborhood
states
START joe=node:node_auto_index(name = Joe)
MATCH joe-[:knows]-friend-[:knows]-friend_of_friend,
joe-[r?:knows]-friend_of_friend
WHERE r IS NULL
Am 29.11.2011
Thanks for all the replies. To explain what I am doing: I'm harvesting
information from the software engineering tool some guys here are using:
Excel (gawk!). Excel sheets are parsed and converted to graphs,
incrementally enriched with properties as I digest subsequent sheets so that
at the end I
On Tue, Nov 29, 2011 at 9:28 AM, Nigel Small ni...@nigelsmall.name wrote:
Following on from the relative URI work that Jim is looking at, I was
wondering if there was any way that the entity URIs used for RESTful batch
requests could be made more discoverable or elegantly derivable? Currently
There are two approaches I can think of:
- use a better index for mapping ids. Lucent is too slow. Memory hashtables
are memory bound.Peter has been investigating alternative dbs like bdb. I
tried, but did not finish a hashmap of cached arrays, and Chris wrote his
big data import project on
Very cool Johann.
Mind writing this into a short blog post? Would love to see this code
and some short illustration on this, even for others to learn from it
...
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn
What is the sort order? Date of first commit, number of lines, commits,
packages?
On Nov 21, 2011 2:35 PM, Peter Neubauer peter.neuba...@neotechnology.com
wrote:
Everyone,
have started to put in some random people in, see
http://docs.neo4j.org/chunked/snapshot/contributors.html .
Any ideas
Right now,
nothing. I took it from the GIThub API and reformatted it. Maybe date
of first commit would be good?
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter
That sounds great! Let me know when you are stable, and I will see if
I can do some more on the server plugin side, so we can shoot in
things there!
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn
does it also handle iterables of nodes/rels (and probably Longs?)
while thinking about it
it would be great if the loader could also return a map of variables of the
things generated to be used further in processing
that could also interesting for cascading geoff and/or cypher
cool stuff big
wow, cool
I played once with parsing jaca ast's and putting the in neo4j to answer
similar question (also looking at metrics/dependency graphs)
please write it up!
Michael
mobile mail please excuse brevity and typos
Am 29.11.2011 um 13:59 schrieb jschweigl johann.schwe...@gmail.com:
Thanks
Hi,
I have an architectural question regarding an applicaiton using neo4j.
This is the situation: it is a application with the functionality to
show big data in list form. However, when delivering the data in two
steps and records are deleted meanwhile the list might be incosistent...
What is
Dear all,
after creating some relations i get the error
org.neo4j.kernel.impl.nioneo.store.UnderlyingStorageException: Id
capacity exceeded
See trace below.
I have to create around 1m relations. Out of those there are 100'000
different types of relations. Probably the number of relation types
It depends on your usecase, most end-users are fine with inconsistencies (as
they are part of real life).
- first approach adds too much overhead
- second approach will also run into inconsistencies as neo4j's transaction
isolation is read-comitted
so it would be most sensible to cater for
Hi Michael
Doesn't handle iterables (yet) but should be quite easy to add in. What
purpose did you have behind longs?
I've just committed a few new methods allowing the Neo4jNamespace returned
from a loadIntoNeo4j call to be used to retrieve new entities by name (or a
map of such). The new
Hmm good question, that means the namespace keeps everything around until it is
gc'ed ?
Probably better to just return the full map and let the client code deal with
it ? (If it isn't interested it would either just ignore the return result or
discard it quickly).
Intention behind longs, is
Hey,
Thank you for the reply.
I am sorry I was not clear with the below statement :
#1 If not then I think wouldn't it be good to support them
#2 s every organization may not want to go for Spring-Data or want to
migrate to Neo4J just because its more efficient than RDBMS
What I meant was
Hi Michael
Probably better to just return the full map and let the client code deal
with it ? (If it isn't interested it would either just ignore the return
result or discard it quickly).
Done. Now works as:
MapString,PropertyContainer entities = GEOFFLoader.loadIntoNeo4j(reader,
db, hooks);
You might look at Spring Data Neo4j or jo4neo for that.
I had a fake EntityManager in SDN once for Spring ROO (it should be still
somewhere in the history) but it didn't take care of JPA annotations. If you
want to give it a try, you're free to engage :) But I don't think it is worth
the
#1 Thanks
#2 You're probably right
#3 You can do the index lookup outside and pass in the IndexHitsNode as being
and Iterator
#3 I rather thought of {name} for |people| - {name: {hook}} as a shortcut for
that
Michael
But #2 and #3 are probably overkill anyway.
Cheers
Michael
Am 29.11.2011
Hi,
New bugged logged at: https://github.com/neo4j/community/issues/114
Details below for others to peruse.
Gremlin Table Projections - Column Order Incorrect when using chained
.As('x').As('y')
EXPECTED Order: Createdy, ReferralGroup, ReferralId, ReferralData
When AS statements appear next
Greetings - I have started my first project using neo4j, and am having some
trouble with unit tests. I must be missing something, but when I retrieve
a node using an incoming direction, I am unable to get properties from that
node.The first test works fine, the second one fails with a
Upon migrating my graph database from an embedded one to a neo4j server
instance, I'm getting an UnsupportedOperationException calling traverse on a
RestNode.
Given that the body of the implementation in RestNode is:
throw new UnsupportedOperationException();
this isn't a big surprise.
Why call tx.failure in close db?
On Wednesday, November 30, 2011, Jon Walton jon.w.wal...@gmail.com wrote:
Greetings - I have started my first project using neo4j, and am having
some
trouble with unit tests. I must be missing something, but when I
retrieve
a node using an incoming direction,
On Tue, Nov 29, 2011 at 7:20 PM, Linan Wang tali.w...@gmail.com wrote:
Why call tx.failure in close db?
To assure a pristine DB between unit tests, as suggested here:
http://wiki.neo4j.org/content/Testing_with_Neo4j
I don't think this is the cause of my problem as the exception gets thrown
Hi Jon,
// This one results in a not found exception on the 'asn' property.
@Test
public void testIncoming()
{
Node network = svc.createNode();
Node as = svc.createNode();
as.setProperty( asn, 123 );
as.createRelationshipTo( network,
Hi,
I wonder how can I use both distinct and order by in the queries.
These 2 work as expected:
start d=node(17) match d-[*0..99]-x return x order by x.name
start d=node(17) match d-[*0..99]-x return distinct x
But the query with both DISTINCT and ORDER BY doesn't return anything:
start
traverse on the nodes is the old traverser API which is not supported there.
please use
restgraphdatabase.traversal() to create a RestTraversalDescription.
Michael
mobile mail please excuse brevity and typos
Am 30.11.2011 um 03:58 schrieb e0d edward.zarecor+ne...@alleyoop.com:
Upon
you can also use
rel.getOtherNode(startNode)
Michael
mobile mail please excuse brevity and typos
Am 30.11.2011 um 06:03 schrieb Jim Webber j...@neotechnology.com:
Hi Jon,
// This one results in a not found exception on the 'asn' property.
@Test
public void testIncoming()
{
Hey there,
That looks like a straight forward pattern matching problem, right?
START c=node(1)
MATCH a--b--c, d--c, d--b--c, e--f--c
RETURN a,d,e
This is assuming that you have the node id of c. If not, read up how you do
an index start point.
Does that help?
Andrés
On Wed, Nov 30, 2011 at
try this:
start d=node(17) match d-[*0..99]-x return distinct x,x.name order by
x.name
--
View this message in context:
http://neo4j-community-discussions.438527.n3.nabble.com/RETURN-DISTINCT-with-ORDER-BY-tp3547366p3547551.html
Sent from the Neo4j Community Discussions mailing list archive at
34 matches
Mail list logo