[Neo4j] Re: Cartesian product in Neo4j

2014-05-02 Thread Tom Zeppenfeldt
Assuming that you have nodes representing suit en value, all cards can be created like this. match (s:suit),(v:value) with s,v create (s)<-[:SUIT]-(c:CARD)-[:VALUE]->(v) Best, Tom On Friday, 2 May 2014 22:33:15 UTC+2, Gabriel Peschl wrote: > > Hi everyone, > > I would like know how I can perfor

[Neo4j] Cartesian product in Neo4j

2014-05-02 Thread Gabriel Peschl
Hi everyone, I would like know how I can perform a cartesian product in 2 graph, stored in neo4j. For example: the first graph I have this nodes: Ace King Jack in the second graph, I have this nodes: Hearts Diamonds Clubs So, the result after the cartesian product: First node: (Ace, Hearts)

[Neo4j] Comment utiliser merge in cypher

2014-05-02 Thread hiba lassoued
Salut En fait je veux utiliser l'option merge de cypher mais j'ai une problème MERGE ( AdresseClient : Clients { name: splitArray[5] }) je sais que dois respecter le syntaxe et met splitArray[5] entre deux cotes mais j'ai écrit un pg qui va parser une ligne en des champs et le name doit prendre

[Neo4j] Query : How to import JSON in to ne04j

2014-05-02 Thread Dhaval Patel
Hey folks, I am very new to neo4j. Can you please suggest the way how to import the following data in to ne04j. [0,0,[[1,1],[3,3]]] [1,0,[[0,1],[2,2],[3,1]]] [2,0,[[1,2],[4,4]]] [3,0,[[0,3],[1,1],[4,4]]] [4,0,[[3,4],[2,4]]] -- You received this message because you are subscribed t

Re: [Neo4j] Should I label the node or indexed a property node in this case?

2014-05-02 Thread Michael Azerhad
Understood, thanks :) Michael On Friday, May 2, 2014 4:17:35 PM UTC+2, Michael Hunger wrote: > > In the first case it adds the label to the node record and the node to the > label-node-index which it then uses for search > > In the second case it searches all nodes with that label, has to load

Re: [Neo4j] State of the java-rest-bind project

2014-05-02 Thread Michael Hunger
For both there is a 2.0 branch Sent from mobile device Am 02.05.2014 um 14:18 schrieb "Davide D'Alto" : > Thank you very much, I've missed the neo4j jdbc driver I'll take a look at it > > > On Fri, May 2, 2014 at 1:16 PM, Alex Frieden wrote: >> What version of neo4j are you running? In gener

Re: [Neo4j] Should I label the node or indexed a property node in this case?

2014-05-02 Thread Michael Hunger
In the first case it adds the label to the node record and the node to the label-node-index which it then uses for search In the second case it searches all nodes with that label, has to load their properties and check the property for the value on each node So in my experience the first approa

Re: [Neo4j] neo4j property store

2014-05-02 Thread Michael Hunger
Look at the file size on disk Propertystore, stringstore and arraystore Michael Sent from mobile device Am 02.05.2014 um 15:28 schrieb Alex Frieden : > Is there a way to check how big the neo4j propertystore is? Thanks! > -- > You received this message because you are subscribed to the Googl

[Neo4j] neo4j property store

2014-05-02 Thread Alex Frieden
Is there a way to check how big the neo4j propertystore is? Thanks! -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more option

[Neo4j] Should I label the node or indexed a property node in this case?

2014-05-02 Thread Michael Azerhad
Suppose a "Notification" entity. To keep thing simple, let's assume a single property: "*readFlag*", that could be *true* if the notification was already read by the client, or *false* if it is new or not checked by the client yet. What is the difference in term of performance between those both

Re: [Neo4j] Intermittent "Unknown Identifier" Error

2014-05-02 Thread Nigel Small
We've been seeing similar (intermittent) errors for some time but as yet have been unable to build a standalone piece of code that reliably generates the error. One workaround I have tried is to ensure all nodes and relationships in a query have an explicit identifier, e.g. dummy1, dummy2 and so o

Re: [Neo4j] State of the java-rest-bind project

2014-05-02 Thread Davide D'Alto
Thank you very much, I've missed the neo4j jdbc driver I'll take a look at it On Fri, May 2, 2014 at 1:16 PM, Alex Frieden wrote: > What version of neo4j are you running? In general I would recommend using > the neo4j jdbc driver > On May 2, 2014 7:39 AM, "Davide D'Alto" wrote: > >> Hi, >> I

Re: [Neo4j] State of the java-rest-bind project

2014-05-02 Thread Alex Frieden
What version of neo4j are you running? In general I would recommend using the neo4j jdbc driver On May 2, 2014 7:39 AM, "Davide D'Alto" wrote: > Hi, > I need a java client to connect to Neo4j and I've seen the java-rest-bind > project on github. > The project is still using neo4j version 1.9.x a

[Neo4j] State of the java-rest-bind project

2014-05-02 Thread Davide D'Alto
Hi, I need a java client to connect to Neo4j and I've seen the java-rest-bind project on github. The project is still using neo4j version 1.9.x and I was wondering what the state of it. Thanks, Davide -- You received this message because you are subscribed to the Google Groups "Neo4j" group.

Re: [Neo4j] Case sensitivity queries with Spring Data Neo4j

2014-05-02 Thread Michael Hunger
Fulltrxt indexes are by default case insensitive Otherwise you might want to use toupper or toLower on either side Sent from mobile device Am 01.05.2014 um 15:47 schrieb Mathieu Durand : > Hi, > > Does anybody know how to perform case insensitive cypher queries with Spring > Data Neo4j. > I'm

Re: [Neo4j] Intermittent "Unknown Identifier" Error

2014-05-02 Thread Yu Gene Loh
Same results on community versions of 2.0.1 and 2.1.0-M01. On Thursday, May 1, 2014 8:39:12 PM UTC+8, Michael Hunger wrote: > > Can you please share the versions you are using? > > > Am 01.05.2014 um 11:03 schrieb Yu Gene Loh > >: > > Some queries are returning intermittent InvalidSyntax (Unknow

Re: [Neo4j] Re: strange results

2014-05-02 Thread Michael Hunger
It think there were some issues with the upgrade in m01, please try the upgrade again with m02 or m03 and report back Sent from mobile device Am 01.05.2014 um 14:32 schrieb Koen Kleingeld : > hi, i used the 2.0.0 batch importer from few months ago.. the datastore was > automatically converted

Re: [Neo4j] Cypher Query through REST API timeout

2014-05-02 Thread Gene Tan
Thanks! Michael, will try this out On Thursday, May 1, 2014 5:15:12 PM UTC+8, Michael Hunger wrote: > > 1. Use labels + indexes (or constraints) > > Without an label + existing index your first operation (merge) will have > to go over all nodes in the graph to find if there is already a duplicate

Re: [Neo4j] [ANN] Neo4j Cypher compiler for building domain-specific APIs in Python

2014-05-02 Thread Michael Hunger
Thanks a lot. Good work looking forward to the finished work. Sent from mobile device Am 01.05.2014 um 20:23 schrieb b...@devel.io: > Michael, I wrote up a quick blog post with an overview of the goals and > current status: http://devel.io/2014/05/01/cypher-compiler-for-python/ > -- > You rece

Re: [Neo4j] Caused by: java.io.IOException: Broken pipe : How can this be fixed?

2014-05-02 Thread Mark Ramos
Hi, We delete the current relationship because we need to have one type of the same relationship per node. Mark On Wednesday, April 30, 2014 7:12:36 PM UTC+8, Mark Needham wrote: > > Hi, > > Do you know how about 'sku' relationships you're trying to delete in one > go? > > Mark > > > On 30 Apr