[Neo4j] Graphgist challenge closing this week - 43 submissions so far!

2014-01-27 Thread Peter Neubauer
Hi all, we are pretty stoked by the number of submissions to https://github.com/neo4j-contrib/graphgist/wiki If you are planning to submit and trash our T-Shirt budget - you have 4 days left to do so! /peter, excited. G: neubauer.peter S: peter.neubauer P: +46 704 106975 L:

Re: [Neo4j] Server startup using BootStrapper

2014-01-27 Thread Michael Hunger
Why do you want to do it? Did you check the bin/neo4j startup script for the required parameters? I usually just use bootstrapper.start() On Mon, Jan 27, 2014 at 8:35 AM, Kalidhakani J kanikali...@gmail.comwrote: Hi, I am trying to start neo4j server using ,

Re: [Neo4j] Read and write operations on neo4j

2014-01-27 Thread Michael Hunger
Check out this: http://docs.neo4j.org/chunked/stable/ha.html And this: http://docs.neo4j.org/chunked/stable/ha-rest-info.html And this for an AWS example: http://maxdemarzi.com/2012/12/14/setting-up-a-neo4j-cluster-on-amazon/ On Mon, Jan 27, 2014 at 6:50 AM, praveen_j

Re: [Neo4j] Re: strange behavior pertaining to one transaction vs many

2014-01-27 Thread Michael Hunger
Yep, exactly. It was not an issue before but the implementation changed and there were some places that have not yet been fully converted. That's why you see a slow-down if both the in-transaction-state as well as the on-disk/persisted index state have to be consulted. Will def. be fixed in 2.1

[Neo4j] Question on transactions

2014-01-27 Thread ivan limonov
Hello I run the following command in neo4j using Cypher: *MATCH (a:User), (b:User)* *WHERE a.id = 1 AND b.id = 2* *merge (a)-[r:FOLLOW]-(b) ON CREATE SET a.follow = a.follow+1, b.followed = b.followed+1* *RETURN r* Is it possible that the counter follow or followed is not updated? I mean partial

[Neo4j] Re: Is my use case appropriate for Neo4J?

2014-01-27 Thread Ben Titmarsh
I've just found out that there is a cap on relationships of around 34 billion: http://docs.neo4j.org/chunked/snapshot/capabilities-capacity.html#capabilities-data-size Which is fair enough, but assuming I could work within this limit do I still have a problem? -- You received this message

Re: [Neo4j] Re: Is my use case appropriate for Neo4J?

2014-01-27 Thread Michael Hunger
The limit will be raised substantially with version 2.1 which is worked on during spring 2014. From 35 bits to 38-42 bits (not sure atm). How did you add the index? create index on :Card(id); or create constraint on (c:Card) assert c.id is unique; ? It should just take a few milliseconds to

Re: [Neo4j] Question on transactions

2014-01-27 Thread Michael Hunger
Works for me, if you created both user nodes with initial properties create (:User {id:1,follow:0, followed:0}) otherwise you have to adapt for null values: *MATCH (a:User), (b:User)* *WHERE a.id http://a.id/ = 1 AND b.id http://b.id/ = 2* *merge (a)-[r:FOLLOW]-(b) ON CREATE SET a.follow =

Re: [Neo4j] Question on transactions

2014-01-27 Thread ivan
Yes, the properties of follow and followed default to 0, so I created them. But my question about the transaction понедельник, 27 января 2014 г., 17:48:40 UTC+4 пользователь Michael Hunger написал: Works for me, if you created both user nodes with initial properties create (:User

[Neo4j] Re: Spring Data Neo4j - findAllByPropertyValue does not work

2014-01-27 Thread David Yang
Recreate the nodes in auto index mode resolves this. On Friday, January 3, 2014 12:26:11 PM UTC+8, David Yang wrote: Hi When i indexed a property with full text, the sdn function findAllByPropertyValue does not return any result: personRepository.findAllByPropertyValue(person_name, name,

[Neo4j] Neo4jPHP too slow

2014-01-27 Thread Rajat Singh
Today i have written first basic program for Neo4j from PHP. This was basically done to check out if we could use Neo4j in our new project from PHP by using Neo4jPhp. https://github.com/jadell/neo4jphp here is my code !DOCTYPE htmlhtmlbody h1My first PHP page/h1 ?php include

[Neo4j] Optional match property updates don't work together

2014-01-27 Thread Jon Packer
Hi! I'm trying to do some property updates with an OPTIONAL MATCH, and having a bit of trouble. It's OK when the OPTIONAL MATCH's pattern matches something, but when it doesn't, I get a ThisShouldNotHappenError with the message Developer: Stefan claims that: This should be a node or a

Re: [Neo4j] Neo4jPHP too slow

2014-01-27 Thread Nigel Small
You'd have to get confirmation from Josh Adell on the details but I think that *getProperty* will be issuing a new HTTP call each time it is called. As you have this in a loop, that will be a lot of network traffic, causing the slowness you have observed. For this kind of usage, you are best to

Re: [Neo4j] Neo4jPHP too slow

2014-01-27 Thread Josh Adell
It should not be making a new HTTP call each time. You can see if that is the case by putting an echo statement in the Transport object's 'makeRequest' method. If you file this as an issue in the neo4jphp github repo, I will take a look at it. -- Josh On Monday, January 27, 2014 11:42:50 AM

[Neo4j] HTTP cypher queries

2014-01-27 Thread Alex Frieden
Hi all, I wanted to build some tests to do create statements. However I don't want it to build out anything. Is there any endpoint that will toss any transaction you throw at it but respond back with the proper notification? (such as 1 node created, 1 relationship created) -- You received

[Neo4j] How to handle NotFoundException elegantly in Neo4j 2.0?

2014-01-27 Thread Debajyoti Roy
http://stackoverflow.com/questions/21385630/how-to-handle-notfoundexception-elegantly-in-neo4j-2-0 -- 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] Documentation Updates

2014-01-27 Thread Rafael Timmerberg
Hello, I recently tried to use Neo4j. The biggest problem I have is the docs not getting updated. I.e. the download links for Neo all point to 2.0.0 but the documentation under learn- cypher - Cheat Sheet points to the 1.9 one. The 2.0 Cheat-Sheet is actually there, if one handles the url

[Neo4j] Shell Client problems with special characters like ü

2014-01-27 Thread Thomas Bruckmayer
Hello Neo4j community, Afaik it is not possible to submit multiple semicolon separated Cypher statements through the Neo4j browser, Therefore, I use the shell client as follows: 1) Start Windows 7 command prompt as administrator 2) Navigate to the install directory (e.g.: cd C:\Program

Re: [Neo4j] Shell Client problems with special characters like ü

2014-01-27 Thread Michael Hunger
Try to add to your command line -Dfile.encoding=UTF-8 You can also use -file file.txt to point to a text file with shell commands. Cheers Michael On Mon, Jan 27, 2014 at 5:27 PM, Thomas Bruckmayer bruckma...@gmail.com wrote: Hello Neo4j community, Afaik it is not possible to submit multiple

[Neo4j] re: BatchInserter and flushing the index

2014-01-27 Thread Javad Karabi
from http://docs.neo4j.org/chunked/milestone/indexing-batchinsert.html#indexing-batchinsert-best-practices : - Try to avoid flushinghttp://components.neo4j.org/neo4j/2.0.0/apidocs/org/neo4j/unsafe/batchinsert/BatchInserterIndex.html#flush%28%29 too often because each flush will result

[Neo4j] Re: Labels IN SDN 3.0.0 milestones?

2014-01-27 Thread Michael Azerhad
I would like to drop the @Indexed annotation on my field, in favor of the auto indexing from a label like this Cypher query would bring: CREATE INDEX ON :User(_id) On Monday, January 27, 2014 8:50:07 PM UTC+1, Michael Azerhad wrote: Currently I use SDN 3.0.0M1 for the domain objects mapping.

Re: [Neo4j] re: BatchInserter and flushing the index

2014-01-27 Thread Michael Hunger
It keeps in memory state which is then written en-bloc to lucene You'd flush to read from the index eg to find nodes to connect Actually it internally auto-flushes after some million entries or so Sent from mobile device Am 27.01.2014 um 20:31 schrieb Javad Karabi karabija...@gmail.com: from

Re: [Neo4j] HTTP cypher queries

2014-01-27 Thread Michael Hunger
Does not compute? Can you perhaps provide an example? On Mon, Jan 27, 2014 at 6:29 PM, Alex Frieden a...@frieden.org wrote: Hi all, I wanted to build some tests to do create statements. However I don't want it to build out anything. Is there any endpoint that will toss any transaction you

Re: [Neo4j] HTTP cypher queries

2014-01-27 Thread Alex Frieden
Ya sure I would like to test cypher statements using the infrastructure I have built in grails to test things like START n=node(4) CREATE (m:Person {name:'alex'}) (m)-[:CONNECTS]-(n) have it respond with a successful create response but not actually create it. I was curious whether there was a

Re: [Neo4j] HTTP cypher queries

2014-01-27 Thread Michael Hunger
You can just rollback the tx if you use the transactional endpoint. i.e. DELETE /db/data/transaction/tx-id POST /db/data/transaction {...} DELETE /db/data/transaction/tx-id On Mon, Jan 27, 2014 at 9:41 PM, Alex Frieden a...@frieden.org wrote: Ya sure I would like to test cypher statements

Re: [Neo4j] Re: Social network with Neo4j

2014-01-27 Thread Aran Mulholland
You definitely need a server between you and the graph. As for a choice of tech well that would depend on your preference, you can use almost any language because you can hit the REST endpoint to query the database. I've used .NET and am now playing with node.js, both have offered different

[Neo4j] Neo4jPHP too slow

2014-01-27 Thread Sotiris Tsartsaris
Just wondering if you print_r($result) what your time counter will say. -- 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

Re: [Neo4j] Index vs Labels comprehension

2014-01-27 Thread Michael Azerhad
No problem, 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 options, visit

Re: [Neo4j] Read and write operations on neo4j

2014-01-27 Thread praveen_j
Is it possible to restrict the read operations on 7473? Currently i am using 7474 port for write operations on master. Here is the properties from neo4j-server.properties # http port (for all data, administrative, and UI access) org.neo4j.server.webserver.port=7474 # https port (for all data,