Re: [Neo4j] Strange performance difference on different machines

2011-04-18 Thread Tobias Ivarsson
Hi Bob, What happens here is that you perform a tiny operation in each transaction, so what you are really testing here is how fast your file system can flush, because with such tiny transactions all of the time is going to be spent in transactional overhead (i.e. flushing transaction logs to the

[Neo4j] Meta Model component and Neo4J REST interface

2011-04-18 Thread Davi Bandeira
Hello group, I've been using Neo4J for quite a while now but I reached a point I need some help: I have an ontology and I would like to "model" my neo4j nodes (the ones I will create) based on properties, classes, etc from my ontology. I'm also using JENA API for this purpose (to get information f

[Neo4j] Starting neo4j Server doesn't return to promt

2011-04-18 Thread Stephan Hagemann
Hello group, I just realized that since upgrading to Neo4j 1.3 my deployment is broken. It seems to be due to the fact that when starting up, the server does not return to a prompt (I noticed this locally also - I need to press enter to get the prompt). Vlad (the deployment script) thus probably a

Re: [Neo4j] Palo Alto release party!

2011-04-18 Thread James Todd
a. thx. i still aim to be there. - james On Mon, Apr 18, 2011 at 2:33 PM, David Montag < david.mon...@neotechnology.com> wrote: > James, > > Actually it's at 7pm. Looking back at my e-mail I see that I forgot to put > the time there, sorry about that. Hoping to see you there anyway! > > Dav

Re: [Neo4j] Palo Alto release party!

2011-04-18 Thread David Montag
James, Actually it's at 7pm. Looking back at my e-mail I see that I forgot to put the time there, sorry about that. Hoping to see you there anyway! David On Mon, Apr 18, 2011 at 2:29 PM, James Todd wrote: > i assume this will be going down around 5'ish? > > thx, > > - james > > On Fri, Apr 15,

Re: [Neo4j] Palo Alto release party!

2011-04-18 Thread James Todd
i assume this will be going down around 5'ish? thx, - james On Fri, Apr 15, 2011 at 3:45 PM, David Montag < david.mon...@neotechnology.com> wrote: > Hi graphsters, > > If you are in the SF bay area, don't think you'll go unnoticed! We're > expecting to see you at the Palo Alto release party nex

[Neo4j] Strange performance difference on different machines

2011-04-18 Thread Bob Hutchison
Hi, Using Neo4j 1.3 and the Borneo (Clojure) wrapper I'm getting radically different performance numbers with identical test code. The test is a simple-minded: create two nodes and a relation between them. No properties, no indexes, all nodes and relations are different. On OS X, it takes abou

Re: [Neo4j] No way to delete index using REST API?

2011-04-18 Thread Jim Webber
> That exactly about I asked a few days ago. Neo4 team said that it will > be fixed in the next release, 1.4. Even at this stage in the planning, I can see that story written down :-) Jim ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.o

Re: [Neo4j] [neo4j] Exposing Webadmin

2011-04-18 Thread Jim Webber
Hey Jake, So would you be in favour of removing the discovery document in favour of a server-generated index.html? Or perhaps making it richer (e.g. here's the discovery document pertaining to this "host" header)? Jim ___ Neo4j mailing list User@lists

Re: [Neo4j] Lucene query -- case insensitive.

2011-04-18 Thread Mattias Persson
I'd guess that isn't possible. You'll have to make sure you index your stuff with all lower or all upper (preferably lower), or use lucene analyzers which does that behind the scene. In Neo4j your lucene fulltext indexes does that for you automatically. 2011/4/18 Marko Rodriguez : > Hello, > > How

[Neo4j] Lucene query -- case insensitive.

2011-04-18 Thread Marko Rodriguez
Hello, How do I do a Lucene query and have it ignore case? Thanks, Marko. http://markorodriguez.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] How to combine both traversing and index queries?

2011-04-18 Thread Willem-Paul Stuurman
Hi Ville, We ran into a similar problem basically wanting to search only part of the graph using Lucene. We used traversing to determine the nodes to search from and from there on use Lucene to do a search on nodes connected to the nodes from the traverse result. We solved it as follows: - def

Re: [Neo4j] No way to delete index using REST API?

2011-04-18 Thread Javier de la Rosa
On Mon, Apr 18, 2011 at 07:55, Todd Chaffee wrote: > Also, I'm imagining this issue has already been reported, but I couldn't > find a way to search the mailing list archives?  Am I missing something or > is it just not possible? That exactly about I asked a few days ago. Neo4 team said that it w

[Neo4j] REST API thoughts/questions/feedback

2011-04-18 Thread Michael DeHaan
Hi all. I've been working recently on writing a Perl binding for the Neo4j REST API and thought I'd share some observations, and hopefully can get a few suggestions on some things. You can see some of the Perl work in progress here -- https://github.com/mpdehaan/Elevator (search for *Neo*.pm). B

[Neo4j] Neo4j on OSGi

2011-04-18 Thread Nicolas Jouanin
Hi, I've written a step-by-step guide for installing Neo4j on OSGi ( http://wiki.escapek.org/display/DEV/Neo4j+community+edition+installation). It is based on my own experience and currently it shows how to install Neo4j community edition and opening a Embedded Graph Database from another bundle.

Re: [Neo4j] [neo4j] Exposing Webadmin

2011-04-18 Thread Jacob Hansson
Oops, I realized I just lied. Webadmin will not work if the *root URI of the domain it is accessed from does not return the "discovery document"* that tells it where to find management and database resources. We could work around this, for instance by making webadmins index.html be generated by th

Re: [Neo4j] Taking a Snapshot.

2011-04-18 Thread Guru GV
Thanks Tobias, I will try that out, the suggested approach would also makes sense to reduce the load during taking a backup - will play around and post if anything. On Sat, Apr 16, 2011 at 4:14 PM, Tobias Ivarsson < tobias.ivars...@neotechnology.com> wrote: > Hi Guru, > > Actually Emil is not com

Re: [Neo4j] [neo4j] Exposing Webadmin

2011-04-18 Thread Jacob Hansson
Hey jim, see inline response :) On 2011 4 18 12:00, "Jim Webber" wrote: > > Hey Jake, > > [with my RESTafarian hat on] > > > Will make the server move management stuff to that URI, and webadmin will > > follow suit. So for your case, you should be able to do: > > > > org.neo4j.server.webadmin.da

[Neo4j] No way to delete index using REST API?

2011-04-18 Thread Todd Chaffee
I am playing with release 1.3 (nice work!) and trying to get the PHP REST implementation to work with the new named indexes. I noticed there is no way to delete an index using the REST API? >From the java api I think this would be analogous to Index.delete()? In the wild maybe it wouldn't be use

Re: [Neo4j] Multitenancy in neo4j

2011-04-18 Thread ntankovic
Yup, I think that's the case, glad to hear performance is good. I'll take a closer look and get back to you. -- View this message in context: http://neo4j-user-list.438527.n3.nabble.com/Multitenancy-in-neo4j-tp2833480p2833996.html Sent from the Neo4J User List mailing list archive at Nabble.com.

Re: [Neo4j] Architecturing Neo4J database

2011-04-18 Thread Michael Hunger
1) Plugins can only expose REST endpoints that are added to node, relationship and graphdb URIs, return types are restricted to nodes, relationships, paths, primitives and collections thereof. 2) Extensions can add arbitrary REST endpoints. You could also write an Extension that sets up its own

Re: [Neo4j] Any method to count nodes and relationships in a traversal framework

2011-04-18 Thread bhargav gunda
Respected, here is the case which I want to count total number of nodes and dragging only some level (in between) of nodes from total. The sample code looks like this: public Traverser testCase(Node node, int limitFrom) { TravesalDescription td = null; try{ td = Trave

Re: [Neo4j] Architecturing Neo4J database

2011-04-18 Thread Dima Gutzeit
I have no problem writing it :). So plugin can expose anything it likes and it will bootstrapped by the server when starting/deploying ? Regards, Dima Gutzeit. Sent from my iPhone On 18 באפר 2011, at 13:10, Jim Webber wrote: > Hi Dima, > >> Can it be not REST interface but some custom made Pro

Re: [Neo4j] Architecturing Neo4J database

2011-04-18 Thread Jim Webber
Hi Dima, > Can it be not REST interface but some custom made ProtoBuff interface instead > ? It can be, but we don't have such a binding at the moment. This will be something you'd have to write for yourself, or (sadly) wait until a later Neo4j release. Jim __

Re: [Neo4j] Architecturing Neo4J database

2011-04-18 Thread Dima Gutzeit
Can it be not REST interface but some custom made ProtoBuff interface instead ? Regards, Dima Gutzeit. Sent from my iPhone On 18 באפר 2011, at 12:42, Michael Hunger wrote: > Dima, > > yes, you can write Server Plugins (and Extensions) and then just put those > jars in your servers plugin dire

Re: [Neo4j] getting neighbors of OSM waynode

2011-04-18 Thread Craig Taverner
Hi Reinhard, The PointResult you get from your previous procedure should contain a Point instance with the coordinates of the closet waynode, which you can get using result.getKey(). If that at all you need, then you are done. However, if you want to do more with this result, for example you want

Re: [Neo4j] [neo4j] Exposing Webadmin

2011-04-18 Thread Jim Webber
Hey Jake, [with my RESTafarian hat on] > Will make the server move management stuff to that URI, and webadmin will > follow suit. So for your case, you should be able to do: > > org.neo4j.server.webadmin.data.uri=/neo4jdb/db/data/ > org.neo4j.server.webadmin.management.uri=/neo4jdb/db/manage/ >

Re: [Neo4j] Architecturing Neo4J database

2011-04-18 Thread Michael Hunger
Dima, yes, you can write Server Plugins (and Extensions) and then just put those jars in your servers plugin directory. They will be picked up and be available as REST endpoints for your client applications to consume. Those can also be implemented on top of your domain model, so that you don't

Re: [Neo4j] [neo4j] Exposing Webadmin

2011-04-18 Thread Jacob Hansson
Looked over the configuration properties I mentioned, and it seems I was incorrect, am unable to reproduce the problems I saw before. Doing something like: org.neo4j.server.webadmin.management.uri=/asd/ Will make the server move management stuff to that URI, and webadmin will follow suit. So for

Re: [Neo4j] [neo4j] Exposing Webadmin

2011-04-18 Thread Jacob Hansson
Georg, Like you noticed and like Jim mentioned, the server will pick up on the domain you are using, but the actual URI structure is "fixed". You are supposed to be able to change the mount points for the various server components, by setting these properties in your server config: org.neo4j.serv

Re: [Neo4j] Architecturing Neo4J database

2011-04-18 Thread Dima Gutzeit
On Mon, Apr 18, 2011 at 11:40 AM, Mattias Persson wrote: > 2011/4/17 Dima Gutzeit : > > Tobias, thank you very much for your quick response. > > > Hi Dima, > > > Estimated number of relationships is ten times number of nodes, which > makes > > it 20 billion. Number of properties for each node is

Re: [Neo4j] How to combine both traversing and index queries?

2011-04-18 Thread Mattias Persson
2011/4/18 Michael Hunger : > Would it be also possible to go the other way round? > > E.g. have the index-results (name:Vil*) as starting point and traverse > backwards the two steps to your start node? (Either using a traversal or the > shortest path graph algo with a maximum way-length)? That'

Re: [Neo4j] Multitenancy in neo4j

2011-04-18 Thread Mattias Persson
I've taken part writing an application very similar to yours, with organisations, groups, users and content... and security on those. The security model it uses in the graph is something like http://wiki.neo4j.org/content/ACL where a single database contains tens of thousands of organisations, grou

Re: [Neo4j] How to combine both traversing and index queries?

2011-04-18 Thread Michael Hunger
Would it be also possible to go the other way round? E.g. have the index-results (name:Vil*) as starting point and traverse backwards the two steps to your start node? (Either using a traversal or the shortest path graph algo with a maximum way-length)? Cheers Michael Am 18.04.2011 um 11:03 s

Re: [Neo4j] How to combine both traversing and index queries?

2011-04-18 Thread Mattias Persson
Hi Ville, 2011/4/14 Ville Mattila : > Hi there, > > I am somehow stuck with a problem of combining traversing and queries > to indices efficiently - something like finding all people with a name > starting with "Vil*" two steps away from a reference node. > > Traversing all friends within two step

Re: [Neo4j] Multitenancy in neo4j

2011-04-18 Thread Tobias Ivarsson
If you by multitenancy simply mean that you want to have multiple separate graph database, you can do that as easily as: GraphDatbaseService graphdb1 = new EmbeddedGraphDatabase( "/path/to/your/first/graphdb" ); GraphDatbaseService graphdb2 = new EmbeddedGraphDatabase( "/path/to/your/second/graphdb

Re: [Neo4j] Multitenancy in neo4j

2011-04-18 Thread ntankovic
Yes, that seems to be the least complicated solution. But I'm think in a more complicated way :) In need a graph model that will combine multi-tenancy problem with authorization problem in each tenant. I think that these two problems are similar: both a tenant (organization) and a user from that

Re: [Neo4j] getting neighbors of OSM waynode

2011-04-18 Thread Reinhard Käferböck
Hi Craig, In my application the user clicks somewhere on the map, then I need to find the closest waynode to the mouseclick-position. Can this be done by the procedure I described earlier? My definition of neighbour nodes: Let's say we have nodes from n1, n2, ... n9 Then we have the ways w1 and w

Re: [Neo4j] Architecturing Neo4J database

2011-04-18 Thread Mattias Persson
2011/4/17 Dima Gutzeit : > Tobias, thank you very much for your quick response. > Hi Dima, > Estimated number of relationships is ten times number of nodes, which makes > it 20 billion. Number of properties for each node is ~10 and for each > relationship is ~5. Currently neo4j supports 64 billio

Re: [Neo4j] Multitenancy in neo4j

2011-04-18 Thread Jim Webber
Hello, Multi-tenant in a graph can be easy: simply use a different sub-graph for each tenant and let your application code bind to you a specific subgraph. If you want to go to the next step and have physically separate databases, that's harder. Are there reasons for wanting to do this, such as

[Neo4j] Multitenancy in neo4j

2011-04-18 Thread ntankovic
Hi all, I'm facing a situation to develop a multitenant graph environment. I heard from some of you guys that this is planned for neo4j server. Is this neo4j server only or will I also be possible to use this on neo4j embedded engine? -- View this message in context: http://neo4j-user-list.43852

Re: [Neo4j] Question about REST interface concurrency

2011-04-18 Thread Peter Neubauer
Stephen, did you fork the code? Would be good to merge in the changes or at least take a look at them! Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter      http://twitter.com/peterneub