Hi,
I can not find the neo4j-spatial database download page. Only I can
download neo4j-enterprise-1.4.2. Who can tell me the website of
neo4j-spatial database?
zhao
___
Neo4j mailing list
User@lists.neo4j.org
Hi anders,
appreciate your offer very much! It is good to know that the neo4j community
is very active and involved.
http://neo4j-community-discussions.438527.n3.nabble.com/file/n3472966/BatchImportData.groovy
BatchImportData.groovy
Here is the import script. it is a stripped version of the
Thank you very much
2011/11/2 Peter Neubauer peter.neuba...@neotechnology.com
Zhao,
Neo4j Spatial is an add-on to the Neo4j ecosystem. We are in the
process fo getting the docs in order, until then, the best is to look
at https://github.com/neo4j/spatial . Also, I am attaching the current
Now I have download neo4j-spatial-be288f2,I want to import a shapfile file
into the neo4j-spatial database.
How can I start the neo4j-spatial db? Is the neo4j-spatial independent or
dependent on neo4j-enterprise-1.4.2?
I do not know the relationship between the two?
Thank you.
zhao
2011/11/2
(Sorry for re-opening this thread, I hadn't yet subscribed to the mailing
list when I opened it the previous time, so I had to re-start it..)
Hi,
I'm using Neo4J version 1.4.1. I've tried following the design guide (
http://wiki.neo4j.org/content/Design_Guide#Make_use_of_Factories ) writing a
Hi guys,
I am in the process of creating a Java DSL for Cypher, and would like
your feedback on different variants. You can find the code here:
https://github.com/neo4j/cypher-dsl/
The Cypher reference manual has been implemented here:
On Tue, Nov 1, 2011 at 5:37 PM, Peter Neubauer
peter.neuba...@neotechnology.com wrote:
Well,
I think that Cypher is not yes taking into account Uniqueness, or is
it Andres? Otherwise, most of the normal traversals are covered.
To keep things consistent and give people a way of doing fine
I vote not dropped, as there are lots of non-java developers out there which
would want to use REST server dynamically.
That was the reason why we wrote the ruby-script-extension support.
Michael
Am 02.11.2011 um 10:08 schrieb Jacob Hansson:
On Tue, Nov 1, 2011 at 5:37 PM, Peter Neubauer
On Wed, Nov 2, 2011 at 10:20 AM, Michael Hunger
michael.hun...@neotechnology.com wrote:
I vote not dropped, as there are lots of non-java developers out there
which would want to use REST server dynamically.
I am completely open to the notion that I am wrong here. But I want us to
have
Hi,
I have a very simply graph:
UserGroup 2 -[:IS_MEMBER_OF]- UserGroup 1, User 3
UserGroup 1 -[:IS_MEMBER_OF]- User 1, User 2
I use the following cypher to find all nodes that are below UserGroup 2
(I start at node User 3 and go one level up in the tree which equals
UserGroup 2):
START
Hi,
I have a very simply graph:
UserGroup 2 -[:IS_MEMBER_OF]- UserGroup 1, User 3
UserGroup 1 -[:IS_MEMBER_OF]- User 1, User 2
I want to find all nodes that are on the same level or on a level below
the starting point. Using
START principals=node:nodes(NAME='User 3')
MATCH
custom use-cases like the ones implemented by our customers with plugins /
extensions
and in the case of the ruby script extensions a way I'd like to promote to talk
to the server that is
1) create you own RESTful endpoints that are focused on a protocol speaking
your domain and not nodes +
I though that this is what I used with
MATCH (principals)-[?:IS_MEMBER_OF]-
When I turn it into
MATCH (principals)-[?]-()-[:IS_MEMBER_OF*0..]-(n)
RETURN n
Nothing at all is returned
Am 02.11.2011 11:05, schrieb Jacob Hansson:
On Wed, Nov 2, 2011 at 11:01 AM, D. Frejdieter_f...@gmx.net
Hi,
in the pattern matching employed by cypher nodes already bound to an identifier
won't be bound to another identifier.
That is the reason why all nodes that already belong to principals don't appear
in n.
In your case it might be easiest to just return n,principals
Cheers
Michael
Am
If I understand you correctly, then your start nodes (aka UserGroup 2) would
be dangling as there is no
relationship IS_MEMBER_OF starting from this group.
so your start nodes are connected by an optional relationship, so everything
also hanging on this optional relationship is also optional.
my use case is the following:
- a principal in a group has access to all other principals in a group
= therefore I need to go one level up to find the other principals in
the group
- additionally: if there is another group as principal in a group
(UserGroup 1 is in UserGroup 2) , then the
Hi Bill,
Why BarName in one and FooName in the other? I'm assuming you have
NodeType/Name for both ok? So... a query like this would look like:
nodeIndex.query( NodeType:Bar AND Name:\Bar 1\ );
2011/11/1 Bill Baker bill...@billbak.com
Hello,
I have an index and add my nodes to it as I
On Wed, Nov 2, 2011 at 11:18 AM, Michael Hunger
michael.hun...@neotechnology.com wrote:
Hi,
in the pattern matching employed by cypher nodes already bound to an
identifier won't be bound to another identifier.
I was thinking this was a bug when I saw Didis mail here, but wasn't sure
so I
On Wed, Nov 2, 2011 at 11:11 AM, Michael Hunger
michael.hun...@neotechnology.com wrote:
custom use-cases like the ones implemented by our customers with plugins /
extensions
and in the case of the ruby script extensions a way I'd like to promote to
talk to the server that is
1) create you
On Wed, Nov 2, 2011 at 12:01 PM, Jacob Hansson
jacob.hans...@neotechnology.com wrote:
Is there a complex reason why this is the case, and is it going to stay
this way? It feels a bit counter-intuitive..
Cypher has no way of expressing uniqueness today. I think it should. I
think the current
Hi,
I had a similar issue (also with ID generation), and I would be also
interested in a solution, or how synchronizations should be done to
avoid deadlocks like this in the transaction.
Regards,
---
balazs
On 11/2/11 8:55 AM, Cres wrote:
(Sorry for re-opening this thread, I hadn't yet
On Wed, Nov 2, 2011 at 11:56 AM, Jacob Hansson
jacob.hans...@neotechnology.com wrote:
On Wed, Nov 2, 2011 at 11:11 AM, Michael Hunger
michael.hun...@neotechnology.com wrote:
* custom traversals with complicated callbacks
This is really what my original question to Peter was about -
On Wed, Nov 2, 2011 at 12:26 PM, Andres Taylor
andres.tay...@neotechnology.com wrote:
On Wed, Nov 2, 2011 at 12:01 PM, Jacob Hansson
jacob.hans...@neotechnology.com wrote:
Is there a complex reason why this is the case, and is it going to stay
this way? It feels a bit counter-intuitive..
On Wed, Nov 2, 2011 at 12:34 PM, Andres Taylor
andres.tay...@neotechnology.com wrote:
On Wed, Nov 2, 2011 at 11:56 AM, Jacob Hansson
jacob.hans...@neotechnology.com wrote:
On Wed, Nov 2, 2011 at 11:11 AM, Michael Hunger
michael.hun...@neotechnology.com wrote:
* custom traversals
Mmh,
this thread is just about deprecating the travers() section of the
REST API, not take away general scripting form the server. I have not
seen one single case where people have exploited the JavaScript
exposure in the return/stop evaluators to do anything like you say
Michael.
Extensions and
I had no idea that neo4j had a REST interface; I am essentially
implementing my own REST interface in order to use neo4j embedded in a
desktop app. I will have to look into that more to see if there's an easy
way to embed the server and still communicate to it via the REST API.
Thanks for the
Michael,
have you looked at
http://docs.neo4j.org/chunked/snapshot/rest-api.html for
documentation? We probably should promote the manual much more
prominently on the site :/
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn
Thanks Mattias. One node is a Foo node and one is a Bar node. Maybe I am
being too fancy; I could just use 'NAME' for any type of node.
I'm a little confused about the query string below. Should it perhaps be
NodeType:Bar AND Name:Bar 1 ? I'm not getting why the property name is
inside
On Wed, Nov 2, 2011 at 3:44 PM, Peter Neubauer
peter.neuba...@neotechnology.com wrote:
Mmh,
this thread is just about deprecating the travers() section of the
REST API, not take away general scripting form the server. I have not
seen one single case where people have exploited the JavaScript
Yes.
This thread is about ONLY the traverse-Endpoint not scripting in general.
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
...because you have a space character in the name.
From: user-boun...@lists.neo4j.org [user-boun...@lists.neo4j.org] On Behalf Of
Bill Baker [bill...@billbak.com]
Sent: Wednesday, November 02, 2011 11:33 AM
To: Neo4j user discussions
Subject: Re: [Neo4j]
Hi,
We use the REST traversal API extensively. One of our core use cases is to
find all paths between two nodes. We are a .Net shop so we rely on the
REST API, and are currently using a .Net neo4j library from about 18 months
ago that we have customized to our needs.
I have seen other recent
As I said it is still used in the rest-graphdb-client which comes as a
drop-in-replacement for the core-api.
This functionality would go missing then.
Same goes for lot of stuff that for instance neography does with the REST
server to offer a quite fluent way of traversing the graph.
See
Ok,
then let's shelf this until further notice, and revise it when we have
done some more extensive work on the server and fast protocol stack.
Thanks for all input, good that you speak up!
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
Got it, quote the string so the spaces don't matter, thanks.
NodeType:Bar AND Name:\Bar 1\ seems inconsistent. It has five quotes.
I will try this: NodeType:Bar AND Name:\Bar 1\ as I _think_ the version
above has unmatched quotes.
Thanks everyone, I appreciate the help.
-Original
Breaking this out of the talk about deprecating REST traversals (
http://neo4j.org/forums/#nabble-td3460396).
So, I'm trying to understand the arguments pro and con *POSTing arbitrary
code to the server*, as well as *writing server plugins for the sake of
adding domain logic inside the
Hi there,
the current snapshots of Neo4j Spatial are dependent on Neo4j
1.5-SNAPSHOT. For importing a shapefile, please look at
https://github.com/neo4j/spatial/blob/master/src/test/java/org/neo4j/gis/spatial/TestSpatial.java#L212
Does that work?
Cheers,
/peter neubauer
GTalk:
Hi all,
i need to display a tree structure , based on the nodes i retrieved from
the database through traverse.
Nodes are gathered from different levels of the graph. some of the nodes
are having parent / child relation in the graph. so if my result containing
such a relation i want to display
2011/11/2 Bill Baker bill...@billbak.com
Got it, quote the string so the spaces don't matter, thanks.
NodeType:Bar AND Name:\Bar 1\ seems inconsistent. It has five
quotes.
I will try this: NodeType:Bar AND Name:\Bar 1\ as I _think_ the
version above has unmatched quotes.
It's how the
Then I will try it straight-up!
-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of Mattias Persson
Sent: Wednesday, November 02, 2011 9:39 AM
To: Neo4j user discussions
Subject: Re: [Neo4j] Newbie issues with indexing
2011/11/2 Bill
Hi Ran,
Each thread creates 2 nodes in the same transaction. The chain of events
leading to this seems to be the following:
* Thread 1 creates the first node. By the time it leaves createNode(), it
will have a write lock on the ID generator node.
* Thread 2 creates the first node. It will try to
Got it running, thank you!
-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of Bill Baker
Sent: Wednesday, November 02, 2011 9:41 AM
To: Neo4j user discussions
Subject: Re: [Neo4j] Newbie issues with indexing
Then I will try it
Hi Emil,
Are you interested in displaying the tree structure in a web interface? You
could either take a widget-approach using something like jstree
(http://www.jstree.com/) or a more model visualization using D3
(http://mbostock.github.com/d3/ex/).
Cheers,
Andreas
On Nov 2, 2011, at 9:36
I've used d3. You do need a bit of JQuery/Javascript skills to munge the data
into a form the d3 libraries expect it, but the results are impressive if you
do.
From: user-boun...@lists.neo4j.org [user-boun...@lists.neo4j.org] On Behalf Of
Andreas
I hadn't. I'm still confused about how I would combine that with
embedding, though; I don't want to run a standalone neo4j daemon. Because
the app I'm embedding into will be running Python, I figure the current
setup may not be all that sub-optimal, now that the threading problem is
out of the
Hi David,
Thank you very much for your response. I can see now what caused the
deadlock.
However, I'm not really sure how I can solve this problem efficiently - as
you mentioned, your proposed solution will effectively serialize my
transactions. Unfortunately, it'd be very difficult for me to
Hi everybody
when setting fromDepth and toDepth both at zero, like in the following code
Traversal.description.breadthFirst
.evaluator(Evaluators.fromDepth(0))
.evaluator(Evaluators.toDepth(0))
I'm expecting to get only the start node, but I don't. Am I missing
anything?
Thanks!
Cheers
At SpringOne we were talking about a Neo4j installer as a Ruby Gem.
This is not that... but it's a start.
https://github.com/maxdemarzi/neography/commit/066ed4fb0ce76b9c648e7fa4bae8c3cdfac6af41
--
View this message in context:
***
Hi Everyone,
Here is a comprehensive list of events we have coming up in November. Check
it out below.
Remember, check back to http://plancast.com/neo4j for updates throughout
the month. If you have any questions regarding participation, feel free to
email
Everyone,
for Öredev Open, the first 20 signups are sponsored with the campaign
code NEOOPEN11 at http://oredev.org/2011/oredev-open, and registration
stops on Friday 17.00 CET. See you there!
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704
This is nice Max!
How do I use 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
http://www.neo4j.org - NOSQL for the
In your Rakefile or “lib/tasks/neography.rake”, add:
require 'neography/tasks'
It will add the following rake tasks to your project:
rake neo4j:install # Install Neo4j to the neo4j
directory under your project
rake neo4j:start # Start Neo4j
Ok I read my instructions and they were just overly complicated, so I added a
Railtie.
Assuming you are on a Rails project, point the gemfile to use the gem from
git
git 'neography', :git = 'git://github.com/maxdemarzi/neography.git
and the tasks will be automatically included for you in your
Any tips on where to start?
I'm going to go looking for ServerProcessConsole.java but any other pointers
are welcome. :)
C:\AzureTemp\Resources\2e546563-a35c-42f6-b903-03317cfdf847\directory\Neo4jInst\neo4j-community-1.5.M02\binNeo4j.bat
java.lang.IllegalArgumentException
at
It was this line in neo4j-wrapper.conf:
wrapper.java.additional.3=-Xloggc:data/log/neo4j-gc.log
It's commented out by default, but we had it in for some of our perf work.
It seems it's no longer compatible with 1.5M02 even though it's still in the
default config files (albeit commented out).
Hello,
I have some questions regarding Cypher.
1. I have an ontology that defines classes and individuals. I store this
ontology into Neo4J REST db. Is there any ways to find all individuals that
have some given class?
In SPARQL, it can be done like ...WHERE { ?u a :User.}... to find all
Quick question: has anyone done any work on putting together .deb packages
for Neo? And if so, has there been any consideration about getting them
into Debian or Ubuntu repositories?
Nige
___
Neo4j mailing list
User@lists.neo4j.org
On Windows 7.
It launches, opens the network socket, responds to the first REST request with
a 200 OK, then promptly exits.
This is an upgrade from 1.5M01 which is/was running fine.
Full log: http://dl.dropbox.com/u/5216304/2003.01-neo4j.0.0.log
Any ideas? I'm not a Java guy so having a
Hi ,
Thanks Andreas Kollegger and Rick Bullotta,
i am using vaadin framework. but the issue is.how to build a tree using
nodes. becouse we are selecting nodes form different levels of the graph
based on some conditions . then i have to merge child node with if the
parent nodes are available in
Both your questions would be answered with indexing:
for the 1) you would add the user nodes them to a User index and then use
start user=node:User(id:*) ...
For 2) you would index the relationships-similarly (for the interesting types).
e.g. create an index for only the rel-type you're
This is typical Ruby-fluff. Where is my verbose Java! This is too short.
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
Tatham,
could you please open an issue in
https://github.com/neo4j/packaging/issues so we can sort it out?
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter
Emil,
I am not totally following your thoughts (would be great with an
example in pictures). Have you looked at Cypher tree structure
handling, e.g.
http://docs.neo4j.org/chunked/snapshot/examples-acl-structures-in-graphs.html#_read_permission_example
to find some inspiration?
Cheers,
/peter
Something you could probably do is to return paths from cypher or traversal and
then pick the nodes off the paths that you're interested in - from the path
you get the tree-structure aka. the path's to the root of your tree.
From the information extracted there you can build your composite
There is the work Jake has been doing at
https://github.com/jakewins/neo4j-server-debian . I would love if you
could fork and update?
Anders has made first attempts to set up a launchpad repo, not sure
what the state there is. Welcome to chime in!
Cheers,
/peter neubauer
GTalk:
Tatham,
can you recreate this with a vanilla 1.5.M02 install and a clean
database? In that case, in what folder, and can you send over the full
installation? Just open a ticket in
https://github.com/neo4j/packaging/issues so we can sort it out.
Cheers,
/peter neubauer
GTalk: neubauer.peter
Alex,
looking at the source, the Evaluators.toDepth() does:
public static Evaluator toDepth( final int depth )
{
return new Evaluator()
{
public Evaluation evaluate( Path path )
{
return path.length() depth ?
Andrew,
we have been trying to keep things very tight and document most of the
functionality in the manual. See even some domain examples that have
Cypher in them,
http://docs.neo4j.org/chunked/snapshot/domain-modeling-gallery.html
What else would you like to see?
Cheers,
/peter neubauer
What about
atDepth(0) ?
Michael
Am 03.11.2011 um 03:33 schrieb Peter Neubauer:
Alex,
looking at the source, the Evaluators.toDepth() does:
public static Evaluator toDepth( final int depth )
{
return new Evaluator()
{
public Evaluation evaluate( Path path )
the Neo4j-indexing provider (which is also used by Cypher) is lucene, so the
default lucene query syntax works in the neo4j core API and Cypher queries.
http://lucene.apache.org/java/3_4_0/queryparsersyntax.html
Michael
Am 03.11.2011 um 03:32 schrieb andrew ton:
Hi Michael,
Thank you
Hi Peter
it admittedly makes little sense to use fromDepth(0) toDepth(0) because
there's obviously no need to run the query at all. Anyway, I'd expect a
behavior consistent with, for example fromDepth(1) toDepth(1), which
returns only nodes at depth 1 (if I'm not mistaken). So, I'd definitely
Well,
fromDepth is
public static Evaluator fromDepth( final int depth )
{
return new Evaluator()
{
public Evaluation evaluate( Path path )
{
return path.length() depth ?
Evaluation.EXCLUDE_AND_CONTINUE : Evaluation.INCLUDE_AND_CONTINUE;
That sounds a bit bizarre: in my code, fromDepth(n) toDepth(n) seems to be
working like atDepth(n) if n0 (that's what should be happening, isn't it?)
Alex
--
View this message in context:
http://neo4j-community-discussions.438527.n3.nabble.com/zero-fromDepth-and-toDepth-tp3474825p3476058.html
Mmmh,
let me do a testcase on this ... can you raise an issue?
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
Done:
http://neo4jdb.lighthouseapp.com/projects/77609-neo4j-community/tickets/17-consisnte-behavior-of-fromdepth-todepth-and-atdepth
there's a typo in the title... time to get some sleep :)
Alex
--
View this message in context:
I'm having some weird problems with threading on shutdown. As I previously
discovered, using neo4j in a multi-threaded Python app requires complete
segregation of neo4j into a single thread. That all works fine for
creating a database, however, it appears that shutting one down is a bit of
a
Here are a few notes of my own from using Neo4j with Python embedded.
I know that this isn't the right place .
Ubuntu doesn't set $JAVA_HOME. I ended up hard coding the location of my JVM.
I seem to encounter unclean shutdowns all the time when running with
the iPython REPL. Is there a
77 matches
Mail list logo