Guys,
I think I've mentioned before that I use Neo4j as a special type of index to
data in postgresql, and I keep the two in sync at the code leve with
after_save callbacks. It works for my use case, but what if you needed the
two dbs to be in proper sync transaction style?
A couple of years ago
Marko,
Thank you very much, I really appreciate it, I will start going through your
response here. I have also added the copy/split aggregate functionality into
our Gremlin Client. I was not aware of the if then else as well, will extend
our client to support this.
Apologise, will explain Sce
Hi Guys,
If I do a query with out.as(xyz)...out.unique()..out.tablecap I find that
the table projections for the closure do not work and I lose all AS references.
So to get closure support I do this
Out.unique._().out..table
The above sorts out the closure error, but then I lose my previous
> And with REST it is only available as a database plugin.
And so what if it were? Writing a server plugin isn't hard - I knocked one
up in an evening. It's just like writing a stored procedure, only with a
different language.
Not sure why so many seem to be clinging onto their RDBMS-coloured comf
> Doesn't matter how you play the words, you need transactions somewhere. And
> with REST it is only available as a database plugin.
> For most people it is just not worth the effort (especially who's not coming
> from Java background) and they will turn around.
If you use the REST API as-is, yo
Thanks for the reply.
I *think* that what I need is to do is this:
Relationship relationship = relationshipIndex.get("signature", signature,
lastNode, null).getSingle();
If I understand the documentation correctly, this should return only the
relationships attached to the node "lastNode" that
Frank,
Either you could put just some of the rels into the index, or maybe have an
additional property in the index for the direction?
/peter
Sent from my phone, please excuse typos and autocorrection.
On Dec 2, 2011 8:28 PM, "Frank" wrote:
> I'm having some trouble understanding relationship i
I'm having some trouble understanding relationship indexes.
I plan to have nodes with many (hundreds, sometimes thousands) of
relationships to other nodes.
Give node N, I want to be able to quickly locate one of those relationships
given a key. I want to consider only the outgoing relationships o
No worries :-) I'm on github all day and just happened to see it on my feed.
Good to know that the plugin is staying around for a little while. I'll
probably make the switch to the new endpoint for the next milestone, so that
it can start seeing some use. This will be a good test of libraries
sup
On Fri, Dec 2, 2011 at 3:55 PM, jadell wrote:
> Quick question:
>
> Just saw this commit from Jake:
>
> http://github.com/neo4j/community/commit/f011c51fcbd5f12236fc633f57dcec9fb8cade83
>
> Will the old Cypher plugin endpoint be going away, or will it remain for
> back-compat? Which release will
It's all in there!
/peter
Sent from my phone, please excuse typos and autocorrection.
On Dec 2, 2011 6:37 PM, "Rick Bullotta" wrote:
> Nice! Show me how to access those services and I'll build you a killer UI
> for it using ThingWorx - in 10 minutes. ;-)
>
> -Original Message-
> From: u
Nice! Show me how to access those services and I'll build you a killer UI for
it using ThingWorx - in 10 minutes. ;-)
-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of Peter Neubauer
Sent: Friday, December 02, 2011 11:51 AM
To: Neo4j
On Fri, Dec 2, 2011 at 5:12 PM, Dmytrii Nagirniak wrote:
> On 03/12/2011, at 2:53 AM, Jacob Hansson wrote:
>
> > This is similar to the approach we're looking at, except interaction
> > currently looks like:
> >
> > POST /tx
> > 200: 1
> >
> > POST /tx/1/node {"name":"Steven"}
> > 201
> >
> > POS
Hi,
> Scenario 1:
> I would like to get all Nodes that do not have a relationship to another
> node. What is the best way to do this Gremlin?
>
> Root => NodeA => NodeB
> Root => NodeC
>
> Output should be NodeC
I don't understand the problem.
> Scenario 2:
> Root = > User -> Centre
>
Hi all,
todays lab project: http://vimeo.com/33032604
Thought you might enjoy it.
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
brew install n
On 03/12/2011, at 2:53 AM, Jacob Hansson wrote:
> This is similar to the approach we're looking at, except interaction
> currently looks like:
>
> POST /tx
> 200: 1
>
> POST /tx/1/node {"name":"Steven"}
> 201
>
> POST /tx/1/batch [blah blah]
> 200
>
> PUT /tx/1/state "COMMITTED"
Yeah. Right.
On Fri, Dec 2, 2011 at 4:53 PM, Jacob Hansson <
jacob.hans...@neotechnology.com> wrote:
>
>
> On Fri, Dec 2, 2011 at 3:45 PM, Dmytrii Nagirniak wrote:
>
>>
>> On 03/12/2011, at 12:50 AM, Rick Bullotta wrote:
>>
>> > I also agree with you that it would be nice to have transaction support
>> over a
On Fri, Dec 2, 2011 at 3:45 PM, Dmytrii Nagirniak wrote:
>
> On 03/12/2011, at 12:50 AM, Rick Bullotta wrote:
>
> > I also agree with you that it would be nice to have transaction support
> over a remote API, but that's not a trivial thing to accomplish in a web
> scenario when there is not any "
Put my thoughts in :)
--
Matt Luongo
Co-Founder, Scholr.ly
On Fri, Dec 2, 2011 at 8:56 AM, Michael Hunger <
michael.hun...@neotechnology.com> wrote:
> Please help answering him,
>
> thanks a lot.
>
>
> http://stackoverflow.com/questions/8356626/orm-with-graph-databases-like-neo4j-in-python
>
>
Quick question:
Just saw this commit from Jake:
http://github.com/neo4j/community/commit/f011c51fcbd5f12236fc633f57dcec9fb8cade83
Will the old Cypher plugin endpoint be going away, or will it remain for
back-compat? Which release will have the new endpoint?
This will be helpful info for library
On 03/12/2011, at 12:50 AM, Rick Bullotta wrote:
> I also agree with you that it would be nice to have transaction support over
> a remote API, but that's not a trivial thing to accomplish in a web scenario
> when there is not any "thread affinity" or even necessarily "server affinity"
> betwe
Hi,
We are trying to setup neo4j in high-availability mode with 3 nodes in the
cluster.
When we restart any of the neo4j servers, it fails. We get following
exception:
==> neo4j-zookeeper.log <==
ERROR main-EventThread org.apache.zookeeper.ClientCnxn - Error while calling
watcher
java.lang.Runti
Please help answering him,
thanks a lot.
http://stackoverflow.com/questions/8356626/orm-with-graph-databases-like-neo4j-in-python
i wonder wether there is a solution (or a need for) an ORM with Graph-Database
(f.e. Neo4j). I'm tracking relationships (A is related to B which is related to
A via
FWIW, at present Neo4J has among the most comprehensive ACID support of the
major NoSQL databases. The fact that you might have to write a bit of code or
script to run on the server shouldn't necessarily be viewed as a negative - the
fact that you *can* do this at all is a big plus! Most NoSQL
dnagir wrote
>
> On 02/12/2011, at 11:28 PM, Rick Bullotta wrote:
>
> Doesn't matter how you play the words, you need transactions somewhere.
> And with REST it is only available as a database plugin.
> For most people it is just not worth the effort (especially who's not
> coming from Java back
Hello folks, i've been trying to prune based on number of outgoing
relationships, but so far i am stumped,
since org.neo4j.graphdb.Node interface doesn't expose any way to count
outgoing relationships. Traversal is for
tree visualisation, and i want to avoid creating too much of a
clutter, hence th
On 02/12/2011, at 11:28 PM, Rick Bullotta wrote:
> ...or you can re-think the definition of "client". As you know, it is very
> common in an SOA model to have actors functioning as both clients and
> servers. For example, to the "client" making a reservation, the "server"
> might be the airli
On 2011-11-18 17:12, Jacob Hansson wrote:
> Hey all,
>
> Like we've mentioned before, we have lab-day fridays at Neo4j, and
> today I hacked some stuff together that landed directly in trunk
> for the embedded python bindings.
>
> As of 1 minute ago, the following operations are now possible with
What should be improved.
You can also print the page as pdf and annotate what should be better /
different.
Yes packaged as gem and published to the server with a Gemfile.
Thanks a lot
Michael
Am 02.12.2011 um 13:36 schrieb Dmytrii Nagirniak:
> I may be missing something, but it can't see ex
I may be missing something, but it can't see exactly how to link up your code
with the server.
Should the extension be packaged as a gem and published publicly?
That Wiki entry is a little bit poorly written IMO. Sorry for saying that :-(
On 02/12/2011, at 8:42 PM, Michael Hunger wrote:
> htt
...or you can re-think the definition of "client". As you know, it is very
common in an SOA model to have actors functioning as both clients and servers.
For example, to the "client" making a reservation, the "server" might be the
airline's reservation site. That site might have server-side l
On 02/12/2011, at 10:36 PM, Jim Webber wrote:
> I don't believe that we are talking about business logic on the server -
> we're talking about data access logic (queries). Business logic binds to that
> data over the network - that the data is sourced through a plugin is an
> implementation de
Sure the limitations apply, but as only the target database would be corrupted
and none of the ones
being used for the import that should be ok.
That is actually like a nice lab-day project.
I'll add it to the list.
Michael
Am 29.11.2011 um 15:18 schrieb Craig Taverner:
> There are two approa
At the risk of re-iterating this:
Neo4j in embedded mode supports as many connections as the application where
you embed it.
Jim
On 2 Dec 2011, at 20:38, zolv wrote:
> Anyway, You are talking now about things that doesn't exist and I have to
> implement them on my own.
>
> I can't imagine RDB
...though there are perfectly good reasons to include business logic on the
server as well (e.g. stored procedures, which Neo4J can support in its own way
via server-side extensions).
-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf O
>
> It is a long topic on itself: Where the business logic belongs to - the
> server or the client.
>
> But the point is that far the most common use-case is to write the business
> logic on the client, not on the server.
>
> The business logic on the server has already failed multiple times i
Hello,
> Do You know ANY (mature) RDBMS which is: provides many connection at the
> same time, transaction-less and is still popular? I don't know any (even
> SQLite has transactions). And now, somebody (not meaning You) want to
> convince me that transactions are not needed. At least there strang
How about extensions and plugins? Are these discovered by Jetty also?
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
brew install neo4j && neo4j
The WADL is generated by Jersey which uses the metadata that it generates from
the annotated REST-Endpoints.
So it is always up to date: http://localhost:7474/db/data/application.wadl
The Neo4j REST API is designed with discoverability in mind, so that you can
start with a GET / and from there
Not sure,
Craig, do you have the code somewhere?
/peter
On Tue, Nov 22, 2011 at 4:17 PM, grimace wrote:
> thanks for the response(s)! The hardware I'm testing on is not the best and
> only 4G of ram so I'm limited, but this seems the best opportunity for me to
> learn this...that being said...
Johnny,
at which URI si the WADL hosted? Would like to look at the code, or
you could dig into the code yourself if you don't want to wait.
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twit
Great.
Let us know if that is working for you.
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
brew install neo4j && neo4j start
heroku addons:ad
My ASCII art skills suck. I mean "square" :)
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
brew install neo4j && neo4j start
heroku addons:add
"Be there or be an empty array"? I may start saying that just to confuse
people :-)
On 2 Dec 2011 09:30, "Peter Neubauer"
wrote:
> Everyone,
> the next Neo4j Öresund meetup is coming up next Tuesday. I think we
> might be able to show off some nice Heroku-Sinatra-GoogleCalc
> integration, too, a
Radoslaw,
if you need transactions, embedded and multiple machines, you can
always use HA to let the DB replicate between your servers.
More to the point, we have shun away from a low level API binary
protocol because of serialization overhead reasons when you do for
instance traversals transparen
http://wiki.neo4j.org/content/Ruby-script_extension
Am 02.12.2011 um 10:32 schrieb Dmytrii Nagirniak:
>
>> That's why we've enable the
>> - ruby-extensions for the server.
>
> Haven't seen anything about it. Could you please give some more info on that
> (links maybe)?
>
>> it is not about d
Anyway, You are talking now about things that doesn't exist and I have to
implement them on my own.
I can't imagine RDBMS server that doesn't give me JDBC driver in the box.
Unfortunately Neo4j is like this. There is no native transaction-full
support so Neo4j can work as standalone server with ma
> That's why we've enable the
> - ruby-extensions for the server.
Haven't seen anything about it. Could you please give some more info on that
(links maybe)?
> it is not about duplicating functionality but about moving persistence
> related code closer to the db.
It is a long topic on itself:
Everyone,
the next Neo4j Öresund meetup is coming up next Tuesday. I think we
might be able to show off some nice Heroku-Sinatra-GoogleCalc
integration, too, along with some NOSQL war stories and beer, so be
there or be [] !
http://www.meetup.com/Neo4j-Oresund/events/42155032/
Cheers,
/peter neu
That's why we've enable the
- ruby-extensions for the server.
- and want to provide the same functionality for other dynamic languages
it is not about duplicating functionality but about moving persistence related
code closer to the db.
Michael
Am 02.12.2011 um 09:43 schrieb Dmytrii Nagirniak:
Good point. Yes, that certainly is an alternative.
But unfortunately in practice I hardly can imagine .NET, Nodejs, MRI Ruby
(non Java basically) guys to start duplicating the logic for the plugin.
Not even taking into account additional complexity, including unit testing.
Similar thing ships wit
Why should it do that?
A server side extension is an add-on, not the only API the server can talk.
Michael
Am 02.12.2011 um 09:22 schrieb zolv:
>
> Michael Hunger wrote
>>
>> No, the alternative there is to provide a server-side extension that
>> encapsulates your business logic as an endpoin
Michael Hunger wrote
>
>> Am I missing something?
>> I hope I do, because in this situation, Neo4j isn't actually interesting
>> DB
>> server/solution...but I want it to be.
>
> I would like to know some more detailed reasons for that, so far we
> haven't received this kind of response.
Do You
Michael Hunger wrote
>
> No, the alternative there is to provide a server-side extension that
> encapsulates your business logic as an endpoint running inside of a tx.
>
Yes, this is 3rd solution. But this is the worst one because I have to
create custom layer which will work ONLY with my app.
Having played around with some ASCII art (quite good fun actually!) it is
starting to feel more natural to re-order the index entries, so that the
key:value part is both consistent with existing syntax and adjacent to the
index reference. I have ended up with:
# ADD ENTRY:
# ensure node "bert" has
55 matches
Mail list logo