Re: [Neo4j] How to return node property(id, name, etc) in rest api traverse neo4j?

2014-04-02 Thread Rio Eduardo
Thank you Michael. is there no conditions in Traversal API like WHERE clause? are return_filter and prune_evaluator the only condition to filter the traversal? On Thursday, April 3, 2014 6:56:18 AM UTC+7, Michael Hunger wrote: > > I just read and learn about rest api traverse neo4j. > And I'm w

[Neo4j] Re: Could kapsack problem be solved via graph traversal using bounderies?

2014-04-02 Thread Lundin
I am sorry but so no one knows if "run sums" is possible or even a good feature ?? Sorry for keep replying to this thread but i fail to see how this can not be a useful thing in many cases. See a similar SQL alternative: http://sqlfiddle.com/#!2/76f81/9 Rik van Bruggen recently posted this on h

[Neo4j] Trying to setup Spatial plugin on Mac

2014-04-02 Thread Mark Workman
I have Neo4j 2.0.1 Community running on my OS X Mac. I am trying to the Spatial plugin to work. I downloaded the zip file and extracted it into /usr/local/opt/neo4j/plugins/neo4j-spatial-0 but that has not worked ("extenstions':{}). then I tried moving the contents of .../plugins/neo4j-spati

Re: [Neo4j] rest transaction endpoint seems a bit slow, is this normal?

2014-04-02 Thread Alex Frieden
Queries look like: "MERGE (vcfFile:VcfFile {name:{vcfFileName}}) CREATE (vcfRecord:VcfRecord {vcfRecord}),(sd:SampleData {sampleData}),(sd)-[:COMES_FROM]->(vcfRecord),(vcfRecord)-[:IN_FILE]->(vcfFile) MERGE (sample:Sample {name:{sampleName}}) CREATE (sample)-[:HAS]->(sd) FOREACH(a in {alleles} | ME

Re: [Neo4j] rest transaction endpoint seems a bit slow, is this normal?

2014-04-02 Thread Michael Hunger
What do your queries look like? And when do you actually commit? On Wed, Apr 2, 2014 at 6:48 PM, Alex Frieden wrote: > Hi all, using neo community 2.0 stable release on my macbook pro fall > 2013. All settings are default for both (OS X 10.8.5) > > I have written a script that takes one of o

Re: [Neo4j] How to return node property(id, name, etc) in rest api traverse neo4j?

2014-04-02 Thread Michael Hunger
I just read and learn about rest api traverse neo4j. And I'm wondering if there is a way to return node property only NO because all of examples return results in Json. Or all rest api will return results in Json? YES The concepts explained here also apply in the REST API: http://docs.neo4j.org/c

[Neo4j] How to return node property(id, name, etc) in rest api traverse neo4j?

2014-04-02 Thread Rio Eduardo
I just read and learn about rest api traverse neo4j. And I'm wondering if there is a way to return node property only because all of examples return results in Json. Or all rest api will return results in Json? And I would ask you some other questions, Ok, Rest Api Traverse has 7 methods that ar

[Neo4j] rest transaction endpoint seems a bit slow, is this normal?

2014-04-02 Thread Alex Frieden
Hi all, using neo community 2.0 stable release on my macbook pro fall 2013. All settings are default for both (OS X 10.8.5) I have written a script that takes one of our files that is about 40,000 rows and generates about 4 nodes per row (as well as about six relationships). I have used the

Re: [Neo4j] Some basic questions about neo4j

2014-04-02 Thread Andres Taylor
You are using Neo4j 2.0 Cypher on a Neo4j 1.9 server. Here is the manual for 1.9: http://docs.neo4j.org/chunked/1.9.6/ Hth, Andrés On Apr 2, 2014 12:41 PM, "Jyoti Yadav" wrote: > Hi Michael.. > > Thanks for your reply.. > > With the help of your ideas ,I could able to see some changes in the ne

Re: [Neo4j] Neo4j java.lang.IllegalStateException - adding nodes to Spatial Index/Layer

2014-04-02 Thread Michael Hunger
Would you be able to supply a full test project that reproduces this error? Sent from mobile device Am 02.04.2014 um 16:12 schrieb Zeeshan Arif : > I am facing the following exception when attempting to add nodes to the > Spatial Index or Layer. > > The DB nodes and relationships were setup f

[Neo4j] Neo4j java.lang.IllegalStateException - adding nodes to Spatial Index/Layer

2014-04-02 Thread Zeeshan Arif
I am facing the following exception when attempting to add nodes to the Spatial Index or Layer. The DB nodes and relationships were setup first using the bulk loader and than I am attempting to load using transactional API with batches of 1000 nodes into Spatial Index. Usually, it comes around

Re: [Neo4j] neo4j transaction size

2014-04-02 Thread Alex Frieden
So just by counting during ETL what I am putting into it? On Wed, Apr 2, 2014 at 9:20 AM, Michael Hunger < michael.hun...@neotechnology.com> wrote: > I don't think thats possible from the outside, but you should be able to > determine a rough number from your client side. > > > On Wed, Apr 2, 20

Re: [Neo4j] neo4j transaction size

2014-04-02 Thread Michael Hunger
I don't think thats possible from the outside, but you should be able to determine a rough number from your client side. On Wed, Apr 2, 2014 at 2:32 PM, Alex Frieden wrote: > As I understand it, neo4j 2.0 is optimized for the transaction endpoint > being about 1-30,000 requests per transaction

Re: [Neo4j] Some basic questions about neo4j

2014-04-02 Thread Michael Hunger
1. you have to make sure that the server uses your data, so you have to copy the created directory to be named /path/to/neo/data/graph.db 2. in 1.9 you have to use start n=node(*) return n for all nodes or start n=node:nodes(name="Selina") return n.age see the cypher reference card for 1.9 http://

[Neo4j] neo4j transaction size

2014-04-02 Thread Alex Frieden
As I understand it, neo4j 2.0 is optimized for the transaction endpoint being about 1-30,000 requests per transaction and each request can be about 100-1000 Given a transactionId, how can I find out how many requests are in that transaction? Thanks! -- You received this message because you a

Re: [Neo4j] Neo4j doesn't start on debian machine

2014-04-02 Thread Michael Hunger
Never had that before. It might be that by deleting the whole data directory was too much, I usually only delete data/graph.db Could you re-extract the downloaded archive and use the data directory contents from that? On Wed, Apr 2, 2014 at 12:19 PM, stivstivsti wrote: > HI! > > I use neo4j-

Re: [Neo4j] Some basic questions about neo4j

2014-04-02 Thread Jyoti Yadav
Hi Michael.. Thanks for your reply.. With the help of your ideas ,I could able to see some changes in the neo4j dashboards. i could import some small data to neo4j. NOW I want to access that data.. Through terminal, I am working. I referred following link to import.. https://github.com/jexp/b

[Neo4j] Neo4j doesn't start on debian machine

2014-04-02 Thread stivstivsti
HI! I use neo4j-community-2.0.1-unix.tar.gz: I delete old data in the database: t@konrad:~/neo4j$ rm -rf ./data/ I start the application: t@konrad:~/neo4j$ ./bin/neo4j console : Max 1024 open files allowed, minimum of 40 000 recommended. See the Neo4j manual. Starting Neo4j Server console-mode

Re: [Neo4j] Neo4j spatial help needed

2014-04-02 Thread Jenny Pettersson
Many thanks for pointing me in the right direction Michael!!! I managed to solve all my spatial problems yesterday :) As soon as I stopped adding nodes to the layer all strange exceptions disappeared and I don´t even have to remove and add the user node to the index to update it as discussed in