[Neo] Neo Template API

2008-09-23 Thread Michael Hunger
-- Michael Hunger Independent Consultant Web: http://www.jexp.de Email: [EMAIL PROTECTED] Enthusiastic Evangelist for Better Software Development Don't stop where you are: http://creating.passionate-developers.org We support Software Engineering Radio (www.se-radio.net

[Neo] neo-template-api at http://components.neo4j.org/

2008-09-24 Thread Michael Hunger
is still missing. Is this page maven generated or manually? Michael -- Michael Hunger Independent Consultant Web: http://www.jexp.de Email: [EMAIL PROTECTED] Enthusiastic Evangelist for Better Software Development Don't stop where you are: http://creating.passionate-developers.org We support

[Neo] Holding nodes between transactions

2008-09-24 Thread Michael Hunger
the neoservice that automatically starts transactions if there is none running for the single method and finishes them afterwards would be simple. Michael -- Michael Hunger Independent Consultant Web: http://www.jexp.de Email: [EMAIL PROTECTED] Enthusiastic Evangelist for Better Software

Re: [Neo] Holding nodes between transactions

2008-09-25 Thread Michael Hunger
matter as they are just provided by a transactional neo service. But removal is still a problem (imho). Michael -- Michael Hunger Independent Consultant Web: http://www.jexp.de Email: [EMAIL PROTECTED] Enthusiastic Evangelist for Better Software Development Don't stop where you are: http

Re: [Neo] Modelling advice

2008-09-26 Thread Michael Hunger
, -- Michael Hunger Independent Consultant Web: http://www.jexp.de Email: [EMAIL PROTECTED] Enthusiastic Evangelist for Better Software Development Don't stop where you are: http://creating.passionate-developers.org We support Software Engineering Radio (www.se-radio.net

[Neo] Test data from the filesystem / jdk

2008-09-28 Thread Michael Hunger
I continued thinking about test data. I've been thinking for a while about better tools for navigating sourcecode. Especially big projects. If they're even designed well they will have tons of classes (IntelliJ IDEA has 30 000). The problem is that most developers are not that able with the

Re: [Neo] Storing and Searching Multiple Independent Graphs

2008-10-07 Thread Michael Hunger
___ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Tobias Ivarsson [EMAIL PROTECTED] Hacker, Neo Technology www.neotechnology.com Cellphone: +46 706 534857 -- Michael Hunger Independent Consultant Web: http://www.jexp.de Email

Re: [Neo] API

2008-11-17 Thread Michael Hunger
kind of language. Ashwin (http://www.javaforu.blogspot.com). ___ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Michael Hunger Independent Consultant Web: http://www.jexp.de Email: [EMAIL PROTECTED

Re: [Neo4j] Unfinished transaction - cannot open db

2011-01-12 Thread Michael Hunger
Hi Andi, as the database reruns all not synced transaction on startup after a startup and clear shutdown all transaction that should be accounted for should be applied and all others discarded. So an new EmbeddedGraphDatabase( path ).shutdown() should clean it up for you (or starting and

Re: [Neo4j] Unfinished transaction - cannot open db

2011-01-12 Thread Michael Hunger
: Non clean shutdown detected on log [../lucene-fulltext/lucene.log.1]. Recovery started ... 12.01.2011 19:55:51 org.neo4j.kernel.impl.transaction.TxManager init INFO: Unresolved transactions found, recovery started ... Cheers, Andi Am 12.01.2011 um 13:32 schrieb Michael Hunger: Hi

Re: [Neo4j] Unfinished transaction - cannot open db

2011-01-12 Thread Michael Hunger
or change to another dtabase location. is shown. The size of the db is quite small (at the moment), neostore.propertystore.db is 946kb and neostore.nodestore.db 45kb Cheers, Andi Am 12.01.2011 um 20:10 schrieb Michael Hunger: Hi Andi, That just shows that the recovery

Re: [Neo4j] Unfinished transaction - cannot open db

2011-01-12 Thread Michael Hunger
(SocialNetworkService.java:46) at nu.buki.diss.cep.data.neo4j.SocialNetworkService.main(SocialNetworkService.java:325) any ideas? Thanks, Andi Am 12.01.2011 um 20:49 schrieb Michael Hunger: I rather meant your program. Just have it start up, and shutdown() the EmbeddedGraphDatabaseService

Re: [Neo4j] Newbie Question related to IMDB

2011-01-12 Thread Michael Hunger
HI Dave, the imdb app is packaged as a war using maven. So you can deploy that easily to Tomcat. The Neo4J Server provides a RESTful interface and is not intended to host applications. If you just want to use the imdb data as your dataset in the Neo4j Server then just copy the files from the

Re: [Neo4j] The imdb example is broken

2011-01-15 Thread Michael Hunger
Alfredas, thanks for pointing that out. What documentation are you referring to? The reference docs of spring-data-graph or the neo4j wiki? Several people documented that independently and I still have to catch up updating all those places. I assume you got the samples from github? We want

Re: [Neo4j] The imdb example is broken

2011-01-15 Thread Michael Hunger
Alfredas, I just checked the imdb example from github and after changing the dependency to 1.0.0.M1 it worked without problems. Michael Am 15.01.2011 um 00:52 schrieb Alfredas Chmieliauskas: Dear all, I am one of the newbies trying to get into experimenting with neo4j. The first thing

Re: [Neo4j] SVN repo access problem

2011-01-15 Thread Michael Hunger
try traceroute to see where the packets get lost Sent from my iBrick4 Am 15.01.2011 um 22:26 schrieb David Montag david.mon...@neotechnology.com: Yeah, so DNS works fine. It's just accessing the server that's not working for me: --- svn.neo4j.org ping statistics --- 8 packets

Re: [Neo4j] The imdb example is broken

2011-01-17 Thread Michael Hunger
Hi Alfredas, yes the parallel universe is that you are looking at an older fork of the examples repository by Thomas Risberg. The only valid examples repo is here: http://github.com/SpringSource/spring-data-graph-examples That should also be mentioned in the reference docs. Thomas actually

[Neo4j] strict class persistence vs. projections

2011-01-19 Thread Michael Hunger
Today Andreas Kollegger and I had an interesting discussion about the prevalence of class based mapping of entities to a graph store. One of the strengths of a graph store is that you don't need a strict schema for your data and you can use lots of different projections to work with it. Spring

Re: [Neo4j] Neo Proxy class and other proxy

2011-01-20 Thread Michael Hunger
Sorry I can't understand what you mean with your first point about NeoProxy. In regard to spring-data-graph. We started with the aspect on fields, it is certainly possible to add the same approach to methods like getters or query methods and setters when they are annotated in an abstract base

Re: [Neo4j] [spring-neo] strict class persistence vs. projections

2011-01-20 Thread Michael Hunger
://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Thu, Jan 20, 2011 at 12:49 AM, Michael Hunger michael.hun...@neotechnology.com wrote: It was you David, who asked

[Neo4j] New return type for REST traversals

2011-01-27 Thread Michael Hunger
Hi, as I'm working on speeding up default usecases and the Java REST driver, for the Neo4j REST API I would like to extend the traverser return types with a fourth one that is a combination of the first 3. The difference is that all nodes and relationships get their full representation with

Re: [Neo4j] Calculating shortest paths in a large graph

2011-01-30 Thread Michael Hunger
Kanjilal, unfortunately this is not the heap dump but the OOM-Error. The *.hprof file is written to the directory from where you started the app. Please send it directly to Tobias Ivarsson tobias.ivars...@neotechnology.com. Additionally as you provided the code, you might perhaps provide the

Re: [Neo4j] Calculating shortest paths in a large graph

2011-01-30 Thread Michael Hunger
You can also zip the graph database directory and send it to me or tobias. Do you run the algorithm just after the insertion of the data or in a separate run? Thanks Michael Am 30.01.2011 um 16:44 schrieb Saikat Kanjilal: Looks like the heap dump file didn't come across in my post, so

Re: [Neo4j] About relation

2011-01-30 Thread Michael Hunger
Jose, Please see the FAQ: http://wiki.neo4j.org/content/FAQ#How_can_I_get_the_total_number_of_nodes_and_relationships_currently_in_Neo4j.3F ((EmbeddedGraphDatabase)graphDb).getConfig().getGraphDbModule().getNodeManager().getNumberOfIdsInUse(Relationship.class); Cheers Michael Am 31.01.2011

Re: [Neo4j] Relationship indexing

2011-02-01 Thread Michael Hunger
://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, Feb 1, 2011 at 1:17 PM, Michael Hunger michael.hun...@neotechnology.com wrote: It sounds as if you are looping through all of them? Have they all the same relationshiptype and direction? Otherwise perhaps use node.getRelationships

Re: [Neo4j] Lucene index commit rate and NoSuchElementException

2011-02-01 Thread Michael Hunger
Hmm MD5 is not a unique hashing function so it might be that you get the same hash for different byte arrays. Can you output the MD5 of the multiple logRow's that are returned by the index. Michael Am 01.02.2011 um 18:19 schrieb Massimo Lusetti: Hi everyone, I'm new to neo4j and I'm making

Re: [Neo4j] Benchmarking Neo4j with Rtree index -v- PostgreSQL/PostGIS (Peter Neubauer) (Peter Neubauer)

2011-02-01 Thread Michael Hunger
we'll have to benchmark it on windows. from what I've experienced windows file caches are broken anyway Michael Sent from my iBrick4 Am 01.02.2011 um 19:04 schrieb Max De Marzi Jr. maxdema...@gmail.com: Not sure if this will work dd for windows: http://www.chrysocome.net/dd command

Re: [Neo4j] Lucene index commit rate and NoSuchElementException

2011-02-01 Thread Michael Hunger
What about batch insertion of the nodes and indexing them after the fact? And I agree with Tobias that a CHM should be a better claim checking algorithm than using indexing for that. The index as well as the insertion of the nodes will only be visible to other threads after the commit (ACID,

Re: [Neo4j] Neo4j 1.2 server on Linux X86 - 64 bit

2011-02-01 Thread Michael Hunger
Hemant, Good work, perhaps you'd like to publish it somewhere in the wiki or in a blog post. Now you also know how to speed up your app, whenever the existing REST API is too chatty for a usecase. Just write a plugin that gets the data (nodes, relationships) that you want to get in one request

Re: [Neo4j] Implementing disambiguation algorithms in Neo4j

2011-02-01 Thread Michael Hunger
Craig, how do you map _all_ properties to the integer (or rather numeric/long?) space. Does the mapping then also rely on the alphabetic (or comparision) order of the properties? Interesting approach. Is your space then as n-dimensional as the numbers of properties you have? Cheers Michael

Re: [Neo4j] Calculating shortest paths in a large graph

2011-02-01 Thread Michael Hunger
Yes as you can see in the visualization there are 4 equal relationship between the nodes, where only one would yield the same information. Michael Am 02.02.2011 um 01:19 schrieb Saikat Kanjilal: Hi Tobias,Thanks for the help, hugely appreciated, you can pick any two nodes on opposite ends

Re: [Neo4j] Implementing disambiguation algorithms in Neo4j

2011-02-01 Thread Michael Hunger
into what is still envisioned, so I'd better stop writing ;-) On Wed, Feb 2, 2011 at 1:11 AM, Michael Hunger michael.hun...@neotechnology.com wrote: Craig, how do you map _all_ properties to the integer (or rather numeric/long?) space. Does the mapping then also rely on the alphabetic

Re: [Neo4j] Implementing disambiguation algorithms in Neo4j

2011-02-01 Thread Michael Hunger
better stop writing ;-) On Wed, Feb 2, 2011 at 1:11 AM, Michael Hunger michael.hun...@neotechnology.com wrote: Craig, how do you map _all_ properties to the integer (or rather numeric/long?) space. Does the mapping then also rely on the alphabetic (or comparision) order

Re: [Neo4j] Shortest Path Query with property filters

2011-02-01 Thread Michael Hunger
Hi Shae, the shortesPath algo takes a RelationshipExpander which is implemented by a Expander subclass. For each Expander you can addNodeFilter and addRelationshipFilters using Predicates. That should do what you try to achieve. If I got this wrong, please someone correct me. What is your

Re: [Neo4j] graph.mydomain.com/node/1

2011-02-01 Thread Michael Hunger
you could use a webserver like apache with a virtual host config and mod_rewrite for rewriting the path component using regexps Michael Sent from my iBrick4 Am 02.02.2011 um 05:32 schrieb darkrain2 donaldban...@gmail.com: Hello, I've install Neo4J rest API and its working great, but i'm

Re: [Neo4j] Fetching Nodes from Graph Database(which was created earlier)

2011-02-02 Thread Michael Hunger
Karthik, You can index the nodes you are interested in as start and/or end-nodes of your traversal and then retrieve them via the index. // to add them gDB.index().forNodes(indexName).add(node,key,value); nodeIndex.get(key,value) returns an IndexHitsNode that you can iterate over or use

Re: [Neo4j] Stability of neo4j graph database

2011-02-03 Thread Michael Hunger
Hello John, what version of Neo4j are you currently running? As it tries to replay an AddRelationshipCommand and there was a recent fix around this issue, you might try to recover your db using Neo4j version 1.3 (Abisko Lampa) M01.

Re: [Neo4j] hello

2011-02-06 Thread Michael Hunger
Jose, properties only support primitive types strings and arrays thereof you might look at our contribution to spring data i.e. github.com/springsource/spring-data-graph where this is possible please ask if you have any questions michael Sent from my iBrick4 Am 06.02.2011 um 19:02 schrieb

[Neo4j] Some brainstorming ideas - 1. Use Neo4j as Document Store

2011-02-06 Thread Michael Hunger
Hi there, this weekend I was away from a computer so I spent some time brainstorming things. I would be interested in any feedback on those thoughts and would like to broaden the audience beyond the devteam. My question: Has anyone ever tried to use Neo4j as a document store ala MongoDB. The

Re: [Neo4j] Some brainstorming ideas - 1. Use Neo4j as Document Store

2011-02-06 Thread Michael Hunger
:09 schrieb Axel Morgner: Hi Michael, just for clarification: Do you refer to how to store the internal structure of BSON documents, or how to store documents in a filesystem-like tree structure? Axel On 06.02.2011 21:50, Michael Hunger wrote: Hi there, this weekend I was away from

Re: [Neo4j] Some brainstorming ideas - 1. Use Neo4j as Document Store

2011-02-06 Thread Michael Hunger
type when streaming/sending the document) Hope this helps. Rick -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Michael Hunger Sent: Sunday, February 06, 2011 3:51 PM To: Neo4j user discussions Subject: [Neo4j] Some

[Neo4j] Brainstorming ideas - 2. REST API (Versioning, Declarative API documentation (DSL))

2011-02-06 Thread Michael Hunger
Hi there, this weekend I was away from a computer so I spent some time brainstorming things. I would be interested in any feedback on those thoughts and would like to broaden the audience beyond the devteam. 1) An idea for versioning the rest API (when using URI based versioning schemes like

Re: [Neo4j] Some brainstorming ideas - 1. Use Neo4j as Document Store

2011-02-06 Thread Michael Hunger
...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Michael Hunger Sent: Sunday, February 06, 2011 4:15 PM To: Neo4j user discussions Subject: Re: [Neo4j] Some brainstorming ideas - 1. Use Neo4j as Document Store Axel, Actually you could do both. I collapsed the file-system

[Neo4j] Neo4j-Server hosting / demo apps

2011-02-06 Thread Michael Hunger
Dear list, We're currently investigating ways to provision neo4j server instances to PaaS providers, e.g. Heroku and Beanstalk. To show off an impressive application (technologically and visually) would really help us to get people interested in trying the Neo4j-Service. The application

Re: [Neo4j] Some brainstorming ideas - 1. Use Neo4j as Document Store

2011-02-06 Thread Michael Hunger
a typical properties/binary ratio of 10/90 percent, so the Neo store remains small and handy. Another benefit is that direct file access is easy and matured. But it's outside Neo. Axel On 06.02.2011 22:14, Michael Hunger wrote: Axel, Actually you could do both. I collapsed the file

Re: [Neo4j] Some brainstorming ideas - 1. Use Neo4j as Document Store

2011-02-06 Thread Michael Hunger
system. In our CMS use case, we have a typical properties/binary ratio of 10/90 percent, so the Neo store remains small and handy. Another benefit is that direct file access is easy and matured. But it's outside Neo. Axel On 06.02.2011 22:14, Michael Hunger wrote: Axel, Actually

Re: [Neo4j] Aux data

2011-02-09 Thread Michael Hunger
Ido, you can also have a look into our Spring-Data-Graph project that comes with a (very early) implementation of a cross-store approach that allows you to have annotated JPA Entities of which certain parts (e.g. a social graph) are stored in the graph database. You can check out the project

Re: [Neo4j] Installing the python bindings ( I think )

2011-02-10 Thread Michael Hunger
://localhost:7474/db/data/node/123;' http://localhost:7474/db/data/index/node/nodes/name/New%20York Sorry, I thought someone updated the wiki, we had the discussion before. Will do it now. Michael Am 10.02.2011 um 13:06 schrieb Tom Smith: On 9 Feb 2011, at 21:25, Michael Hunger wrote

Re: [Neo4j] Installing the python bindings ( I think )

2011-02-10 Thread Michael Hunger
to your search values. Michael Am 10.02.2011 um 13:28 schrieb Tom Smith: On 10 Feb 2011, at 12:11, Michael Hunger wrote: so for your example it would look like: curl -Haccept:application/json -HContent-Type:application/json -X POST -d 'http://localhost:7474/db/data/node/123;'http

Re: [Neo4j] Installing the python bindings ( I think )

2011-02-10 Thread Michael Hunger
Yes because your post data has to be a valid JSON string so you have to write -d 'http://localhost:7474/db/data/node/29;' wrap the double quotes in single quotes, otherwise json just gets http://...29 which it can't parse as a string. the h that it complains about is from http :) Cheers

Re: [Neo4j] SOLVED? Installing the python bindings ( I think )

2011-02-10 Thread Michael Hunger
Sorry for the misunderstanding and confusion. Will clean up the docs after adding some facts. (and also mention the quote problem) Cheers Michael Am 10.02.2011 um 15:21 schrieb Tom Smith: So... my scruffy python code looks like this... import urllib def add_node_to_index(index_name,

Re: [Neo4j] FOLLOW UP? Installing the python bindings ( I think )

2011-02-10 Thread Michael Hunger
Cool, congratulations :) Have fun with the REST API and please report back any issues so that we can improve it. Thanks Michael Am 10.02.2011 um 15:37 schrieb Tom Smith: Just to follow up and get some data out of the index ... import os, re import simplejson as json def match(s,

Re: [Neo4j] Traversing by Relationship property

2011-02-14 Thread Michael Hunger
it is a js syntax error you have to escape the quotes like \'to\' Michael Sent from my iBrick4 Am 10.02.2011 um 22:29 schrieb mike_t t.pr...@gmx.net: Thanks Mattias and Michael for your answers! I tried it with the following request for relationship property to. curl -X POST -H

Re: [Neo4j] embedded vs standalone server

2011-02-16 Thread Michael Hunger
Am 16.02.2011 um 01:03 schrieb Marko Rodriguez: Hey, Me again. Questions: 1. Will your GraphDatabaseService REST implementation support transactions? Not right now. Just automatic per call. - If so, how will that look HTTP-wise (back-and-forth tokens?) - RexsterGraph only

Re: [Neo4j] embedded vs standalone server

2011-02-16 Thread Michael Hunger
Rick, I would be happy to learn about your ideas. How would you avoid serialization ? Or do you just mean java serialization? Over all optimization let's not forget that there is still network latency adding up, so counting microseconds won't help if we have tens of ms latency. Then rather

Re: [Neo4j] No index provider 'lucene' found with Tomcat/Trinidad

2011-02-17 Thread Michael Hunger
I run into the same issue when starting my test-server from the commandline. Checked that the neo4j-lucene-index-1.3.M02.jar was there with the correct index provider in META-INF/service/org.neo4j.kernel.KernelExtension Any ideas Mattias? Thanks Michael Am 16.02.2011 um 23:15 schrieb Andreas

Re: [Neo4j] No index provider 'lucene' found with Tomcat/Trinidad

2011-02-17 Thread Michael Hunger
Sorry, didn't see your mail (had Andreas' still open for replying). It worked, thanks very much. But funnily the lucene jar is not recognized as dependency by maven for the server (mvn dependency:copy-dependencies). I assume it is added by the server-build project? Cheers Michael Am

[Neo4j] Spring Neo4jTemplate

2011-02-18 Thread Michael Hunger
Dear Graphsters (or is it Graphists/Graphistas ?), I'm currently thinking about the API of a possible Neo4jTemplate and am not making so much progress. Perhaps those of you that have been to Spring-land have some good ideas on how to continue. My main problem is that the typical Spring

[Neo4j] Testing Neo4j Applications - Wiki page

2011-02-18 Thread Michael Hunger
I started a wiki page on testing, if you have anything to add there, please feel to do so. If you have any questions please reply to the mail or put them in the wiki page to be answered. http://wiki.neo4j.org/content/Testing_with_Neo4j Cheers Michael

[Neo4j] FYI: Digest of our late night discussion (around domain modeling) with Mark Nijhof

2011-02-18 Thread Michael Hunger
Feel free to skim it or not, just don't want it to get lost so that no one else can learn from that or contribute alternative solutions. Cheers Michael 1) All nodes are equal in Neo4j if I am correct, so if I have different types myself then I just create a node_type property with a text

Re: [Neo4j] FYI: Digest of our late night discussion (around domain modeling) with Mark Nijhof

2011-02-18 Thread Michael Hunger
(no possibility to screw that up by forgetting to add a type node). -Mark On Fri, Feb 18, 2011 at 12:21 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Feel free to skim it or not, just don't want it to get lost so that no one else can learn from that or contribute

Re: [Neo4j] Spring data and Pipes

2011-02-20 Thread Michael Hunger
all finders map back to the underlying graph so it doesnt matter which one to use. one could still add a toVertex wrapper to your domain objects to have them be usable in tinkerpop what is the usecase you want to achieve with the combination of spring data graph and tinkerpop glad that

Re: [Neo4j] Root Node

2011-02-20 Thread Michael Hunger
One purpose of the reference not is that you don't have to rely on indexing for getting to certain nodes. If you connect your nodes to the reference node in a way that puts them in certain categories you can always get to them via traversal. Connections to the reference node are also used for

Re: [Neo4j] Spring data and Pipes

2011-02-20 Thread Michael Hunger
also just add the child to the collection to create the relationship. Cheers Michael Am 20.02.2011 um 21:22 schrieb Alfredas Chmieliauskas: On Sun, Feb 20, 2011 at 8:20 PM, Michael Hunger michael.hun...@neotechnology.com wrote: all finders map back to the underlying graph so it doesnt matter

Re: [Neo4j] Root Node

2011-02-20 Thread Michael Hunger
Yep. Just think in graph index :) Michael Am 20.02.2011 um 22:26 schrieb Mark Nijhof: Ah right, so I could connect via a relationship my type nodes to this reference node (atm I was using an index to get to them). -Mark On 20. feb. 2011, at 22:24, Michael Hunger michael.hun

Re: [Neo4j] Social Networks And Graph Databases

2011-02-21 Thread Michael Hunger
You shouldn't be confused because you got it right :) Cheers Michael Am 21.02.2011 um 15:40 schrieb Rick Otten: Ok, I'm following this discussion, and now I'm confused. My understanding was that the (potentially very large) database is replicated across all instances. If someone needed

Re: [Neo4j] Social Networks And Graph Databases

2011-02-21 Thread Michael Hunger
to specific nodes. It'll depend on your application how you generate your routing rules. Jim On 21 Feb 2011, at 14:51, Michael Hunger wrote: You shouldn't be confused because you got it right :) Cheers Michael Am 21.02.2011 um 15:40 schrieb Rick Otten: Ok, I'm following

Re: [Neo4j] server with big (huge?) graph

2011-02-23 Thread Michael Hunger
First - you should perhaps write a Server-Plugin that does your heavy lifting on the server and provides a REST endpoint to get the results. Not sure if non-GET verbs are supported yet (otherwise you can always go for an unmanaged extension defining your own resources). You can do indexing for

Re: [Neo4j] Neo4J Rest server API

2011-02-23 Thread Michael Hunger
What was the actual index name you used for indexing? So the part of your sample app which does: graphdb.index().forNodes(indexName).add(node,field,value) Just creating the index-service for the graph-db (which is imho the old index API anyway) won't index anything. Michael On Wed, Feb 23,

Re: [Neo4j] Cache sharding blog post

2011-02-24 Thread Michael Hunger
It would be nice to put this discussion in the blog comments too, so that outside people can benefit from that? Cheers Michael Am 24.02.2011 um 11:23 schrieb Jim Webber: Hi Mark, A nice clear post. The choice of Router is obviously key. For the given routing examples based on user or

[Neo4j] flocking algorithms perhaps interesting for visualization (esp. over time) in graphs

2011-02-24 Thread Michael Hunger
http://harry.me/2011/02/17/neat-algorithms---flocking/ Cheers Michael ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] MMap Error on importing large data

2011-02-26 Thread Michael Hunger
The error occurs here: catch ( OutOfMemoryError e ) { e.printStackTrace(); ooe++; logWarn( Unable to allocate direct buffer ); } And I assume that's why the jdk classloader can't load the stuff needed for

Re: [Neo4j] MMap Error on importing large data

2011-02-26 Thread Michael Hunger
be that too many files are open... there has been some previous mail about batch insertion (refering to lucene index insertion) keeping files open. Could you do an: lsof -n | grep name-of-your-store-dir | wc and see if that returns a high number, 1000 or something? 2011/2/26 Michael

Re: [Neo4j] MMap Error on importing large data

2011-02-27 Thread Michael Hunger
you can try to null the batch inserter and all its external deps that you control add several System.gc() with some thread.sleep(5000) in between that should free the heap you can also output runtimes free memory or even better have a jconsole run concurrently to see heap allocation history (it

Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?

2011-02-27 Thread Michael Hunger
: SHA1 On 02/27/2011 01:22 PM, Michael Hunger wrote: can you post maven dependency:tree [INFO] Scanning for projects... [INFO] - [INFO] Building Neo4j Spatial Components [INFO]task-segment: [dependency:tree

Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?

2011-02-27 Thread Michael Hunger
Hmm looking at that there: Why does spatial depend on server 0.6-SNAPSHOT which pulls in 1.3-SNAPSHOT which might due Tobias refactorings in kernel extensions not binary compatible be with the regular 1.3.M01 dep ? Craig could you perhaps please update the deps of neo4j-spatial to 1.3.M03

Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?

2011-02-27 Thread Michael Hunger
- Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Feb 27, 2011 at 9:01 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Hmm looking at that there: Why does spatial depend on server 0.6-SNAPSHOT which pulls in 1.3-SNAPSHOT

Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?

2011-02-27 Thread Michael Hunger
/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Feb 27, 2011 at 9:01 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Hmm looking at that there: Why does spatial depend on server 0.6-SNAPSHOT which pulls

Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?

2011-02-27 Thread Michael Hunger
Interestingly when I run the tests from the IDE all work fine. Only via maven they fail. That's really weird. Michael Am 27.02.2011 um 22:08 schrieb Peter Neubauer: Ok, Upgrading will fix a lot of that... On Feb 27, 2011 10:01 PM, Michael Hunger michael.hun...@neotechnology.com wrote

Re: [Neo4j] Hosted OSM and library design considerations

2011-02-27 Thread Michael Hunger
It was me :) As you sent me the access credentials I assumed you knew. Cheers Michael Am 27.02.2011 um 22:46 schrieb Nolan Darilek: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just had a very nice chat with one of you, not sure whom, about Neo4J Spatial's future, and we talked briefly

Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?

2011-02-27 Thread Michael Hunger
- Scandinavia's coolest Bring-a-Thing party. On Sun, Feb 27, 2011 at 10:13 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Interestingly when I run the tests from the IDE all work fine. Only via maven they fail. That's really weird. Michael Am 27.02.2011 um 22:08 schrieb Peter Neubauer

Re: [Neo4j] More build issues

2011-02-27 Thread Michael Hunger
/2011 05:38 PM, Michael Hunger wrote: What neo4j-spatial did you use? The locally fixed ? This is _still_ at 1.3-M01 or the remote github branch (that one I updated to M03). The M03 branch. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla

Re: [Neo4j] Forums ?

2011-02-28 Thread Michael Hunger
I think Peter was a bit too fast, there are still some issues with google groups (not the least migrating all list users there). You can easily do attachments to the mailing list. I doubt we need formatted text for our kind of content. You can use the mailing list by just hitting reply. You

Re: [Neo4j] Concurrent graph usage, design guidelines

2011-02-28 Thread Michael Hunger
Miklós, you should actually do both :) So go for the embedded version to create domain specific service calls for interacting with your database. And then expose those as your own REST-endpoints using either a Server-Plugin or an unmanaged extension. The current REST server API is too noisy

Re: [Neo4j] Any difference in using nested Transaction in ServerPlugin Module?

2011-02-28 Thread Michael Hunger
Could you perhaps share (a simplified if necessary) version of the source code of your ServerPlugin? Cheers Michael Am 28.02.2011 um 11:20 schrieb Brendan Cheng: Hi I received message : Unable to commit transaction, exception : org.neo4j.graphdb.TransactionFailureException: Unable

Re: [Neo4j] Concurrent graph usage, design guidelines

2011-02-28 Thread Michael Hunger
, unfortunately I need concurrent write access. However, sharing the GraphDatabaseService object might be usable for me. I'll investigate this approach too. Thanks again, Miklós Kiss 2011.02.28. 10:38 keltezéssel, Michael Hunger írta: Miklós, you should actually do both :) So go

Re: [Neo4j] Spring Neo4jTemplate

2011-02-28 Thread Michael Hunger
As the getRelationships() is also iterating and when we throw away uninteresting relationships while working through that we'll at least won't waste memory. What could be more interesting is to find all shortest paths between the type node and the current node. i.e. current node (A) - rel -

Re: [Neo4j] Spring Neo4jTemplate

2011-02-28 Thread Michael Hunger
It will be delegated to NodeTypeStrategy anyway :) Michael Am 28.02.2011 um 22:38 schrieb David Montag: Ain't it beautiful? :) The internals of the implementation haven't been decided on yet, but it will be as efficient as possible. I'll keep you posted on the progress. David On Mon,

Re: [Neo4j] limiting results

2011-03-07 Thread Michael Hunger
As the traverser returns its results lazily you can just stop after N nodes (for embedded mode). If you talking REST-server there is currently no such limitation but REST improvements are worked on. You can easily write your own server plugin or addon that does this, though. Cheers Michael

Re: [Neo4j] buggy webadmin

2011-03-12 Thread Michael Hunger
Regarding the second fact: {firstkey:Val, secondkey:Val2} is no valid JSON, you always have to quote strings. i.e. {firstkey:Val, secondkey:Val2} Cheers Michael Am 12.03.2011 um 21:49 schrieb Anton Kulaga: Hello, I stumbled upon few bugs in neo4j webadmin. When I create a relationship

Re: [Neo4j] Does it possible to use neo4j-server with jo4neo?

2011-03-13 Thread Michael Hunger
? Actually my code is working with jo4neo, it's the reason why I don't want to change directly my code for using Spring Data... Have a nice w-e, Bat Le 12-mars-11 à 22:47, Michael Hunger a écrit : I think the main problem is, that jo4neo runs agains neo4j - 1.0, so there are lots of things

Re: [Neo4j] Issue with lucene index

2011-03-14 Thread Michael Hunger
They guys could create at least one in Malmö? Isn't Andreas there as well, and certainly some more fine folks? We can do one locally here in Gemany, perhaps Berlin (perhaps we can combine that with our monthly flight to CPH). Cheers Michael Am 14.03.2011 um 11:50 schrieb Jim Webber: Hey

Re: [Neo4j] Beer and Talk

2011-03-14 Thread Michael Hunger
:37 PM, Michael Hunger michael.hun...@neotechnology.com wrote: They guys could create at least one in Malmö? Isn't Andreas there as well, and certainly some more fine folks? We can do one locally here in Gemany, perhaps Berlin (perhaps we can combine that with our monthly flight to CPH

Re: [Neo4j] Beer and Talk - idea for an app dev-net.com

2011-03-14 Thread Michael Hunger
to the expressiveness?: e.g. works_at, works_with, wrote, read, reviewed, attended, presented, created, Am 14.03.2011 um 13:04 schrieb Alfredas Chmieliauskas: Great! I think thats a great idea! A On Mon, Mar 14, 2011 at 2:02 PM, Michael Hunger michael.hun...@neotechnology.com wrote: I would

Re: [Neo4j] Neo4j powering the Web of Things

2011-03-15 Thread Michael Hunger
sounds perfect and would make a great case study I would be very much interested in your feedback on spring data graph also which kind of graphy evaluations/queries do you run on this dataset thanks Michael Sent from my iBrick4 Am 15.03.2011 um 17:54 schrieb Alfredas Chmieliauskas

Re: [Neo4j] 1.3.M03 version conflict?

2011-03-15 Thread Michael Hunger
mvn dependency:tree is your friend Michael Sent from my iBrick4 Am 15.03.2011 um 19:23 schrieb Christopher Schmidt fakod...@googlemail.com: Yes - I overlooked that there is a shell version 1.3.M03. Thanks :-) On Tue, Mar 15, 2011 at 6:45 PM, Anders Nawroth

Re: [Neo4j] Neo4j powering the Web of Things

2011-03-15 Thread Michael Hunger
, Mar 15, 2011 at 6:01 PM, Michael Hunger michael.hun...@neotechnology.com wrote: sounds perfect and would make a great case study I would be very much interested in your feedback on spring data graph there are a few things that could be improved, also we used the M02 version. I'll try to move

Re: [Neo4j] Neo4j Spatial and GeoTools

2011-03-15 Thread Michael Hunger
, and needed to include dependencies in the gem. The maven dependencies were a bit over zealous and so too many libraries were included. Michael Hunger came to the rescue and cleaned up the dependencies somewhat, so the current gem is quite a lot thinner than the earlier ones. Anyway, aside

Re: [Neo4j] authentication on neo4j standalone server

2011-03-16 Thread Michael Hunger
right now either use a proxy in front or pull the server project and a simple, two line auth filter in front. perhaps we should add request-filters as an extension mechanism much like the unmanaged extensions to the server. M Sent from my iBrick4 Am 16.03.2011 um 05:28 schrieb Scott Farrar

Re: [Neo4j] 回复: Fans of Neo4j From Chinese

2011-03-22 Thread Michael Hunger
Hi, You can try to create intermediary nodes that aggregate certain kinds of relationships, i.e. create a abstraction on top of them. This is also used for write heavy scenarios e.g. activity streams with super-nodes which are connected to millions of others - you just introduce a second round

  1   2   3   4   5   6   7   >