Re: [Neo4j] Neo4j embedded database with monitoring tool

2011-08-08 Thread Michael Hunger
This information (# of nodes and rels) is available using JMX which can be queried separately without accessing the graphdb. You can provide similar custom monitoring by adding JMX MBeans to your app. Then those can be viewed using jconsole or a similar tool. Cheers Michael Am 08.08.2011 um

Re: [Neo4j] Neo4j embedded database with monitoring tool

2011-08-08 Thread Michael Hunger
JMX is a asynchronous monitoring mechanism employed by the jvm to visualize a plenthora of information. Just start jconsole from your local jdk installation, and point it to any running virtual machine. On the last mbeans tab you see the custom mbeans registered by that app. If you point it at

Re: [Neo4j] Transactions using the REST API?

2011-08-08 Thread Michael Hunger
Nuo, each request to the REST API is executed in its own (small) transaction. Having said that, there is support for batching REST operations which then will also be executed in a single large transaction. (See here: http://docs.neo4j.org/chunked/snapshot/rest-api-batch-ops.html). Michael

Re: [Neo4j] Defining relationships declaritavely or with annotations

2011-08-08 Thread Michael Hunger
. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Michael Hunger Sent: Monday, August 08, 2011 8:41 PM To: Neo4j user discussions Subject: Re: [Neo4j] Defining relationships declaritavely or with annotations You might look into Spring Data

Re: [Neo4j] Neo4j Disk Space Usage

2011-08-09 Thread Michael Hunger
Ahmad, in your Neo4j-Server you have several configuration options which are not changeable via the REST API as for now. - for the runtime environment (like JVM heap) - neo4j-wrapper.conf - for the actual neo4j database neo4j.properties (which can contain pre-set memory-mapping configuration)

Re: [Neo4j] Traverse Order By

2011-08-10 Thread Michael Hunger
The probleme here is that there is already a running database instance (that serves the rest-request and everything else). If you put your code into a ServerPlugin or UnmanagedExtension you can in both cases get an instance of that GraphDatabaseService passed into your method that you then just

Re: [Neo4j] Traverse Order By

2011-08-10 Thread Michael Hunger
Not really, as this gives you only a snapshot from the time of the creation, no updates. Was discussed several times on the mailing list. Cheers Michael Am 10.08.2011 um 14:45 schrieb sometime: I found the solution. Initialization should be done like this: GraphDatabaseService graphDb =

Re: [Neo4j] Traverse Order By

2011-08-10 Thread Michael Hunger
Yes you are able to do that: * if you are running in a neo4j-server you have to access the database via the GraphDatabaseService instance that is provided from the server (because the server _owns_ it) * that's why inside a neo4j-rest server you have to get access to that instance, and

Re: [Neo4j] Traverse Order By

2011-08-10 Thread Michael Hunger
Peter perhaps you could update the docs of ServerPlugin to reflect that and perhaps show an example from one of the two plugins ? Cheers Michael Am 10.08.2011 um 16:02 schrieb Peter Neubauer: Also, That is true officially, but un practice you can return any valid representation. Look at

Re: [Neo4j] Extend the reference API

2011-08-11 Thread Michael Hunger
Hi, you could use either * Server-Plugins: http://docs.neo4j.org/chunked/snapshot/server-plugins.html * Unmanaged Extensions:http://docs.neo4j.org/chunked/snapshot/server-unmanaged-extensions.html * or the (J)Ruby-Script-Extensions: http://wiki.neo4j.org/content/Ruby-script_extension For what

Re: [Neo4j] Change multiple relations in one operation

2011-08-11 Thread Michael Hunger
If that is a very frequent operation, you could introduce an intermediate node that depicts the root of the tree which is fixed (and probably anonymous) and have that node have a single relationship to the parent which can be easily replaced. Cheers Michael Am 11.08.2011 um 21:06 schrieb

Re: [Neo4j] Very Slow Transaction only on Windows

2011-08-11 Thread Michael Hunger
Kei, How much heap does he use for the test? On windows memory mapped files are allocated within the java heap space not outside as on *nix systems. There is a messages.log in the graphdb directory. Could you share its content with us? Thanks so much Michael Am 11.08.2011 um 21:58 schrieb

Re: [Neo4j] cant use index after commit

2011-08-11 Thread Michael Hunger
How large is your graph? And how many connections do those nodes have? Thanks Michael Am 12.08.2011 um 01:50 schrieb ahmed.elsharkasy: i followed your advice and it is now fairly good but i have a new performance issue with traversing i have this line of code Traverser travser

Re: [Neo4j] cant use index after commit

2011-08-11 Thread Michael Hunger
Is this the first traversal, or the average time for several runs? Thanks Michael Am 12.08.2011 um 02:55 schrieb ahmed.elsharkasy: My graph contains 281 nodes with a total of 350 relationships . average outgoing edges per node less than 10 and the same for in going edges what do you

Re: [Neo4j] cant use index after commit

2011-08-11 Thread Michael Hunger
I just created a graph like yours and run the traversal test, it takes a few milliseconds for the initial runs but with hot caches it executes almost instantly. Michael node count = 952 took 72 ms node count = 963 took 29 ms node count = 957 took 39 ms node count = 973 took 29 ms node count =

Re: [Neo4j] java.lang.OutOfMemoryError: PermGen space

2011-08-12 Thread Michael Hunger
please update to 1.4.1 the this goes away and change your gremlin queries to use variables instead of concatenating values into the query string thanks Michael mobile mail please excuse brevity and typos Am 12.08.2011 um 07:56 schrieb Tatham Oddie tat...@oddie.com.au: Howdy, We've

Re: [Neo4j] some questions : unique property and Rest

2011-08-12 Thread Michael Hunger
1.Does Neo4J support *unique property* (Node/Relationship)? Right now there is no native support for that, you have to implement it on your own - define the properties that are unique and then write an getOrCreateNode method and/or endpoint that exposes the following things: - query the

Re: [Neo4j] Heroku Beta: Neo4j - A Rails Example?

2011-08-12 Thread Michael Hunger
very quickly. Andreas: not sure if you have any suggestions about bridging this gap? Maybe I'm missing something simple...? Cheers, Sasha On 11 August 2011 18:27, Michael Hunger michael.hun...@neotechnology.com wrote: Sasha, our rails(3) experience is rather limited. We can ask

Re: [Neo4j] Heroku Beta: Neo4j - A Rails Example?

2011-08-12 Thread Michael Hunger
On 12 August 2011 16:31, Michael Hunger michael.hun...@neotechnology.com wrote: The point is: You don't want to run your webapp in your database. A customer facing rails3 app is an webapp with lots of javascript, UI, images, views etc which also has to be scaled to many instances

Re: [Neo4j] Defining relationships declaritavely or with annotations

2011-08-14 Thread Michael Hunger
(); -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Michael Hunger Sent: Monday, August 08, 2011 8:59 PM To: Neo4j user discussions Subject: Re: [Neo4j] Defining relationships declaritavely or with annotations What does make you

Re: [Neo4j] Very Slow Transaction only on Windows

2011-08-14 Thread Michael Hunger
\neo4jDB\index\lucene.log Thu Aug 11 12:11:22 PDT 2011: NeoStore closed Thu Aug 11 12:11:22 PDT 2011: TM shutting down Thank you, Michael -- Forwarded message -- From: Michael Hunger michael.hun...@neotechnology.com Date: 2011/8/11 Subject: Re: [Neo4j] Very Slow

Re: [Neo4j] Delete followed by traverse: possible race condition?

2011-08-14 Thread Michael Hunger
Are the two operations executed serially? I.e. does the delete return with a correct response code (and the connection is closed afterwards). And then the traverse is started? Otherwise they might execute in parallel (multithreaded) and the traverse operation doesn't see the changes not yet

Re: [Neo4j] How do I load data into IMDB web app?

2011-08-15 Thread Michael Hunger
open in browser localhost:8080/imdb/setup.html mobile mail please excuse brevity and typos Am 15.08.2011 um 02:09 schrieb etc1 e...@nextideapartners.com: I've got the IMDB sample project running in Eclipse STS; I'm using the spring data graph version. How do I load the data from the *.list

Re: [Neo4j] Using Data Graph and @NodeEntity, API methods not compatible

2011-08-15 Thread Michael Hunger
you shouldn't use gds with annozated enities the are no nodes etc but the delegate to nodes rels use graphdatabasecontext or the repositories please see the docs I'm on vacation mobile mail please excuse brevity and typos Am 15.08.2011 um 19:38 schrieb etc1 e...@nextideapartners.com: When

Re: [Neo4j] Is data lost if the object graph and relationships are changed?

2011-08-16 Thread Michael Hunger
The entities just make the existing data in the graph available. With the configured/mapped rels. If you want to have different mappings in you entity you have to provide them in the graph first. This can be achieved by a two step process first add the new mappings to the entities and use java

Re: [Neo4j] Any webservice based spring data graph example

2011-08-16 Thread Michael Hunger
do you by chance have different version of spring on your classpath? mvn dependency:tree helps to figure that out mobile mail please excuse brevity and typos Am 16.08.2011 um 17:53 schrieb Vipul Gupta vipulgupta...@gmail.com: Hi Andreas, Yes, I have been trying to run Neo4j as an

Re: [Neo4j] Difficulty with spring data graph annotations...

2011-08-17 Thread Michael Hunger
there was a repackaging in 1.1.0 have to update the examples to 1.1.0 mobile mail please excuse brevity and typos Am 17.08.2011 um 05:59 schrieb etc1 e...@nextideapartners.com: I am still having difficulty in getting a simple project to compile in Eclipse STS. I have a few questions:

Re: [Neo4j] Problems with Aspects, @Transactional, and neo4j not shutting down properly.

2011-08-18 Thread Michael Hunger
Hi Raffi, the spring configuration contains a shutdown hook on destruction of your spring context. You should call appCtx.close() at the end of your application, which will automatically also shut down the graph database. Sorry for the eclipse STS annoyances. Can you determine any cause for

Re: [Neo4j] NodeBacked to Node

2011-08-22 Thread Michael Hunger
generally you can use graphDatabaseContext.createEntityFromStoredType(node) or graphDatabaseContext.createEntityFromState(node, type) But normally you wouldn't do that but rather pass your traversal description to a repository or your entity. GraphRepositoryProduct repo =

Re: [Neo4j] User Digest, Vol 53, Issue 95

2011-08-23 Thread Michael Hunger
of the movie title for client X on step 4? Thanks by advance for your answer. Michel Date: Tue, 23 Aug 2011 11:42:13 +0200 From: Michael Hunger michael.hun...@neotechnology.com Subject: Re: [Neo4j] [Spring Data Graph] Precisions about Detached Entitiesand SDG under

Re: [Neo4j] Spring Data Graph 1.1.0

2011-08-23 Thread Michael Hunger
This file spring-data-graph-core is no longer there. It should be enough if you'd depend on org.springframework.data : spring-data-graph-neo4j : 1.1.0.RELEASE see here: http://search.maven.org./#artifactdetails%7Corg.springframework.data%7Cspring-data-neo4j%7C1.1.0.RELEASE%7Cjar Michael Am

Re: [Neo4j] [Spring Data Graph] Some questions/suggestions about cross-store persistence

2011-09-06 Thread Michael Hunger
persistence use cases, in order to give a short presentation at Spring User Group in Paris on September. This email follows my previous discussion with Michael Hunger (pasted below), and I have some questions/suggestions: 1- Add a real detached state for entities: In my previous discussion, I

Re: [Neo4j] Blocking access to the Neo4j web admin interface

2011-09-08 Thread Michael Hunger
Linan, your diff didn't make it could you just issue an pull request for that. And Peter should get you sign a CLA btw. Cheers Michael Am 08.09.2011 um 18:33 schrieb Linan Wang: tested the idea, it doesn't work. so i made simple changes to the server code and diff is attached. to change

Re: [Neo4j] Neoclipse start question

2011-09-09 Thread Michael Hunger
Spring Data Graph stores the type information in the graph. The default is to use indexes to store this information, but it can also be stored as type-nodes with relationships to all instances. The current neoclipse supports index lookups, so please try the following: the index name is:

Re: [Neo4j] Neo4j-Base sometimes falls

2011-09-09 Thread Michael Hunger
Could you share the content of the mesages.log file in the database directory ? Also do you sometimes kill the neo4j instance abruptly with kill -9 or similar ? That can cause corruptions of some lucene files ? Thanks Michael Am 09.09.2011 um 13:07 schrieb sometime: again the same error...

Re: [Neo4j] Using Data Graph and @NodeEntity, API methods not compatible

2011-09-13 Thread Michael Hunger
()); -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Michael Hunger Sent: Monday, August 15, 2011 2:00 PM To: Neo4j user discussions Cc: Neo4j user discussions Subject: Re: [Neo4j] Using Data Graph and @NodeEntity, API methods

Re: [Neo4j] Difficulty with spring data graph annotations...

2011-09-13 Thread Michael Hunger
...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Michael Hunger Sent: Wednesday, August 17, 2011 4:56 PM To: Neo4j user discussions Cc: Neo4j user discussions Subject: Re: [Neo4j] Difficulty with spring data graph annotations... there was a repackaging in 1.1.0 have to update

Re: [Neo4j] sdg inheritance a la MappedSuperclass

2011-09-13 Thread Michael Hunger
Hey Gonfi, thanks for the feedback. The only issue with having @NodeEntity on the parent are the indexing queries. Otherwise there are no issues I know of. So what I'm thinking of is to add a level attribute to the @Indexed annotation, which can have the following values: * global - index

Re: [Neo4j] sdg: shorter __type__?

2011-09-13 Thread Michael Hunger
The index uses the class name. I agree on the issues with the refactorings. The problem is that you would have to keep a history of class names which is also annoying and can break. So you suggest that we introduce a facility that maps classes to other names. like. This could also be used for

[Neo4j] Berlin Graphdb Meetup on Mon Sept 19, 0700PM at c-base

2011-09-13 Thread Michael Hunger
Hey Graphistas in Germany, The next meetup is scheduled as I'm in Berlin on Monday. I would like to chat about our Spring Data Graph library (which I'm the project lead of). I would like to make a tour through the features of the Spring Data Graph library which provides object graph mapping

Re: [Neo4j] Fwd: Sync databases

2011-09-14 Thread Michael Hunger
information is stored as above That of course depends if you have to use the data together. Cheers Michael Am 14.09.2011 um 08:59 schrieb Eddy Respondek: I recently posted the following topic on the Gremlin users list and I've been directed here. Apparently Michael Hunger is the man I want to talk

Re: [Neo4j] Java PaaS with Neo4j (slightly off topic)

2011-09-14 Thread Michael Hunger
At CFoundry you can access local storage but it is not persistent. No access to local storage at Heroku, don't know about the others. Sorry. Only IaaS as AWS. Cheers Michael Am 09.09.2011 um 06:40 schrieb Christopher Schmidt: Hi all, I am using (the embedded version of) Neo4j together

Re: [Neo4j] sdg: @Indexed for relationships?

2011-09-16 Thread Michael Hunger
Hey Gonfi, can you explain exactly what it is you're trying to achieve ? * datamodel * # of nodes and rels * # of rels per node (per type) * classes, and the specific access/traversal code that poses the problems That will help us to determine the possible causes for slowdowns as well as

Re: [Neo4j] Moving from embedded graph db to RESTful server

2011-09-18 Thread Michael Hunger
Then it seems that heroku is quite a good fit for you. Register for their beta program (b...@heroku.com) then you can add the neo4j server to your app. The servers are not in germany as peter said but co-located with heroku at AWS US-EAST. With the heroku add-on you can just zip your embedded

Re: [Neo4j] Rebuilding Lucene index

2011-09-18 Thread Michael Hunger
database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Sep 18, 2011 at 5:57 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Perhaps this helps: CheckIndex is a tool

Re: [Neo4j] Rebuilding Lucene index

2011-09-18 Thread Michael Hunger
On Sun, Sep 18, 2011 at 10:02 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Do you have more of that stack-trace? Michael Am 18.09.2011 um 21:42 schrieb Rama Manusama: Sorry apparently I made a mistake, the index that I fixed was a dir that I copied outside the app

Re: [Neo4j] Creating a graph database with BatchInserter and getting the node degree of every node

2011-09-20 Thread Michael Hunger
The retrieval is only virtual, as it is lazy. When I get back to my machine on Thursday, I gonna run your tests and get back to you. I have made some modifications on the relationship loading and want to see how that affects this. There are issues loading lots of relationships with cold caches

Re: [Neo4j] neo4jphp and some cypher question

2011-09-21 Thread Michael Hunger
Could you execute the query in the cypher console? Could you also try to pass in the value Antwerpen as a literal to check? START n=(1) match a--n WHERE a.name= 'Antwerpen' RETURN a // try to add the order by after the query suceeded, might be that you have to use a.name? for that ORDER by

Re: [Neo4j] Spring Data + Neo4j - Indexing Question

2011-09-27 Thread Michael Hunger
Sorry, there is probably an error in the implementation. I added an JIRA issue for that: https://jira.springsource.org/browse/DATAGRAPH-107 Will be fixed in the next milestone/release. I added a test for it and fixed it. As a workaround could you try to set it to null in between?

Re: [Neo4j] Concerning getting all nodes after a traversal

2011-09-27 Thread Michael Hunger
Can we take this to the mailing list ? After all what is your usecase? What is the structure of your graph, what your starting nodes, etc. Do you have cold or hot caches. I think probably the traverser is not limiting to the right set and traverses too much of the graph. Cheers Michael Am

Re: [Neo4j] Concerning getting all nodes after a traversal

2011-09-27 Thread Michael Hunger
to run the calculation the back end before exposing it to the front end. Regards, Dan On Tue, Sep 27, 2011 at 1:39 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Can we take this to the mailing list ? After all what is your usecase? What is the structure of your

Re: [Neo4j] cypher variable relationships

2011-09-27 Thread Michael Hunger
There was a syntax change in the current snapshot from using the caret ^ to a star * Cheers Michael Am 27.09.2011 um 11:29 schrieb F. De Haes: Hi all, I tried this cypher query both in the console of the stable and in the milestone release, but it produces the same error: start

Re: [Neo4j] neo4j-ha and spring-data-graph

2011-09-28 Thread Michael Hunger
Could you also share the property files of the 3 vm's ? Thanks Michael Am 28.09.2011 um 15:59 schrieb Toby O'Rourke: Hi, I'm trying to do a POC using neo4j and spring-data-graph. I have configured 3 VMs running zookeeper and deployed a simple webapp to tomcat on each instance. I've run

Re: [Neo4j] neo4j-ha and spring-data-graph

2011-09-28 Thread Michael Hunger
clientPort=2181 initLimit=5 syncLimit=2 server.1=zoo1:2888:3888 server.2=zoo2:2888:3888 server.3=zoo3:2888:3888 Should I be including some other config? Thanks, Toby. On 28/09/2011 15:53, Michael Hunger michael.hun...@neotechnology.com wrote: Could you also share

Re: [Neo4j] Open Data Sets?

2011-09-28 Thread Michael Hunger
and put them as ready to use neo4j databasen on http://example-data.neo4j.org Cheers M mobile mail please excuse brevity and typos Am 29.09.2011 um 07:17 schrieb Peter Neubauer peter.neuba...@neotechnology.com: Dbpedia is good in RDF. We should start making a list. /peter Sent from my

[Neo4j] Spring Data Neo4j 2.0 Roadmap

2011-10-04 Thread Michael Hunger
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

Re: [Neo4j] Big Traverser perfomance : are '23 rels per milliseconds' good ?

2011-10-06 Thread Michael Hunger
How much memory does your machine have? What kind of disk is in there? Have you looked at the memory config for the neo4j db? What kind of scheduler do you use (please try deadline or as)? Can you please share the config and JVM info that is output at the head of graphdb/messages.log ? I'll

Re: [Neo4j] Big Traverser perfomance : are '23 rels per milliseconds' good ?

2011-10-06 Thread Michael Hunger
Hmm virtual machines might be difficult, esp. with the io indirection. Your memory settings for the db are: • Fri Oct 07 00:10:01 IST 2011: neostore.nodestore.db.mapped_memory=20M • Fri Oct 07 00:10:01 IST 2011: neostore.propertystore.db.arrays.mapped_memory=130M • Fri

Re: [Neo4j] Best practise for multi language properties

2011-10-07 Thread Michael Hunger
You mean something like internationalization? I don't know if that itself is a responsibility of the datamode/graph. You could probably use string arrays to store those. Or do you mean multi-language property names? Cheers Michael, Dresden,Germany Am 07.10.2011 um 09:24 schrieb Moootron:

Re: [Neo4j] Big Traverser perfomance : are '23 rels per milliseconds' good ?

2011-10-07 Thread Michael Hunger
. 2011/10/6 Michael Hunger michael.hun...@neotechnology.com Hmm virtual machines might be difficult, esp. with the io indirection. Your memory settings for the db are: • Fri Oct 07 00:10:01 IST 2011: neostore.nodestore.db.mapped_memory=20M • Fri Oct 07 00:10:01 IST 2011

Re: [Neo4j] MUST_NOT in Index.query leads to NPE

2011-10-07 Thread Michael Hunger
What value is your uuid in that case? is it probably null or empty? Can we see the final query string? Am 07.10.2011 um 20:25 schrieb dieter_f...@gmx.net: Hi everybody, I want to query the Index with the Method query(String). Therefore, I build my query and execute the method:

Re: [Neo4j] MUST_NOT in Index.query leads to NPE

2011-10-07 Thread Michael Hunger
have properties of type String Original-Nachricht Datum: Fri, 7 Oct 2011 20:50:25 +0200 Von: Michael Hunger michael.hun...@neotechnology.com An: Neo4j user discussions user@lists.neo4j.org Betreff: Re: [Neo4j] MUST_NOT in Index.query leads to NPE What value is your

Re: [Neo4j] Neo4j low-level data storage

2011-10-07 Thread Michael Hunger
Lots of thoughts, I just want to add a side note on store defragmentation. Mattias and I wrote a little tool for a customer who was in need of recreation of his store with some properties/relationships omitted but using the original node-ids. We did that by iterating through the existing

Re: [Neo4j] Run test and development DBs at same time

2011-10-08 Thread Michael Hunger
You can use a import org.neo4j.test.ImpermanentGraphDatabase; which uses a temporary directory and cleans its contents before startup. It is contained in the neo4j-kernel-tests.jar. dependency groupIdorg.neo4j/groupId

Re: [Neo4j] Importing data from oracle to neo4j

2011-10-08 Thread Michael Hunger
What is your use-case for importing the DWH data? How are you going to model the data of the DWH in neo4j. How does the domain-model look like? BI data is normally denormalized. So for creating a good graph structure it would be sensible to normalize it during the import. 10k rows is not that

Re: [Neo4j] Big Traverser perfomance : are '23 rels per milliseconds' good ?

2011-10-10 Thread Michael Hunger
Guillaume, please try to reduce the memory mapped settings I provided, e.g by 30%. You can also inspect your system how much free memory is reported when you're running the neo4j test. This amount of memory can be added to the memory mapped file caches. Have you looked at the linux transaction

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

Re: [Neo4j] Article: The Coming SQL Collapse

2011-10-14 Thread Michael Hunger
, Michael Hunger michael.hun...@neotechnology.com wrote: With spring data neo4j you are able to use any domain entity with any node, so it is for instance possible to project an entity to another when used in a different context. Otherwise the Spring Data Neo4j config less invasive

Re: [Neo4j] Neo4j server in maven repo

2011-10-18 Thread Michael Hunger
How about that: http://repo.neo4j.org/content/repositories/releases http://repo.neo4j.org/content/repositories/releases/org/neo4j/app/neo4j-server/1.5.M02/ Peter, perhaps update the docs ? Michael Am 18.10.2011 um 23:29 schrieb jasonab: Peter Neubauer wrote: Not sure how things are

Re: [Neo4j] Iterable handling in unmanaged server extension

2011-10-24 Thread Michael Hunger
It's all jersey there. Michael Am 24.10.2011 um 05:07 schrieb Brendan cheng: Hi, is the Neo4j specific annotations for managed server plugin still available for unmanaged extension?Or do I have to use all Jersey annotations instead? Regards, Brendan

Re: [Neo4j] Odd Result Comparing Nodes...

2011-10-24 Thread Michael Hunger
No because they might be two different objects (node-proxies pointing to node-manager) in memory. But node1.equals(node2) evaluates to true. Michael Am 24.10.2011 um 15:22 schrieb Rick Bullotta: I guess I never tried/noticed this before, but if two Node objects refer to the same node

Re: [Neo4j] Spring Data Graph 2.0.0 and Cypher queries using Repositories

2011-10-24 Thread Michael Hunger
Thanks for the feedback. {param} should use in all caess. I create a test for you issue and report back to you. Cheers Michael Am 24.10.2011 um 14:41 schrieb Tero Paananen: I just upgraded to Spring Data Graph for Neo4J 2.0.0.M1 and it looks like certain things changed for the worse for

Re: [Neo4j] Spring Data Graph / Neo4j – Problems with OO Inheritance Polymorphism relation semantics

2011-10-26 Thread Michael Hunger
Angelos, I'm currently at SpringOne and quite swamped, I get back to you as soon as possible. Michael Am 26.10.2011 um 04:30 schrieb Agelos Pikoulas: On my previous email please excuse my confusing Person, the example should clearly be like this : * * *@NodeEntity public class Content

Re: [Neo4j] Cypher GEOFF

2011-10-31 Thread Michael Hunger
Nigel, cool stuff. What is the easiest way to install py2neo currently? Could you add a simple tabular output as well (like in the webadmin-cypher-console) ? Michael Am 31.10.2011 um 09:24 schrieb Nigel Small: Hi all A quick note on the new command line additions to py2neo (which

Re: [Neo4j] Spring-data-graph with Jetty error

2011-10-31 Thread Michael Hunger
Hi, does this error still persist? In general your setup looks correct. Could you create an JIRA issue for it if it is still not working? http://spring.neo4j.org/issues Thanks so much Michael Am 17.10.2011 um 18:16 schrieb noppanit: I got this erro while trying to run mvn jetty:run on my

Re: [Neo4j] Cypher GEOFF

2011-10-31 Thread Michael Hunger
Nige On 31 Oct 2011 08:41, Michael Hunger michael.hun...@neotechnology.com wrote: Nigel, cool stuff. What is the easiest way to install py2neo currently? Could you add a simple tabular output as well (like in the webadmin-cypher-console) ? Michael Am 31.10.2011 um 09:24

Re: [Neo4j] Neo4j performance with 400million nodes

2011-11-01 Thread Michael Hunger
Alican, we have other customers with that RAM sizes. It is always about the size of your hot data-set (i.e. cached) the better you understand your use-cases, the better you can estimate the # of nodes and rels (and their properties) that have to be cached. Michael Am 01.11.2011 um 10:53

Re: [Neo4j] REST traverse deprecation

2011-11-02 Thread Michael Hunger
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

Re: [Neo4j] REST traverse deprecation

2011-11-02 Thread Michael Hunger
accommodate for more ad-hoc execution mode for which writing an extension is too much ceremony. Michael Am 02.11.2011 um 10:54 schrieb Jacob Hansson: 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

Re: [Neo4j] Cypher: including start in result

2011-11-02 Thread Michael Hunger
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

Re: [Neo4j] Cypher: ommitting relationship if not available

2011-11-02 Thread Michael Hunger
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.

Re: [Neo4j] REST traverse deprecation

2011-11-02 Thread Michael Hunger
. http://startupbootcamp.org/- Öresund - Innovation happens HERE. On Wed, Nov 2, 2011 at 3: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

Re: [Neo4j] Cypher questions

2011-11-02 Thread Michael Hunger
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

Re: [Neo4j] User Digest, Vol 56, Issue 16

2011-11-02 Thread Michael Hunger
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

Re: [Neo4j] zero fromDepth and toDepth

2011-11-02 Thread Michael Hunger
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 )

Re: [Neo4j] Cypher questions

2011-11-02 Thread Michael Hunger
help. A. From: Michael Hunger michael.hun...@neotechnology.com To: Neo4j user discussions user@lists.neo4j.org Sent: Wednesday, November 2, 2011 5:31 PM Subject: Re: [Neo4j] Cypher questions Both your questions would be answered with indexing

Re: [Neo4j] Neo4j Heroku addons - specifications

2011-11-03 Thread Michael Hunger
Am 03.11.2011 um 10:14 schrieb Jeroen van Dijk: Hi everyone, I hope to be able to use Neo4j in production soon in the form of the Heroku addon. I'm not a beta tester so I hoped someone could tell me whether this version includes some of the features I see locally. - Does is have the

Re: [Neo4j] REST api get list of all relationship properties (unique)

2011-11-03 Thread Michael Hunger
Shouldn't it be enough to call toString() on your results if they are not valid representations, which are for a plugin: * Primitives * Node * Relationship * Path * Iterables or Collections thereof * probably also Map but I'm not sure. please try: {script:neo4j = g.getRawGraph().toString()}

Re: [Neo4j] Comparing Lucene index lookup performance to lookup by node id

2011-11-03 Thread Michael Hunger
Hi Tero, thanks for the valueable feedback. Please note that SDN is not yet optimized in all places. So I'd love your input by profiling your use-case. It is probably something in between. Can you use visualvm or yourkit or another profiler to figure out the hotspot methods where the most

Re: [Neo4j] Neo4J REST console

2011-11-04 Thread Michael Hunger
Yep, the syntax changed between milestones. Docs are here: http://docs.neo4j.org/chunked/snapshot/cypher-query-lang.html Expect more and more radical changes ahead :) Michael Am 04.11.2011 um 17:16 schrieb andrew ton: Hi, I'm using Neo4j REST 1.5 -SNAPSHOT. In the console I always get

Re: [Neo4j] Cypher-Pickle?

2011-11-04 Thread Michael Hunger
I also strongly agree. In my discussions with interested people and customers this always stood out when pulling cypher to query their data. They could instantly recognize which parts of their structure are taking part in the query. Michael Am 04.11.2011 um 21:36 schrieb Tero Paananen: I'd

Re: [Neo4j] sdg: @RelatedToVia in @RelationshipEntity

2011-11-04 Thread Michael Hunger
Yes, relateTo can only be used in Node Entities as Neo4j only allows linking Nodes with Relationships. What is your use-case ? Cheers Michael Am 01.11.2011 um 06:29 schrieb Gonfi den Tschal: (using sdg 1.1.0RELEASE) when using @RelatedToVia in a @RelationshipEntity i get a strange

Re: [Neo4j] SDG 2.0.0.M1 cross-store does not work properly

2011-11-05 Thread Michael Hunger
March, could you try to test this on snapshot? I solved an issue regarding that. I'll add the test you mentioned as well Thanks for the feedback. Michael mobile mail please excuse brevity and typos Am 04.11.2011 um 23:00 schrieb Marcin Zasepa se...@vp.pl: Hi guys, i just migrated from

Re: [Neo4j] SDG 2.0.0.M1 cross-store does not work properly

2011-11-06 Thread Michael Hunger
There is are two examples in the current snapshot, hello-worlds and cineasts (w/o -*) Could you share the use-case + NPE that you've described? Thanks a lot Michael mh$ ls -1 spring-data-neo4j-examples/ cineasts [x] cineasts-aspects cineasts-rest hello-worlds [x] hello-worlds-aspects imdb

Re: [Neo4j] Wrong Gremlin results through REST interface

2011-11-07 Thread Michael Hunger
example. If it helps I could give you access to my dataset on Heroku (or through a Zip file). thanks, Jeroen On Mon, Nov 7, 2011 at 11:34 AM, Michael Hunger michael.hun...@neotechnology.com wrote: Jeroen, can you narrow it down to a simpler operation, like just a division? Perhaps

Re: [Neo4j] Wrong Gremlin results through REST interface

2011-11-07 Thread Michael Hunger
is not evaluated (to me as a Groovy/Gremlin/Neo4j noob) Michael, I will send you a link to my database in private. Thanks, Jeroen On Mon, Nov 7, 2011 at 12:41 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Jeroen, that would indeed help a lot. I'll find it. Michael Am

Re: [Neo4j] Wrong Gremlin results through REST interface

2011-11-08 Thread Michael Hunger
though. Thanks a lot. Jeroen On Mon, Nov 7, 2011 at 1:25 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Jeroen, could you try to use the alternative syntax: ... groupCount(m) { it : it += 0.1 } ... It seems to be a problem with evaluation of the string

Re: [Neo4j] How to access the Heroku addon?

2011-11-08 Thread Michael Hunger
Hi there is documentation on the neo4j-wiki: http://wiki.neo4j.org/content/Neo4j_Heroku_Addon And also via the heroku beta docs which you should have gotten credentials (beta/samurai14) via the beta-email from heroku: http://devcenter.heroku.com/articles/neo4j If you have any further

[Neo4j] Cool Discussion related to graph modelling of social networks

2011-11-08 Thread Michael Hunger
In case you haven't seen it: http://blog.pinboard.in/2011/11/the_social_graph_is_neither/ Cheers Michael ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Expected performance question

2011-11-09 Thread Michael Hunger
Oh, and cypher supports streaming (as long as you don't sort/aggregate). So that won't take up your memory. I would love if you could try that just using plain java code and iterating over the node-results and provide us with your performance numbers then. Please make sure to run the test more

<    1   2   3   4   5   6   7   >