Re: [Neo4j] Comparing properties among different nodes in Gremlin

2011-07-27 Thread Javier de la Rosa
Really thank you, Marko, you're being very helpful for me. but I think that is not exactly what I looking for, or maybe I'm not understanding your solution at all. On Tue, Jul 26, 2011 at 12:07, Marko Rodriguez okramma...@gmail.com wrote: This will give you the actual paths with, of course, the

Re: [Neo4j] Neo4j and chat log structure

2011-07-27 Thread noppanit
Thanks. :) -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-and-chat-log-structure-tp3198962p3202782.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. ___ Neo4j mailing list

Re: [Neo4j] Pagination in Embedded

2011-07-27 Thread Jim Webber
Hi John, In an embedded scenario, pagination doesn't make as much sense. Since calls to the embedded APIs typically return a lazily-evaluatable iterableT you just call next() to efficiently advance through the results. Jim ___ Neo4j mailing list

Re: [Neo4j] nested transactions feature ?

2011-07-27 Thread John cyuczieekc
thanks for that, the github help was most helpful Meanwhile I realized why calling failure() on the child transaction flags the root as failed, mainly because the child transaction cannot be reused and thus we cannot know if it was retried or not, this being the difference between child

[Neo4j] Neo4j Spatial and gtype property

2011-07-27 Thread Christopher Schmidt
Hi all, is it allowed to use the gtype-property to get the geometry type numbers? (Which are defined in org.neo4j.gis.spatial.Constants) -- Christopher twitter: @fakod blog: http://blog.fakod.eu ___ Neo4j mailing list User@lists.neo4j.org

Re: [Neo4j] Pagination in Embedded

2011-07-27 Thread noppanit
Hi, I'm using the embedded version as well and about to implement pagination. Could I use http://api.neo4j.org/current/org/neo4j/helpers/collection/PagingIterator.html this helper to achieve that? but that also means it will return everything and cache that to be called nextPage()? Also what

[Neo4j] Implementation of neo4j

2011-07-27 Thread noppanit
Hi All, I'm using embedded neo4j in Java right now, I just wanted to ask that is there any drawback that I should concern about using embedded neo4j or any benefit of doing that instead of using the server version and implement a plugin to extend the functionality. In terms of performance and

Re: [Neo4j] Pagination in Embedded

2011-07-27 Thread John cyuczieekc
Looks like John H. means, how do you get all results for page N and only for page N ? without the overhead of getting thru all other results; so far, as I understand it (also from what Jim said), you'll have to parse all the results for all pages prior to page N, to get to page N, but not the

[Neo4j] Concurrent access to Index

2011-07-27 Thread paolo.forte
 Hello,     I'm testing neo4j (1.4) with a massive and continuous process: I have an instance of EmbeddedGraphDatabase where each node must be unique (a node identify a userid). My current problem is that when I try to open another instance of graphdb with EmbeddedReadOnlyGraphDatabase in

Re: [Neo4j] OSGi and Neo4j - superbundle approach

2011-07-27 Thread Jörg Richter
Mmh, not really an idea so far. The steps you describe look OK. Try to build and install the Neo4j bundle alone: cd neo4j-osgi/bundle mvn clean install Then try out this project: https://github.com/jri/neo4j-osgi-test It provisions a standalone Felix runtime (with the aid of Pax Runner). There

Re: [Neo4j] Concurrent access to Index

2011-07-27 Thread Rick Bullotta
You don't need to open multiple instances. Simply share the instance across threads - it is thread safe. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of paolo.forte Sent: Wednesday, July 27, 2011 9:14 AM To: user@lists.neo4j.org

Re: [Neo4j] How to download neo4j 1.3 [for using jo4Neo]

2011-07-27 Thread BatiG
But it's not possible to use WrappingNeoServerBootstrapper and Nginx? I can deny or allow some IP address from nginx but the problem is that WrappingNeoServerBootstrapper runs an instance of Jetty.. So it's not possible to set nginx over jetty. And if I create a proxy with nginx, the port 7474

[Neo4j] Graph database index | query across indices

2011-07-27 Thread sambodhi sagi
Hi ! I am facing some problem with indexing. My graph looks like this: Say, I want to query products for a particular category (say 'Phone,Mobiles and telecoms') AND having text 'attractive' in 'details' field. I created two indices: one for Relationship 'RelProductIndex' and one for product

Re: [Neo4j] How to download neo4j 1.3 [for using jo4Neo]

2011-07-27 Thread Anders Nawroth
Hi! Using a firewall to block 7474 to the outside world? /anders 2011-07-27 16:25, BatiG skrev: But it's not possible to use WrappingNeoServerBootstrapper and Nginx? I can deny or allow some IP address from nginx but the problem is that WrappingNeoServerBootstrapper runs an instance of

Re: [Neo4j] Enhanced API and HyperRelationships

2011-07-27 Thread Niels Hoogeveen
Added a test for Enhanced API and HyperRelationships. Reification works correctly, HyperRelationships works correctly for binary relationships. Still need to add tests for HyperRelationships with higher arity (will do so later today). Niels From: pd_aficion...@hotmail.com To:

Re: [Neo4j] Graph database index | query across indices

2011-07-27 Thread sambodhi
please click https://docs.google.com/leaf?id=0B_KtEQOQZhiJOTU4NDNkYjUtMTRhZS00MDgwLWI3NjEtYmZjNTM5NGNhNjVjhl=en_US here to see my https://docs.google.com/leaf?id=0B_KtEQOQZhiJOTU4NDNkYjUtMTRhZS00MDgwLWI3NjEtYmZjNTM5NGNhNjVjhl=en_US graph -- View this message in context:

Re: [Neo4j] Pagination in Embedded

2011-07-27 Thread John Howard
My scenario is: If there 1000 results from an index query, I would like to send 100 at a time to the requesting client(ie, browser). Which means browser will make 10 calls to get all the results by passing either the page number or the next start result(ie, 11, 21, 31 etc) in each call. It looks

Re: [Neo4j] Neo4j Spatial and gtype property

2011-07-27 Thread Peter Neubauer
Christopher, What do you mean by allowing to use? Yes, these properties are used to store the Geometry Type for a Layer and for geometry nodes. Sadly, you cannot have more than one Geometry in Layers due to the limitations of e.g. the GeoTools stack. Cheers, /peter neubauer GTalk:     

[Neo4j] REST batch operation to search-create/edit

2011-07-27 Thread daveygravey
Is it possible through the REST interface to use a batch transactional operation to: 1. Search to see if a node exists 2. if it does exist, then return the node (no problem) 3. If it does not exist then create and return the node If this is not possible via the REST interface, could someone

Re: [Neo4j] Pagination in Embedded

2011-07-27 Thread Jim Webber
Hi John, OK, gotcha. I didn't realise there's a network hop in there too. Go ahead on use the PagingIterator. Jim ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Implementation of neo4j

2011-07-27 Thread Jim Webber
Using the Java version typically gives you (slightly) more powerful API compared to the REST API. My rule of thumb is: if you can use the embedded version in your architecture, then you should. Jim ___ Neo4j mailing list User@lists.neo4j.org

Re: [Neo4j] REST batch operation to search-create/edit

2011-07-27 Thread Peter Neubauer
David, if you want to do conditions etc, I would suggest sending a Gremlin script that does this for you via the REST Gremlin extension, see http://docs.neo4j.org/chunked/snapshot/gremlin-plugin.html for details. Would that work? Cheers, /peter neubauer GTalk:      neubauer.peter Skype      

[Neo4j] Events this Week

2011-07-27 Thread Allison Sparrow
Hi all, Just a reminder on three events we have to close off the week: *TONIGHT at 18:00 PDT* Vancouver Meetup | Reference Node: Creating a Graph: www.meetup.com/graphdb-vancouver/events/24143031/ * TONIGHT at 19:00 PDT* Seattle Meetup | Discussions with Andreas Kollegger:

[Neo4j] HyperRelationship example

2011-07-27 Thread Niels Hoogeveen
I just posted an example on how to use HyperRelationships: https://github.com/peterneubauer/graph-collections/wiki/HyperRelationship-example There is now a proper test for HyperRelationships, so I hereby push the software to Beta status. Please try out the Enhanced API and HyperRelationships

[Neo4j] update node properties via rest?

2011-07-27 Thread Boris Kizelshteyn
It does not infact update, it overwrites. Feature or bug? ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] update node properties via rest?

2011-07-27 Thread Peter Neubauer
Boris, do you have the http requests to recreate this? 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

Re: [Neo4j] update node properties via rest?

2011-07-27 Thread Boris Kizelshteyn
It's the basic documented update form the manual post to /properties. You can even do it in the console and it will exhibit the behaviour. I you need it I will send you my query later on ... Thanks! On Wed, Jul 27, 2011 at 2:59 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote:

Re: [Neo4j] update node properties via rest?

2011-07-27 Thread Javier de la Rosa
On Wed, Jul 27, 2011 at 14:57, Boris Kizelshteyn bo...@popcha.com wrote: It does not infact update, it overwrites. Feature or bug? I asked me the same question and I decided it was a feature... -- Javier de la Rosa http://versae.es ___ Neo4j

Re: [Neo4j] Neo4j Spatial and gtype property

2011-07-27 Thread Craig Taverner
Actually we do allow multiple geometry types in the same layer, but some actions, like export to shapely, will fail. We even test for this in TestDynamicLayers. You can use the gtype if you want, but it is specific to some GeometryEncoders, and might change in future releases. It would be better

[Neo4j] how to scale and view or generate reports for complex graphs?

2011-07-27 Thread sambodhi sagi
Hi Guys! I am a bit new to Graph database. I really liked the concept, graph made managing relationship between the entities relatively easy. I therefore chose to use it in my new project. I started the development two weeks back and my graph has already grown so complex with static data. I am

Re: [Neo4j] how to scale and view or generate reports for complex graphs?

2011-07-27 Thread Niels Hoogeveen
Hi Sambodhi, One of the means to organize complexity is by adding meta information to your database. This first of all helps you organize what relationships and properties belong to what sort of node, it may also help answer questions such as: what nodes belong to what type/class. Niels

Re: [Neo4j] auto indexes in REST in 1.4?

2011-07-27 Thread dhsieh
Same probelm here. Downloaded neo4j-enterprise-1.4.M02-unix.tar.gz with deafult installtion on Linux. Added the foolwoing lines to neo4j.properties file: node_auto_indexing=true node_keys_indexable=name,age relationship_auto_indexing=true relationship_keys_indexable=ROOT,KNOWS,CODED_BY

Re: [Neo4j] Enhanced API and HyperRelationships

2011-07-27 Thread Niels Hoogeveen
Integrated IndexedRelationships functionality into the Enhanced API, so relationships of a certain type are maintained in a Btree, while they can be manipulated through the API just like any other relationship. Still need to test this one. As mentioned earlier today, HyperRelationships and

Re: [Neo4j] Events this Week

2011-07-27 Thread John cyuczieekc
Hey Allison, Just checking, those meet-ups are not accessible via internet (ie. live streamed or something) right? Otherwise, looking forward for the webinar, thanks! On Wed, Jul 27, 2011 at 8:28 PM, Allison Sparrow allison.spar...@neotechnology.com wrote: Hi all, Just a reminder on three

Re: [Neo4j] HyperRelationship example

2011-07-27 Thread John cyuczieekc
Hey Niels, I like xD this seems like a lot of work and professionally done; ie. something I could not have done (I don't have that kind of experience and focus). Gratz on that, I really appreciate seeing this. I cloned the repo from git, manually, with eclipse (not using maven - don't know how

Re: [Neo4j] Neo4j Spatial and gtype property

2011-07-27 Thread Christopher Schmidt
So best is to use SpatialDatabaseRecord.getGeometry()? Christopher On Wed, Jul 27, 2011 at 10:50 PM, Craig Taverner cr...@amanzi.com wrote: Actually we do allow multiple geometry types in the same layer, but some actions, like export to shapely, will fail. We even test for this in

[Neo4j] Paged traversal REST API suggestion for improvement

2011-07-27 Thread Aseem Kishore
Hey there, Neo4j's REST API is overall quite awesome and impressive -- it's just such a great *actual* REST API. I was just reading into paged traversals ( http://docs.neo4j.org/chunked/stable/rest-api-traverse.html ) and couldn't help but feel that this isn't the best way to do paging over