Re: [Neo4j] Neoclipse - a lot of NullPointerException windows 1.4.1 Win7 64bit

2011-10-13 Thread Peter Neubauer
Jack,
are you opening an existing store, and, if so, what Neo4j version was
that store created with?

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 database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Wed, Oct 12, 2011 at 5:31 PM, Jack Beauregard
jbeauregard...@gmail.com wrote:
 Hello all,

 If I start Neoclipse an use a internal db in ro mode I get a lot of
 NullPointerException windows wth the title error retriving
 relationships. The same thing when I click a node. Maybe I need a lib
 or anything else
 Thank you for any hints.

 Best regards
 Jack

 Win7 64bit
 Neoclipse 1.4.1 64bit
 java version 1.6.0_25
 Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
 Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Online backups for single instance using community edition

2011-10-13 Thread Peter Neubauer
Johannes,
if you can make sure that no transaction are in progress, then copying
files should work, too. Would that help? You could for instance for a
brief period block mutating requests to your webservice, commit all
transactions and copy the store files.

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 database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Wed, Oct 12, 2011 at 11:43 AM, Haensel thehaen...@gmail.com wrote:
 Hi,

 I am using the neo4j community edition in a PHP webapp that I am currently
 developing and found it to be a really cool solution for my project. It is a
 small project and I am just a single guy developing it so I am nowhere near
 needing HA or sharding capabilities. Here is the problem I see with neo4j in
 any form of webapp (SaaS): To be able to create an online backup you'll have
 to use the enterprise edition (=2000 dollars a month) or you are forced to
 shutdown the service for a short period of time (most likely multiple times
 per day) which can be an absolute no-go for a webapp.

 So my question is: Is there another method of doing an online backup for a
 single neo4j instance? I thought about traversing the whole graph and
 creating a second graph filled with the result. I could then shutdown the
 second instance and just backup the files old school style. This sounds
 super ugly, but maybe it is a way to think about. I am fine with solutions
 that would require some additional developing.
 If the only solution is to use the enterprise edition than I would highly
 suggest some alternative ways for the next neo4j releases as this would
 prevent a lot of webdevelopers from using the product. It would be nice to
 have a way to do online backups for a single instance only so the benefits
 of the advanced and enterprise editions would still exist.

 Anyways, thanks for your time and answers

 Greetings from Austria,

 Hannes

 --
 View this message in context: 
 http://neo4j-community-discussions.438527.n3.nabble.com/Online-backups-for-single-instance-using-community-edition-tp3415246p3415246.html
 Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Neoclipse - a lot of NullPointerException windows 1.4.1 Win7 64bit

2011-10-13 Thread Jack Beauregard
Hello Peter,

thy for responding.
We are using v1.3 in our software.
I tried all versions of Neoclipse. The described behaviour is about
1.4.1. Of course, I should use a corresponding version, but Neoclipse
1.3.0 does not com up:

/
!SESSION 2011-10-13 10:04:27.181 ---
eclipse.buildId=unknown
java.version=1.6.0_25
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_CH
Command-line arguments:  -os win32 -ws win32 -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2011-10-13 10:04:28.138
!MESSAGE Bundle org.eclipse.equinox.transforms.hook@4 not found.

!ENTRY org.eclipse.osgi 4 0 2011-10-13 10:04:28.609
!MESSAGE An error occurred while automatically activating bundle
org.neo4j.neoclipse (83).
!STACK 0
org.osgi.framework.BundleException: Exception in
org.neo4j.neoclipse.Activator.start() of bundle org.neo4j.neoclipse.
/

Best regards
Werner



On Thu, Oct 13, 2011 at 9:56 AM, Peter Neubauer
peter.neuba...@neotechnology.com wrote:
 Jack,
 are you opening an existing store, and, if so, what Neo4j version was
 that store created with?

 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 database.
 http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
 http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



 On Wed, Oct 12, 2011 at 5:31 PM, Jack Beauregard
 jbeauregard...@gmail.com wrote:
 Hello all,

 If I start Neoclipse an use a internal db in ro mode I get a lot of
 NullPointerException windows wth the title error retriving
 relationships. The same thing when I click a node. Maybe I need a lib
 or anything else
 Thank you for any hints.

 Best regards
 Jack

 Win7 64bit
 Neoclipse 1.4.1 64bit
 java version 1.6.0_25
 Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
 Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Neoclipse - a lot of NullPointerException windows 1.4.1 Win7 64bit

2011-10-13 Thread Peter Neubauer
Mmh,
any chance of upgrading Neo4j to 1.4.2 and running Neoclipse 1.4.1
against it? Can also try to see if I can get Neoclipse 1.3.0 up on a
windows machine ...

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 database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Thu, Oct 13, 2011 at 10:12 AM, Jack Beauregard
jbeauregard...@gmail.com wrote:
 Hello Peter,

 thy for responding.
 We are using v1.3 in our software.
 I tried all versions of Neoclipse. The described behaviour is about
 1.4.1. Of course, I should use a corresponding version, but Neoclipse
 1.3.0 does not com up:

 /
 !SESSION 2011-10-13 10:04:27.181 
 ---
 eclipse.buildId=unknown
 java.version=1.6.0_25
 java.vendor=Sun Microsystems Inc.
 BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_CH
 Command-line arguments:  -os win32 -ws win32 -arch x86_64

 !ENTRY org.eclipse.osgi 4 0 2011-10-13 10:04:28.138
 !MESSAGE Bundle org.eclipse.equinox.transforms.hook@4 not found.

 !ENTRY org.eclipse.osgi 4 0 2011-10-13 10:04:28.609
 !MESSAGE An error occurred while automatically activating bundle
 org.neo4j.neoclipse (83).
 !STACK 0
 org.osgi.framework.BundleException: Exception in
 org.neo4j.neoclipse.Activator.start() of bundle org.neo4j.neoclipse.
 /

 Best regards
 Werner



 On Thu, Oct 13, 2011 at 9:56 AM, Peter Neubauer
 peter.neuba...@neotechnology.com wrote:
 Jack,
 are you opening an existing store, and, if so, what Neo4j version was
 that store created with?

 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 database.
 http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
 http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



 On Wed, Oct 12, 2011 at 5:31 PM, Jack Beauregard
 jbeauregard...@gmail.com wrote:
 Hello all,

 If I start Neoclipse an use a internal db in ro mode I get a lot of
 NullPointerException windows wth the title error retriving
 relationships. The same thing when I click a node. Maybe I need a lib
 or anything else
 Thank you for any hints.

 Best regards
 Jack

 Win7 64bit
 Neoclipse 1.4.1 64bit
 java version 1.6.0_25
 Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
 Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Mapping domain graph to spatial layer

2011-10-13 Thread Peter Neubauer
Marcin,
look at 
https://github.com/neo4j/spatial/blob/master/src/test/java/org/neo4j/gis/spatial/TestSimplePointLayer.java#L42
where data is added to the SimplePointLayer, specifying that the
lat/lon should be encoded into Longitude/Latitude properties on the
geometry node.

For adding existing data to the layer, look at
https://github.com/neo4j/spatial/blob/master/src/main/java/org/neo4j/gis/spatial/server/plugin/SpatialPlugin.java#L98
- you are adding an existing node with the right lon/lat properties to
the layer, using the specified GeometryEncoder at Layer setup time.

I did an example of this in the functional tests, see
https://github.com/neo4j/spatial/blob/master/features/start-and-stop.feature#L10
where a layer is created (assuming lon/lat/bbox per default as the
geometry nodes properties to be used for indexing, then a raw node is
created, then the nodes is added to the layer and indexed, and then
you can search for it in different permutations (REST, Gremlin,
Cypher, Neo4j Index)

Does that help?

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 database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Tue, Oct 11, 2011 at 6:59 PM, Marcin Zpa se...@vp.pl wrote:
 Hi Peter,
 thanks a lot for your quick feedback. What do you mean with skipping
 encoding step? That means that i could directly index my domain
 coordinate node and do not create any additional geo nodes. Sorry if
 you find this question stupid or obvious but i cant follow your
 suggestion. For me important thing is that after invoking search i
 want to somehow get back from results provided as
 SpatialDatabaserecord to domain nodes as for example user.

 Thanks in advance!


 --
 View this message in context: 
 http://neo4j-community-discussions.438527.n3.nabble.com/Mapping-domain-graph-to-spatial-layer-tp3409159p3413184.html
 Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Online backups for single instance using community edition

2011-10-13 Thread Haensel
I thought about that, yes, but I think it can easily become tricky in my
case. If it is the only way than I have to do some magic at the application
layer to tell users that they currently can't post comments but the read
access would be vital.

What about exporting a graph with g.saveGraphGML('backuped.xml')? I could do
this by using curl to post to the gremlin plugin but I am not quite sure how
this is implemented yet. I assume it creates a snapshot of the current graph
without including non finished transactions (which would be fine). If
anything happens to the db I'll read in the exported file again. Is this a
considerable way of solving the issue (for moderately sized graphs) or am I
missing something obvious?

Greetings,

Hannes

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Online-backups-for-single-instance-using-community-edition-tp3415246p3418149.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Open Data Sets?

2011-10-13 Thread Peter Neubauer
Very nice,

Andreas, could you see if we can put it up at the neo4j dataset site?
And provide a public link to 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               - Your high performance graph database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Thu, Sep 29, 2011 at 7:33 PM, Jacopo Farina jacopo1.far...@gmail.com wrote:
 Thanks a lot for the datasets!
 I created a graph with English Wikipedia pages and category names and
 relationships, starting from the .sql files available on the wikimedia site

 http://dumps.wikimedia.org/backup-index.html

 The resulting graph is about 3GB of size, so I can't easily distribute it,
 but the code is trivial, feel free to use it: http://pastebin.com/mj3bkDmZ

 It contains an utility class to read the file line per line, I'm sorry for
 the comments in Italian. The program avoids to load most of the stub or
 redirect categories, the execution should last 5-7 hours.

 Cheers,
 Jacopo Farina


 2011/9/29 Peter Neubauer peter.neuba...@neotechnology.com

 Rene,
 that would be very cool to make available, thanks for sharing!

 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 database.
 http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
 http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



 2011/9/29 René Pickhardt r.pickha...@googlemail.com:
  I recently made a blog article on a data source for 119 network graphs.
 
 
 http://www.rene-pickhardt.de/download-network-graph-data-sets-from-konect-the-koblenz-network-colection/
 
  I also post new data sets in the dataset category of my blog:
  http://www.rene-pickhardt.de/cat/data/data-sets/
 
  Have fun. Soon i will make available a social network graph extracted
 from
  wikipedia.
  Am 29.09.2011 00:09 schrieb McKinley mckinley1...@gmail.com:
  I want to create some demos of relational database extraction into Neo4j
  but
  I cannot share the data I use with the public. I know there are several
  resources for open data sets on the net, but has anyone on the list
  already
  found a nice, large data set that you are happy with?
 
  Thanks,
 
  McKinley
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] WebAdmin visualization tool for large DB ?

2011-10-13 Thread Pablo Pareja
Hi,

I was looking for a way to visualize and interact with small subsets of
large Neo4j databases, *(somehow*
*navigating through the data in order to have a general idea of how things
are organized at specific parts*
*of my DB)*.
So before starting to create my own solution to that, I'd like to know which
are the limits/constraints of the new
WebAdmin tool ?* (in terms of number of rels/nodes in the neighborhood/
total DB)*
Thanks,

Pablo

-- 
Pablo Pareja Tobes

My site http://about.me/pablopareja
LinkedInhttp://www.linkedin.com/in/pabloparejatobes
Twitter   http://www.twitter.com/pablopareja

Creator of Bio4j -- http://www.bio4j.com

http://www.ohnosequences.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Size limits for REST Server?

2011-10-13 Thread Pablo Pareja
Hi,

I'd like to know which are the limits in terms of number of
nodes/relationships, topology *(e.g. supernodes*
*with millions of incoming/outgoing relationship in the same node)* for
Neo4j REST-Server?
Has it already been used for large DB / BigData ?
Otherwise, is there anyway to tune the core functionality so that fetching
methods for specific kind of nodes/rels/situations
can be overwritten ?

Cheers,

Pablo

-- 
Pablo Pareja Tobes

My site http://about.me/pablopareja
LinkedInhttp://www.linkedin.com/in/pabloparejatobes
Twitter   http://www.twitter.com/pablopareja

Creator of Bio4j -- http://www.bio4j.com

http://www.ohnosequences.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Size limits for REST Server?

2011-10-13 Thread Jim Webber
Hi Pablo,

For the very specific use-cases I'd recommend writing an extension rather than 
using the default representations. The default behaviour of the REST API 
emphasises discoverability which in the case of supernodes isn't usually 
desirable.

Jim
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Size limits for REST Server?

2011-10-13 Thread Pablo Pareja
Hi Jim,

What do you exactly mean by discoverability ? Always getting all in/out rels
for a node?

About writing an extension, has anyone already done this at some level?
Is there any kind of docs about this?

And lastly (I just realized I only asked more questions so far... )  is the
REST-Server somehow prepared
for these extensions? I mean, could I use the 'skeleton' of the Server and
only change some parts in order
to get all this?

Thanks!

Pablo

On Thu, Oct 13, 2011 at 4:32 PM, Jim Webber j...@neotechnology.com wrote:

 Hi Pablo,

 For the very specific use-cases I'd recommend writing an extension rather
 than using the default representations. The default behaviour of the REST
 API emphasises discoverability which in the case of supernodes isn't usually
 desirable.

 Jim
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




-- 
Pablo Pareja Tobes

My site http://about.me/pablopareja
LinkedInhttp://www.linkedin.com/in/pabloparejatobes
Twitter   http://www.twitter.com/pablopareja

Creator of Bio4j -- http://www.bio4j.com

http://www.ohnosequences.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Size limits for REST Server?

2011-10-13 Thread Peter Neubauer
Pablo,
find docs about unmanaged extensions here:
http://docs.neo4j.org/chunked/snapshot/server-unmanaged-extensions.html

and an example is the clean-db extension by Michael Hunger, see
https://github.com/jexp/neo4j-clean-remote-db-addon as an example.

Does that help?

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 database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Thu, Oct 13, 2011 at 5:04 PM, Pablo Pareja ppar...@era7.com wrote:
 Hi Jim,

 What do you exactly mean by discoverability ? Always getting all in/out rels
 for a node?

 About writing an extension, has anyone already done this at some level?
 Is there any kind of docs about this?

 And lastly (I just realized I only asked more questions so far... )  is the
 REST-Server somehow prepared
 for these extensions? I mean, could I use the 'skeleton' of the Server and
 only change some parts in order
 to get all this?

 Thanks!

 Pablo

 On Thu, Oct 13, 2011 at 4:32 PM, Jim Webber j...@neotechnology.com wrote:

 Hi Pablo,

 For the very specific use-cases I'd recommend writing an extension rather
 than using the default representations. The default behaviour of the REST
 API emphasises discoverability which in the case of supernodes isn't usually
 desirable.

 Jim
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




 --
 Pablo Pareja Tobes

 My site     http://about.me/pablopareja
 LinkedIn    http://www.linkedin.com/in/pabloparejatobes
 Twitter       http://www.twitter.com/pablopareja

 Creator of Bio4j -- http://www.bio4j.com

 http://www.ohnosequences.com
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Cypher Cookbook in the making

2011-10-13 Thread Peter Neubauer
Hi all,
just started a Cypher Cookbook, if you are interested -
http://docs.neo4j.org/chunked/snapshot/cypher-cookbook.html

Feel free to raise issues or comment via Disqus on stuff you wanna see
in there, and we can add it.

Happy coding!

/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 database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Size limits for REST Server?

2011-10-13 Thread Jim Webber
Hi Pablo,

 What do you exactly mean by discoverability ? Always getting all in/out rels
 for a node?

Yup, exactly. By default the REST server projects the graph (naively) onto the 
Web (itself a graph).

 About writing an extension, has anyone already done this at some level?
 Is there any kind of docs about this?

Yes, and I just noticed Peter responded with those links :-)

 And lastly (I just realized I only asked more questions so far... )  is the
 REST-Server somehow prepared
 for these extensions? I mean, could I use the 'skeleton' of the Server and
 only change some parts in order
 to get all this?

With the managed and unmanaged extensions, you add your code into the server 
through APIs. The managed API gives you a very graph-centric view and manages 
creation of JSON and HTML representations on your behalf. The unmanaged API 
gives you a JAX-RS API plus direct access to the underlying database.

Jim
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Neo4j in GIS Applications

2011-10-13 Thread danielb
Hello there,

first I have written a wall of text, previewed it and then the forum went
grey and all of the text has gone - AR! 

In short: I have read some papers about different spatial indices in the
last days. The standard R-tree can be improved in various ways or even
replaced by a quad-tree. In one of the upcoming PostgreSQL versions they
will probably have a quad-tree based SP-GiST implementation. Early
proto-typing shows a speedboost of a factor of 6 in several bounding box
queries. In Neo4j there are less spatial operations based on an index
compared to a relational database and therefore it should be easier to find
an appropriate index (which hopefully will speed up some spatial
operations). In the course of my master thesis (which starts next week -
wish me luck and success) I could have a look into this.

So before everything is gone again - DOOOH - I finish this now...

Regards, Daniel

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-in-GIS-Applications-tp3393925p3419657.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Configuring Neo4J via Python bindings

2011-10-13 Thread Chris Diehl
Hey All,

I just tested a Python script I've been working on to construct a
multi-relational graph in Neo4j. I am using the new Python bindings for
embedded Neo4j. After creating about 18K nodes, the database ground to a
halt.

In the past, when using Gremlin, I would up the heap size for the JVM when
encountering problems. I'm not sure how to tweak settings for the JVM now
that I'm using the Python bindings to fire up the database. Can I do that
from the GraphDatabase() call? Or do I need to look elsewhere to tweak the
JVM parameters?

If you have any other suggestions about parameters I should change, I'm all
ears.

Thanks!

Chris

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Configuring-Neo4J-via-Python-bindings-tp3419961p3419961.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Neo4JClient - .Net - Wiki Documentation updated

2011-10-13 Thread Romiko Derbynew
Hi,

The Neo4j documentation has been updated at:
http://hg.readify.net/neo4jclient/wiki/Home

HTH

-Original Message-
From: Romiko Derbynew 
Sent: Monday, 10 October 2011 10:22 AM
To: 'Bill Baker'
Cc: Tatham Oddie; 'user@lists.neo4j.org'
Subject: RE: [Neo4j] C# REST binding / wrapper

Bill,

Here is an example to create a node without any relationships.

graphClient.Create(new WebSite { Name = acme });

Of course, a better example would be if you had multiple root nodes, perhaps 
different hosting sites if it was a multi-tenant portal db.

Cheers

-Original Message-
From: Romiko Derbynew
Sent: Monday, 10 October 2011 10:14 AM
To: 'Bill Baker'
Cc: Tatham Oddie; user@lists.neo4j.org
Subject: RE: [Neo4j] C# REST binding / wrapper

Hi Bill,


Indeed, it makes sense to have the relationships stemming from the root node.

There is a nice tool you can use to start modelling your graph, it is called 
GVEdit. You can download it from here:
http://www.graphviz.org/

What we do, is before developing, we first add the poco's to GVEdit, and this 
gives us a good idea of how we want to model the database. We always try to 
ensure that everything in the DB grows in proportion. So for example, if we add 
new nodes, there will be new relationships etc.

For reference data (Perhaps a country names etc) we just have a Countries 
Category and then off that each individual country. You can then have a drop 
down list in the UI that gets all country nodes from Countries (Grouping Node).

Here is an example of retrieving a list of countries. Each Country is a node 
and is Grouped in a Countries Node.

public IEnumerableNodeCountry GetCountries()
{
if (countries != null) return countries;

lock (countriesLock)
{
if (countries != null) return countries;
countries = graphClient
.RootNode
.OutReferenceDataCategory(HasReferenceData.TypeKey)
.OutCountriesCategory(HasCountries.TypeKey)
.OutCountry(HasCountry.TypeKey)
.OrderBy(l = l.Data.Name)
.ToArray();
}

return countries;
}


Notice:
Root Node (g.v(0)) is built into the graphclient, so you automatically have a 
reference to g.v.(0)
RootNode-ReferenceDataCategory - CountriesCategory -Country

You can name your relationships any way you like, it is always nice if they are 
descriptive enough to give you an idea what direction it would be.
e.g. 
HAS_PERMISSION (Implies from User to a Permission node)

Also, you have store payload information on relationships as well, which can be 
useful in some scenarios.

I recall, mentioning a way to populate this reference data e.g. a Resource file 
with list of countries, so perhaps the first time the db starts up, you can run 
a sort of schema check.

See this link below for examples of gvedit and code using the graph client to 
create lookup data in the DB:

http://hg.readify.net/neo4jclient/wiki/samples


Cheers

-Original Message-
From: Bill Baker [mailto:bill...@billbak.com]
Sent: Monday, 10 October 2011 4:33 AM
To: Romiko Derbynew
Subject: RE: [Neo4j] C# REST binding / wrapper

That makes a lot of sense.  I guess my follow up question is a more generic 
Neo4j/graph question;  in your schema below, would you have N links from the 
root to N CompanyNodes or one line to a 'Companies' node and N links from there 
to the N companies?  And in either case, does it matter much what we call the 
links from the root to the companies (or groups, or people...)?  Seems like 
that relationship is either an IsA_ link from the root or a BelongsTo 
from the node.

Thanks!

BTW, any sample code helps!  Thanks.

-Original Message-
From: Romiko Derbynew [mailto:romiko.derby...@readify.net]
Sent: Saturday, October 08, 2011 8:03 PM
To: Bill Baker
Subject: Re: [Neo4j] C# REST binding / wrapper

Hi Bill,

Indeed you will also need to define a relationship with the participating node. 
So for example you might have node called Groups which a person belongs to.

Then you might ask but what is Groups related to, well at some point it will be 
off the ROOT node.

E.g
RootNode-CompanyNode-Groups-person

So as you see your very first node will be off Root and away you go, the 
graphclient always holds a reference to the root node. 

So, when making a node, always have the relationship and participating node.

What we have in our system is a schema manager that always checks the DB for 
the core nodes e.g Company off root Users off Company Customers off Company 

And so on.

Let me know how you go, else I can send you sample code to (initialize) your db 
schema. 

Cc me at romiko.derby...@readify.net

Sent from my iPhone

On 09/10/2011, at 6:45 AM, Bill Baker bill...@billbak.com wrote:

 Romiko,
 
 I'm back to trying Neo4jClient and honestly,  am missing something critical I 
 think.  I read the 

Re: [Neo4j] Configuring Neo4J via Python bindings

2011-10-13 Thread Michael Hunger
Hi Chris,

What do you mean by ground to a halt ? Is it using all available CPU or heavy 
IO-waits (top, iostat, vmstat)?

A thread dump (via jps + jstack ) would be great.

You can probably pass in the config map into the  Graph database call.
Current config is logged to messages.log, please share that too as well as your 
system parameters (OS, CPU, RAM, Type of disk).

Michael

Am 13.10.2011 um 23:52 schrieb Chris Diehl:

 Hey All,
 
 I just tested a Python script I've been working on to construct a
 multi-relational graph in Neo4j. I am using the new Python bindings for
 embedded Neo4j. After creating about 18K nodes, the database ground to a
 halt.
 
 In the past, when using Gremlin, I would up the heap size for the JVM when
 encountering problems. I'm not sure how to tweak settings for the JVM now
 that I'm using the Python bindings to fire up the database. Can I do that
 from the GraphDatabase() call? Or do I need to look elsewhere to tweak the
 JVM parameters?
 
 If you have any other suggestions about parameters I should change, I'm all
 ears.
 
 Thanks!
 
 Chris
 
 --
 View this message in context: 
 http://neo4j-community-discussions.438527.n3.nabble.com/Configuring-Neo4J-via-Python-bindings-tp3419961p3419961.html
 Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user