Re: [Neo4j] Neo4j Cypher query very slow

2014-12-02 Thread Michael Hunger
Doesn't look too bad. Would you be able to share the db with me? Is that the first run? What your your memory config, what kind of disk are you running on? Can you share your graph.db/messages.log ? Michael On Wed, Dec 3, 2014 at 4:03 AM, li chris wrote: > yes, the profile output is: > > ==>

Re: [Neo4j] Repository Project GitHub

2014-12-02 Thread Michael Hunger
Your screenshots did not come along please copy maven output clone neo4j cd neo4j mvn install On Tue, Dec 2, 2014 at 9:51 PM, Willian Rochadel wrote: > I can not compile any repository project (https://github.com/neo4j/ > neo4j/tree/master/community) > > What is the problem and solution? > >

[Neo4j] Repository Project GitHub

2014-12-02 Thread Willian Rochadel
I can not compile any repository project ( https://github.com/neo4j/neo4j/tree/master/community) What is the problem and solution? -- 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 a

Re: [Neo4j] Neo4j Cypher query very slow

2014-12-02 Thread li chris
yes, the profile output is: ==> 346 rows ==> ==> ColumnFilter(symKeys=["fof.uid", " INTERNAL_AGGREGATE2c8089fa-e900-4621-93c3-188342ef789a"], returnItemNames=["fof.uid", "collect(distinct id(f))"], _rows=346, _db_hits=0) ==> EagerAggregation(keys=["Cached(fof.uid of type Any)"], aggregates=["

Re: [Neo4j] Neo4j Cypher query very slow

2014-12-02 Thread li chris
yes the profile output is: ==> 349 rows ==> ==> ColumnFilter(symKeys=["fof.uid", " INTERNAL_AGGREGATE5eb96885-2c8f-4f4c-b7cc-97dc148280b4"], returnItemNames=["fof.uid", "collect(distinct id(f))"], _rows=349, _db_hits=0) ==> EagerAggregation(keys=["Cached(fof.uid of type Any)"], aggregates=["(

Re: [Neo4j] Neo4j 2.1.5: Getting transaction error when adding a property to a Node in TransactionEventHandler.beforeCommit()

2014-12-02 Thread brian
On word on this? I've created an issue to track it with the added information that we're seeing the same behavior when creating relationships. https://github.com/neo4j/neo4j/issues/3590 -brian On Monday, October 6, 2014 6:20:23 PM UTC-4, Michael Hunger wrote: > > Brian, I asked our engineers

Re: [Neo4j] Server an't read logs

2014-12-02 Thread Michael Hunger
It is in the directory you chose to store the graph database files before startup. Also shown in the browser if you click on the three bubble on the top of the sidebar, under "Location:" On Tue, Dec 2, 2014 at 2:06 PM, Jim Groove wrote: > I am using Windows 8.1 and i found console.log file > in

Re: [Neo4j] Server an't read logs

2014-12-02 Thread Jim Groove
I am using Windows 8.1 and i found console.log file in C:\Users\username\AppData\Roaming\Neo4j Community\logs\, but i can't find messages.log вторник, 2 декабря 2014 г., 14:08:07 UTC+2 пользователь Chris Vest написал: > > Those are transaction and command logs. They are binary and the database

Re: [Neo4j] Server an't read logs

2014-12-02 Thread Chris Vest
Those are transaction and command logs. They are binary and the database uses them for crash recovery. Humans should look in the data/log/console.log file. The data/graph.db/messages.log is sometimes useful as well. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: c

Re: [Neo4j] Passing nested collection as cypher query parameter to REST endpoint

2014-12-02 Thread Tom Zeppenfeldt
> So this works: > { "query" : "MATCH n-[r]-m WHERE id(n) = 0 WITH CASE WHEN startnode(r)=n THEN (CASE WHEN endnode(r)=n THEN ' SELF' ELSE ' OUT' END) ELSE ' IN' END as direction,type(r) as typer,REDUCE(acc = '', p IN labels(m)| acc + ' :'+ p) AS mlabels,r WITH typer+mlabels+direction AS re

Re: [Neo4j] Passing nested collection as cypher query parameter to REST endpoint

2014-12-02 Thread Tom Zeppenfeldt
Hi michael. I realized I had the same issue a couple of months ago.. will use the same solution.. the weird thing however is that when doing it in the browser, the IN clause allows to compare with nested objects. http://stackoverflow.com/questions/25709309/syntax-issue-passing-objects-as-paramet

Re: [Neo4j] Multiple start point neo4j SDN

2014-12-02 Thread Michael Hunger
Answered there On Tue, Dec 2, 2014 at 9:33 AM, Florian Oliver wrote: > Hello, > > I was looking for to query the database thanks to SDN and I did not find > out how to have multiple starting point. > I found this post on stackoverlow but there is no effective answer : > http://stackoverflow.com/

Re: [Neo4j] Passing nested collection as cypher query parameter to REST endpoint

2014-12-02 Thread Michael Hunger
can you just try to return {reltypes} I think due to json parsing the nested collections in reltypes are turned into lists which are not equal to the type that is created by the literal syntax could you try a list of maps instead ? On Tue, Dec 2, 2014 at 11:18 AM, Tom Zeppenfeldt wrote: > I

Re: [Neo4j] Neo4j Cypher query very slow

2014-12-02 Thread Michael Hunger
Can you share the profile output? prefix your query with "profile" in the bin/neo4j-shell or http://localhost:7474/webadmin/#/console/ On Tue, Dec 2, 2014 at 9:34 AM, li chris wrote: > thanks Michael, > > I have created uniqueness constraint like this:CREATE CONSTRAINT ON > (person:Person) ASSE

[Neo4j] Passing nested collection as cypher query parameter to REST endpoint

2014-12-02 Thread Tom Zeppenfeldt
I have an problem , probably related to passing a nested collection as a parameter to a cypher query.. In the browser, this works fine: MATCH n-[r]-m WHERE id(n) = 0 WITH CASE WHEN startnode(r)=n THEN (CASE WHEN endnode(r)=n THEN 'SELF' ELSE 'OUT' END) ELSE 'IN' END as direction,type(r) as t

Re: [Neo4j] Neo4j Cypher query very slow

2014-12-02 Thread li chris
thanks Michael, I have created uniqueness constraint like this:CREATE CONSTRAINT ON (person:Person) ASSERT person.uuid IS UNIQUE there is only one relationship-type and direction is not useful in my application. uuid is the user id from facebook, uid is the user id of my application the resul

[Neo4j] Multiple start point neo4j SDN

2014-12-02 Thread Florian Oliver
Hello, I was looking for to query the database thanks to SDN and I did not find out how to have multiple starting point. I found this post on stackoverlow but there is no effective answer : http://stackoverflow.com/questions/16760614/selecting-multiple-nodes-with-spring-data-neo4j-query Thanks