Re: [Neo4j] Paths with null?

2011-11-15 Thread Peter Neubauer
The void is spreading. Beware. 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 Enterprise.

Re: [Neo4j] Copy queries from the web admin console?

2011-11-15 Thread Peter Neubauer
So, I am able to copy and paste - do you have a screenshot or so on what you are trying to do? 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

[Neo4j] Time Series Data with complex domain model

2011-11-15 Thread s1ck
Hey, I have a very complex domain model which can be perfectly mapped into the neo4j database. OR Mapping is much too complex for the model... The data itself is time series data from multiple sensors which needs to be stored and retrieved (at given timestamps or in given ranges). Are there any

Re: [Neo4j] zero fromDepth and toDepth

2011-11-15 Thread Peter Neubauer
Done, enjoy! https://github.com/neo4j/community/issues/80 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 -

[Neo4j] Server plugin running into memory limits

2011-11-15 Thread Anders Lindström
Hi all, I'm currently writing a server plugin. I need it to make some specialized queries that are not supported by the standard REST API. The important methods I expose are 'query' and 'get_next_page', the latter to support results pagination (i.e. the plugin is stateful). In 'query', I run

Re: [Neo4j] Server plugin running into memory limits

2011-11-15 Thread Anders Lindström
And sometimes I get the 'Error 500 Java heap space' too. I don't know if this is a separate problem or if it's the same. (And this can happen after several pages have already been fetched, which I find peculiar.) From: andli...@hotmail.com To: user@lists.neo4j.org Subject: Server plugin

Re: [Neo4j] Server plugin running into memory limits

2011-11-15 Thread Peter Neubauer
Anders, how many items are you holding in that representation list? Also, it could be that the deserialization is taking up memory. Can you test just returning a constant string (not building up memory) and check if that changes anything? In that case we could track it down to the REST String

Re: [Neo4j] Confirming existence of relationship between two nodes

2011-11-15 Thread Gulshan Singh
What version of Neo4j are you using? This query is valid syntax for 1.4.x and 1.5.M01. I'm using version 1.4.1 Later you would want to use: start a=node:nodeIndex(identifier='0') return a I tried that and got the error: org.neo4j.cypher.SyntaxException: `' expected but `n' found

Re: [Neo4j] Confirming existence of relationship between two nodes

2011-11-15 Thread Andres Taylor
On Tue, Nov 15, 2011 at 3:50 AM, gsingh93 gsingh_2...@yahoo.com wrote: What version of Neo4j are you using? This query is valid syntax for 1.4.x and 1.5.M01. I'm using version 1.4.1 If possible, you should upgrade to 1.5. Later you would want to use: start

Re: [Neo4j] Server plugin running into memory limits

2011-11-15 Thread Anders Lindström
'get_next_page' actually returns a ListRepresentation of ListRepresentations. The number of items in the outer list is what I call page size. I have varied this parameter and it seems that the page size by itself does not really matter. I have queries which consistently get returned correctly

Re: [Neo4j] Fwd: Cool Discussion related to graph modelling of social networks

2011-11-15 Thread maxdemarzi
I came up on Aleksa Vukotic's blog post ( http://www.aleksavukotic.com/2011/07/neo4j-super-nodes-and-indexed.html ) and realized his IndexedRelationshipExpander with some tweaks would work for this purpose. relationship_auto_indexing=true relationship_keys_indexable=dated,measured This

Re: [Neo4j] Server plugin running into memory limits

2011-11-15 Thread David Montag
Hi Anders, How much heap are you giving the JVM? When it worked with tons of memory, how much heap did you give? Maybe you could also try changing the garbage collector used in conf/neo4j-wrapper.conf. Just add these lines: wrapper.java.additional.20=-XX:+UseConcMarkSweepGC

Re: [Neo4j] Batch uploading to REST server

2011-11-15 Thread vistorve
I setup visualvm with a jmx connection to the server running neo4j I wasn't able to CPU profiling working, it had an error message saying getThreadCpuTime was expecting long but got something else. I do have thread and heap dumps though if those would be useful. When I was running the batch

Re: [Neo4j] Using Webadmin Console to Execute Spatial Cypher Query

2011-11-15 Thread bm3780
In the short term, I've gotten around this issue by extending the SpatialPlugin to add a method for searching within a distance of a point in a layer. Can I get this merged into the baseline? I have created https://github.com/neo4j/spatial/issues/27 an issue on Github. -- View this message in

Re: [Neo4j] py2neo 0.982

2011-11-15 Thread Krzysztof Raczyński
First off, thanks for py2neo. I think i found a bug that prevents from using javascript filters when traversing over rest: http://py2neo.org/docs/api/py2neo.neo4j-pysrc.html#TraversalDescription.filter Instead of body, key is named name. Since you're on vacation i've taken justice of sending you

Re: [Neo4j] Suggestions on materials for learning graph theory

2011-11-15 Thread S3Logic
Hey guys, I just wanted to follow up on this. After some more digging, I had some people suggest Introductory Graph Theory by Gary Chartrand. It seems to be an excellent text for a beginner, but I will update this post once I get through the rest of the book. Also, Max and Rick's suggestions

Re: [Neo4j] py2neo 0.982

2011-11-15 Thread Nigel Small
Hi Krzysztof Yes, certainly looks like it's a bug, however I'm convinced this has changed from the original REST docs on which I based this code. Can't find a copy though and since your fix looks to apply to both 1.4 and 1.5 then consider it merged! Thanks for your help :-) Nige *Nigel Small*

Re: [Neo4j] py2neo 0.982

2011-11-15 Thread Krzysztof Raczyński
No problem, on the other hand the name parameter is still valid, since there are two named filters: all and all_but_start_node, and whatever filters someone may add themselves. I also have one issue with Node class, i really like the way original JPype bindings work - i.e. i can use

Re: [Neo4j] Suggestions on materials for learning graph theory

2011-11-15 Thread Michael Hunger
Thanks for all the feedback, very helpful information. Do you think after finishing the book, you could write up a blog post about the literature you've been suggested so far and what you found helpful for people starting to dive into graphs, that would be a valuable resource. This and the last

Re: [Neo4j] Paths with null?

2011-11-15 Thread Alistair Jones
Reminds me of: http://qconlondon.com/london-2009/presentation/Null+References:+The+Billion+Dollar+Mistake On 15 November 2011 08:15, Peter Neubauer peter.neuba...@neotechnology.comwrote: The void is spreading. Beware. Cheers, /peter neubauer GTalk: neubauer.peter Skype

Re: [Neo4j] py2neo 0.982

2011-11-15 Thread Nigel Small
So that we can support both, I've made some further changes to the TraversalDescription class. I have replaced prune and filter with: builtin_prune_evaluator(self, name) prune_evaluator(self, language, body) builtin_return_filter(self, name) return_filter(self, language, body) This does break

Re: [Neo4j] py2neo 0.982

2011-11-15 Thread Krzysztof Raczyński
No need to, i submitted a pull request with that change. I will also submit my proposed index syntax changes. I'm no good at git, so i may or may not screw this up. As far as changes you wrote about, i think we should move it to one method, and rely on arguments supplied by user to know which

Re: [Neo4j] py2neo 0.982

2011-11-15 Thread Nigel Small
Hi Krzysztof Having looked at your Pull Request, I can see that your syntax certainly provides a easy and readable way to create relationships to nodes. However, I have a couple of reservations: 1. This essentially uses a get operation to carry out a write behind the scenes. I would generally

[Neo4j] Neo4j-Scala Wrapper 0.1.0 released

2011-11-15 Thread Christopher Schmidt
Hi all, I released version 0.1.0 of the Neo4j Scala Wrapper neo4j-scala (base is neo4j-scala by jawher). Main features are - simple Traits for the wrapper itself, GraphDatabaseService provider, index provider and batch insertion - transaction wrapping: withTx {...} - natural usage of

[Neo4j] Traversing performance

2011-11-15 Thread Emil Dombagolla
Dear all, Big thanks for the replies i got from the mailing list. What is the best way to traverse the graph? In our social network project , i use the node. traverse API to traverse the database. i heard there are other sql like query languages. can i have comparison over these. are the query

Re: [Neo4j] Numeric index update

2011-11-15 Thread Mattias Persson
This seems to be a bug in Lucene 3.1.0 and I can confirm that it doesn't exist in 3.4.0, so I'm hoping neo4j will update the dependency soon. 2011/11/12 Mattias Persson matt...@neotechnology.com It looks to be a bug. I ran the test case and while it's supposedly should work it doesn't... I'll

Re: [Neo4j] Native UUID support?

2011-11-15 Thread Mattias Persson
When guaranteed uniqueness on index-level is supported this can probably be implemented. Have one indirection in an index adds overhead but I image it's only for one or more starting points and then it's internal ids all the way from there. 2011/11/9 Michael Hunger

Re: [Neo4j] id problem on createNode

2011-11-15 Thread Mattias Persson
Yeah, I'd love a reproducible test case for this, if such exists 2011/11/10 Peter Neubauer peter.neuba...@neotechnology.com Wow, never seen this before, do you have a full testcase to reproduce this? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone