[Neo4j] Cypher GEOFF

2011-10-31 Thread Nigel Small
Hi all A quick note on the new command line additions to py2neo (which currently aren't completely finialised but shouldn't change too much from here on out). --- usage: cypher.py [-h] [-u DATABASE_URI] [-d] [-j] [-g] query Execute Cypher queries against a Neo4j database server and output the

Re: [Neo4j] Cypher GEOFF

2011-10-31 Thread Michael Hunger
Nigel, cool stuff. What is the easiest way to install py2neo currently? Could you add a simple tabular output as well (like in the webadmin-cypher-console) ? Michael Am 31.10.2011 um 09:24 schrieb Nigel Small: Hi all A quick note on the new command line additions to py2neo (which

Re: [Neo4j] Cypher GEOFF

2011-10-31 Thread Nigel Small
Hi Michael Currently these bits only exist in the GitHub code. So you'll need to pull it from there until the next release. New output format is straightforward, could you add a ticket to the project? Cheers Nige On 31 Oct 2011 08:41, Michael Hunger michael.hun...@neotechnology.com wrote:

Re: [Neo4j] Cypher GEOFF

2011-10-31 Thread Andres Taylor
Very cool! Andrés On Mon, Oct 31, 2011 at 9:24 AM, Nigel Small ni...@nigelsmall.name wrote: Hi all A quick note on the new command line additions to py2neo (which currently aren't completely finialised but shouldn't change too much from here on out). --- usage: cypher.py [-h] [-u

[Neo4j] Neo4j performance with 400million nodes

2011-10-31 Thread algecya
Hello everyone, We are relatively new to neo4j and are evaluating some test scenarios in order to decide to use neo4j in productive systems. We used the latest stable release 1.4.2. I wrote an import script and generated some random data with the given tree structure:

Re: [Neo4j] Relationships stored order

2011-10-31 Thread Mattias Persson
You can use what you wrote and then use lucene numeric range query to do the trick: IndexRelationship index = ... index.add( rel2, ORDER, ValueContext.numeric(2) ); index.add( rel3, ORDER, ValueContext.numeric(3) ); index.add( rel1, ORDER, ValueContext.numeric(1) ); //

Re: [Neo4j] Lucene index recovery

2011-10-31 Thread Johan Svensson
You could configure the lucene data source to auto rotate logs more frequently. If logs are large recovery takes longer time. -Johan On Mon, Oct 17, 2011 at 11:37 PM, Nuo Yan yan@gmail.com wrote: What if in production due to whatever reason the neo4j server died and in the case people have

[Neo4j] Error adding item to idexes using Neo4jrestclient python

2011-10-31 Thread vistorve
Hi, I can create nodes and indexes and traverse fine but when I try to add an item to an index i get the following error: Traceback (most recent call last): File stdin, line 1, in module File /usr/local/lib/python2.6/dist-packages/neo4jrestclient/client.py, line 1030, in __setitem__ ,

Re: [Neo4j] Error adding item to idexes using Neo4jrestclient python

2011-10-31 Thread Javier de la Rosa
Hi, vistorve, The index framework was refactorized in the last versions of Neo4j. Could you say what versions are you using of Neo4j and neo4jrestclient? Regards. On Mon, Oct 31, 2011 at 10:58, vistorve ayuskaus...@compete.com wrote: Hi, I can create nodes and indexes and traverse fine but

Re: [Neo4j] Error adding item to idexes using Neo4jrestclient python

2011-10-31 Thread vistorve
neo4jrestclient 1.4.5 neo4j server I tried both latest snapshot (1.5-38-g831a83d-dirty) and the current milestone 1.5.M02 -Alex -- View this message in context:

Re: [Neo4j] Error adding item to idexes using Neo4jrestclient python

2011-10-31 Thread Javier de la Rosa
Thank you, Alex. Let me do some tests and release a new version. On Mon, Oct 31, 2011 at 11:56, vistorve ayuskaus...@compete.com wrote: neo4jrestclient 1.4.5 neo4j server I tried both latest snapshot (1.5-38-g831a83d-dirty) and the current milestone 1.5.M02 -Alex -- View this message in

Re: [Neo4j] Relationships stored order

2011-10-31 Thread Dmitriy Shabanov
Hi, Berkeley Db index looks better for that. It was updated to serve our needs, but better performance required. Mattias, do you know low storage structure? Maybe, it'll possible to use some structural conditions to restore relationships order. At current design we have two writes for one

Re: [Neo4j] Neography - remove a specific relations ship

2011-10-31 Thread Peter Neubauer
Hesham, if you want to remove a certain relationship, you need to know its Neo4j ID, or look it up in an index to get to that ID. Otherwise, take one of the nodes, find from there the relationship, and remove it. Would that work? Cheers, /peter neubauer GTalk:      neubauer.peter Skype      

[Neo4j] Twitter, Clojure and Neo4j

2011-10-31 Thread Peter Neubauer
Hi there, just saw a GIThub GIST for saving Twitter followers in Neo4j, see https://gist.github.com/1323957 Thanks to @tomykaira for the example! Has anyone worked more with Clojure and Neo4j? Would be good to get some examples and docs out there ... Cheers, /peter neubauer GTalk:     

Re: [Neo4j] Cypher GEOFF

2011-10-31 Thread Peter Neubauer
Very cool, good work! I would like to have this packaged as a brew formula on OSX, do one cold do brew install cypher and be done. WDYT? Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer

Re: [Neo4j] Error adding item to idexes using Neo4jrestclient python

2011-10-31 Thread Peter Neubauer
Javier, great community support, thanks man! 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              - NOSQL for the

Re: [Neo4j] Spring-data-graph with Jetty error

2011-10-31 Thread Michael Hunger
Hi, does this error still persist? In general your setup looks correct. Could you create an JIRA issue for it if it is still not working? http://spring.neo4j.org/issues Thanks so much Michael Am 17.10.2011 um 18:16 schrieb noppanit: I got this erro while trying to run mvn jetty:run on my

Re: [Neo4j] Cypher GEOFF

2011-10-31 Thread Michael Hunger
Rather use the typical python setup procedures? Michael Am 31.10.2011 um 18:03 schrieb Peter Neubauer: Very cool, good work! I would like to have this packaged as a brew formula on OSX, do one cold do brew install cypher and be done. WDYT? Cheers, /peter neubauer GTalk:

Re: [Neo4j] Cypher GEOFF

2011-10-31 Thread Nigel Small
Hi Peter Sorry but I'm not a Mac user so don't know anything about OSX! Hopefully someone else has the right tools for this though :-) Nige On 31 Oct 2011 17:04, Peter Neubauer peter.neuba...@neotechnology.com wrote: Very cool, good work! I would like to have this packaged as a brew formula

Re: [Neo4j] Cypher GEOFF

2011-10-31 Thread Peter Neubauer
Well, as Michael says, I guess installation instructions via Python would work very well! /peter On Mon, Oct 31, 2011 at 10:15 AM, Nigel Small ni...@nigelsmall.name wrote: Hi Peter Sorry but I'm not a Mac user so don't know anything about OSX! Hopefully someone else has the right tools for

Re: [Neo4j] Transparent Distributed Queries?

2011-10-31 Thread Peter Neubauer
Coolio, let us know when you get going on this, would be superinteresting to see more of your thoughts! Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter     

Re: [Neo4j] Cypher GEOFF

2011-10-31 Thread Nigel Small
I'll make it a priority to get this up to PyPI so it can be installed easily. Nige On 31 Oct 2011 17:28, Peter Neubauer pe...@neubauer.se wrote: Well, as Michael says, I guess installation instructions via Python would work very well! /peter On Mon, Oct 31, 2011 at 10:15 AM, Nigel Small

Re: [Neo4j] Cypher GEOFF

2011-10-31 Thread Peter Neubauer
That would be cool. And some intstallation instruction in the README on GIThub. Thanks! 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

Re: [Neo4j] Error adding item to idexes using Neo4jrestclient python

2011-10-31 Thread Javier de la Rosa
You are welcome, Peter :-) Released neo4jrestclient 1.5.0 [1] with support for Neo4j 1.5.M02 (or that's what i hope). Any errors, please, feel free to report. Regards! [1] http://pypi.python.org/pypi/neo4jrestclient/1.5.0 On Mon, Oct 31, 2011 at 13:11, Peter Neubauer

Re: [Neo4j] Error adding item to idexes using Neo4jrestclient python

2011-10-31 Thread vistorve
Awesome, all is working now! Thanks Javier! -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Error-adding-item-to-idexes-using-Neo4jrestclient-python-tp3468029p3468531.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.

Re: [Neo4j] Cypher syntax feedback wanted

2011-10-31 Thread Mattias Persson
2011/10/28 Andres Taylor andres.tay...@neotechnology.com Hi all! I'm looking to make Cypher more consistent, and so less surprising. Cypher today has two places where predicates are used, the WHERE clause, and for the ALL/ANY/NONE/SINGLE functions. It looks like: WHERE predicate

Re: [Neo4j] Cypher GEOFF

2011-10-31 Thread Nigel Small
Hi all Have just published v0.98 with a fresh README containing installation instructions from PyPI. Please shout if I've missed anything! Nige On 31 October 2011 17:46, Peter Neubauer peter.neuba...@neotechnology.comwrote: That would be cool. And some intstallation instruction in the README

[Neo4j] Lucene uberfast indexing

2011-10-31 Thread Rick Bullotta
Hi, Neo team. Have you looked into the work Mike McCandless was doing with DocumentsWriterPerThread? It seems at first glance to fit in nicely with the Neo transaction isolation model and could have a significantly positive effect on (already fast) performance.

[Neo4j] Newbie issues with indexing

2011-10-31 Thread Bill Baker
Hello, I have an index and add my nodes to it as I create them. I index two properties, nodeType and nodeName. Later I want to see if a node already exists of a given type and a given name. If it does, I'll use it; otherwise I'll create it (and index it.) (All this is in the Java API.)

Re: [Neo4j] InvalidRecordException

2011-10-31 Thread Samuel Feng
Thanks David, I am using 1.4M04. 2011/11/1 David Montag david.mon...@neotechnology.com Hi Samuel, What Neo4j version are you running? David 2011/10/31 Samuel Feng okos...@gmail.com Hello List, I encountered below exception,There should be some concurrent issue. 2011-11-01

[Neo4j] error indexing node: status 405 returned

2011-10-31 Thread phoenix
I was trying to index node by this function. I get a 405. I can't figure out what's the problem. Help would be greatly appreciated. public static void indexNode(){ String uri=http://localhost:7474/db/data/index/node/myindex/name/phoenix;; String

[Neo4j] sdg: @RelatedToVia in @RelationshipEntity

2011-10-31 Thread Gonfi den Tschal
(using sdg 1.1.0RELEASE) when using @RelatedToVia in a @RelationshipEntity i get a strange compilation error: The method relateTo(Culture, ClassMyClass, String) is undefined for the type MyOtherClass i assume the reason is that it can only be used in @NodeEntity? the javadoc for @RelatedToVia

Re: [Neo4j] error indexing node: status 405 returned

2011-10-31 Thread Peter Neubauer
Hi there, What neo4j version are you using? On Oct 31, 2011 8:31 PM, phoenix yingyangphoe...@gmail.com wrote: I was trying to index node by this function. I get a 405. I can't figure out what's the problem. Help would be greatly appreciated. public static void indexNode(){ String