If I want to get the following
g.V(0).out('Friends')
and
g.V(0).in('Likes')
in one call what is the best way to do this?
(Marko - thanks in advance of your answer :) )
--
View this message in context:
Kan,
if you need to collect results, just empty the two different
traversals into a result List (last statement is for returning it, if
you use http://docs.neo4j.org/chunked/snapshot/gremlin-plugin.html
g.addEdge(g.v(1), g.v(2), 'Friends')
==e[0][1-Friends-2]
gremlin g.addEdge(g.v(3),
Hi,
In the document (15.7.6) the example of adding a node to index by a POST method
to http://localhost:7474/db/data/index/node/favorites/key/the%20value. The
service accept JSON. However the example shows the request posts the body as a
string http://localhost:7474/db/data/node/0; but not a
Andrew,
do you have the URL to the documentation you are looking at? Is it the
same version as the database version you are using?
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter
Thanks
fyi: the syntax for this using my .net client
GremlinScript script = new GremlinScript();
script.Append(results = [];)
.Append(a = ).gV(ID).Append(;)
.Append(a).In(RelationshipType.Like).Filter(!it.getProperty('{0}'),
NodeProperty.Delete)
.Append( results;)
Hi Andrew,
In the latest snapshots the API has changed, see:
http://docs.neo4j.org/chunked/snapshot/rest-api-indexes.html
So either ensure you're using 1.5M01 if you want the old behaviour, or a
snapshot if you want the new behaviour.
Jim
___
Neo4j
Kan,
I also pushed an example for this which should be online under
http://docs.neo4j.org/chunked/snapshot/gremlin-plugin.html in some
hour, when the build is through. If you care, feel free to check it
out.
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone
Hi Daniel
I’ll try to stop by. My friend and I built a startup using Neo4j and we’ve
had a great experience so far. Is there RSVP list?
Just stop by. There is no RSVP.
Best regards,
James
___
Neo4j mailing list
User@lists.neo4j.org
let's do a meetup group like http://www.meetup.com/Neo4j-Oresund/ ?
I created a meetup group and added the first event:
http://www.meetup.com/Neo4j-Zurich/events/36063832/
Feel free to join the group. There will hopefully follow a lot of
other meet-ups and events. :-)
Best regards,
James
Cool.
Would love to come down for the next time, have at least joined the
group. Great initiative, and send the beer bill Andreas or my way!
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Here you go.
http://docs.neo4j.org/chunked/snapshot/gremlin-plugin.html#rest-api-collect-multiple-traversal-results
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter
Very cool!
Btw, just added parameters to the Cypher REST Plugin too, since
Andres pushed them into the core parser.
http://docs.neo4j.org/chunked/snapshot/cypher-plugin.html#rest-api-send-queries-with-parameters
which will mean the mode of submission is the same for Gremlin and
Cypher.
Cheers,
Hi,
I just wanted to share the news around the next version of the Spring Data
Neo4j project with you.
First of all - the library will be renamed to Spring Data Neo4j and the next
release will be version 2.0
due to the many breaking changes and new approaches. The new github repository
can
Vivek, Andreas,
very interesting design! Let's see how this works out in the longer
run - if it proves useful in other scenarios, maybe this is a good
pattern to propagate to others, and to pull down into some Java
library in order to be usable from other stacks, too!
Cheers,
/peter neubauer
Hi Jim,
Thank you! I'm using 1.5.M01 version. Just out of curiosity, how did you add a
node into the index in the 1.5.M01 version?
I'm downloading the SNAPSHOT and will try again.
Cheers,
Andrew
From: Jim Webber j...@neotechnology.com
To: Neo4j user
Yuanlong,
any progress on this?
Cheers,
/peter neubauer
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 - Your high performance graph
Hi Peter,
I'm using Neo4J 1.5.M01 and I use the neo4j manual in this package. So I guess
the manual is for that version.
Cheers,
Andrew
From: Peter Neubauer peter.neuba...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Tuesday,
Hi to all,
These all sound great Michael.
Towards SDG 2.x, may I suggest the addressing of two issues I've faced with
neo4j SDG
a) Inheritance Polymorphic Queries (as discussed in
http://neo4j.org/forums/#nabble-td3332111)
In short, having
@NodeEntity
public class Customer
Andrew,
just downloaded and looked at it. The manual is generated from
integration tests, so this code has been running against a server. In
the SNAPSHOT version, you have full JSON syntax, see
http://docs.neo4j.org/chunked/snapshot/rest-api-indexes.html#rest-api-add-node-to-index
I am not sure,
Hey,
If I want to get the following
g.V(0).out('Friends')
and
g.V(0).in('Likes')
This is the world of split and merge. The syntax for this is not the sexiest,
but as it stands:
g.v(0)._.copySplit(_().out('Friends'), _().in('Likes')).fairMerge
copySplit will take what
Nice one, will change the docs.
/peter
Sent from my phone.
On Oct 4, 2011 5:20 PM, Marko Rodriguez okramma...@gmail.com wrote:
Hey,
If I want to get the following
g.V(0).out('Friends')
and
g.V(0).in('Likes')
This is the world of split and merge. The syntax for this is not the
Hey,
Your answer is correct too, though its not lazy. However, I suspect its more
understandable.
Marko.
On Oct 4, 2011 8:31 AM, Peter Neubauer peter.neuba...@neotechnology.com
wrote:
Nice one, will change the docs.
/peter
Sent from my phone.
On Oct 4, 2011 5:20 PM, Marko Rodriguez
Laziest wins!
/peter
Sent from my phone.
On Oct 4, 2011 5:38 PM, Marko Rodriguez okramma...@gmail.com wrote:
Hey,
Your answer is correct too, though its not lazy. However, I suspect its
more
understandable.
Marko.
On Oct 4, 2011 8:31 AM, Peter Neubauer peter.neuba...@neotechnology.com
Peter/Marko
I tried the following
g.v(62).out(‘Friend’, 'Like')
but receive the following error
javax.script.ScriptException: groovy.lang.MissingMethodException: No
signature of method:
com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jVertex.out() is applicable for
argument types:
Kan,
you need the 1.5-SNAPSHOT for this to work. Could you please try this
from the download page?
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter
Hello everyone,
I am going to write my master thesis about the suitability of graph
databases in GIS applications (at least I hope so^^). The database has to
provide topological queries, network analysis and the ability to store large
amount of mapdata for viewing - all based on OSM-data of
Hi Daniel,
If you haven't yet, you should check out the work done in the Neo4j Spatial
project - https://github.com/neo4j/spatial - which has fairly comprehensive
support for GIS.
Data locality, as you mention, is exactly a big advantage of using a graph
for geospatial data. Take a look at the
Cheers Zurich, you've earned an official Neo4j Meetup badge!
Best,
Andreas
On Tue, Oct 4, 2011 at 2:33 AM, Peter Neubauer
peter.neuba...@neotechnology.com wrote:
Cool.
Would love to come down for the next time, have at least joined the
group. Great initiative, and send the beer bill
Hi Peter,
I downloaded the SNAPSHOT version and looked into the manual. It is different
from the one in the 1.5.M01 version and it looks very nice as well as useful.
I modified my code to Post the Json object to the index and the node was
successfully added. Thanks!
Regards,
Cool,
Glad it works out!
/peter
Sent from my phone.
On Oct 4, 2011 10:07 PM, andrew ton andrewt...@yahoo.com wrote:
Hi Peter,
I downloaded the SNAPSHOT version and looked into the manual. It is
different from the one in the 1.5.M01 version and it looks very nice as well
as useful.
I
Peter,
i installed 1.5-SNAPSHOT and the call g.v(0).out('Friend', 'Like') does work
however, when installed the update the server would not start using my 1.4
data files. is this because of something i did incorrectly during the
update?
--
View this message in context:
Kan,
There are incompatible store changes that we are right now QA-in the upgrade
process for. If you want to upgrade, i advise to wait for the release with
instructions. Otherwise, a new import is the best choice right now. Would
that be ok?
/peter
Sent from my phone.
On Oct 4, 2011 10:56 PM,
for now it is not an issue for me to update on my development server but if
you could give an idea when the release is due out that would help. i am
not in a hurry for the update since current functionality satisfies my
business needs.
--
View this message in context:
33 matches
Mail list logo