Re: [Neo4j] Nested/ chained queries

2011-11-28 Thread lassewesth
maxdemarzi wrote nodes = @neo.traverse(node1, nodes, {order = breadth first, uniqueness = node global,

Re: [Neo4j] google n grams data set in neo4j

2011-11-28 Thread Peter Neubauer
Seriously cool stuff René! I would love to hear more as the project progresses! Also, maybe the dataset could be added to the example dataset collection for playing around with neo4j? WDYT? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975

Re: [Neo4j] Nested/ chained queries

2011-11-28 Thread Peter Neubauer
Lasse, for Java, you might even look at http://docs.neo4j.org/chunked/snapshot/tutorials-java-embedded-traversal.html#_new_traversal_frameworkto get some inspiration ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn

Re: [Neo4j] allSimplePaths performance

2011-11-28 Thread Mattias Persson
I think I'd need your dataset to be able to reproduce and fix it, would that be possible? 2011/11/25 Petar Dobrev petar.dob...@myphilanthropedia.org On Fri, Nov 25, 2011 at 7:59 PM, Mattias Persson matt...@neotechnology.comwrote: Correct, it finds paths on that depth only. If other paths

Re: [Neo4j] Server tuning, caches lucene

2011-11-28 Thread Mattias Persson
I'm not an expert on Lucene memory usage, and I think that the Lucene community http://lucene.apache.org/java/docs/mailinglists.html would be able to answer such lucene-specific questions more accurately. Best, Mattias 2011/11/25 Stephen glur...@gmail.com Mostly I'd like to understand whether

Re: [Neo4j] Property String too long

2011-11-28 Thread himmel24
I found a workaround You can put properties longer then 65535 via the REST - API I had success to store the very big web-page via REST / AJAX look at: http://docs.neo4j.org/chunked/snapshot/rest-api-node-properties.html#rest-api-set-property-on-node -- View this message in context:

Re: [Neo4j] Property String too long

2011-11-28 Thread Mattias Persson
Yeah I think you ran into a groovy http://groovy.codehaus.org/-specific issue with string length 2011/11/28 himmel24 heckoli...@yahoo.de I found a workaround You can put properties longer then 65535 via the REST - API I had success to store the very big web-page via REST / AJAX look at:

Re: [Neo4j] path finding using OSM ways

2011-11-28 Thread danielb
Hi together, Maybe I am bit late on this topic but how is the progress so far? Greetz, Daniel -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-path-finding-using-OSM-ways-tp3004328p3542322.html Sent from the Neo4j Community Discussions mailing list

Re: [Neo4j] google n grams data set in neo4j

2011-11-28 Thread Jacopo Farina
That's AMAZING! I was just thinking about using Neo4j to store some extracted n-grams, I previously did it with a SQLite database but maybe using a graph an application could surf between nodes more efficiently. One question: is it possible to download the google ngram corpus release (or at least

[Neo4j] collation and wild card queries

2011-11-28 Thread Niels Hoogeveen
In order to have proper sort order for Strings with diacritical characters, I started using Lucene's ICUCollationKeyAnalyzer. This indeed gives the proper sort order for queries, but for some reason wild card queries no longer seem to work. This applies for both the normal CollationKeyAnalyzer

Re: [Neo4j] Cypher syntax feedback wanted

2011-11-28 Thread Andres Taylor
On Fri, Oct 28, 2011 at 12:57 PM, Andres Taylor andres.tay...@neotechnology.com wrote: 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

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-28 Thread danielb
Hi Peter, that works, yes! But I still can't do spatial queries with the OSMLayer over the server page. Today I have written a small test program in Java which also includes a bbox query for a specific point and then traverses to the corresponding OSM node. So far I am satisfied with that (I will

[Neo4j] Upgrading data from 1.5M2 to 1.5GA

2011-11-28 Thread KanTube
1) stopped 1.5M2 server 2) neo4j.bat remove 3) installed 1.5GA files 4) neo4j.bat install on the 1.5GA server starts just fine 5) stopped 1.5GA server 6) copied 1.5M2 Data directory files to 1.5GA data directory 7) start service received an error that the server would not start what am i

[Neo4j] Securing scripting in the server

2011-11-28 Thread Peter Neubauer
Hi all awesome Java hackers, I have a question: When putting demo and trial systems online, one should watch out for people doing bad stuff. In our case, I think the biggest security holes are the scripting execution points: - Neo4j Shell webadmin console (has a groovy execution command) -

Re: [Neo4j] Network accessible hostname

2011-11-28 Thread cmonkus
Let me make sure that I am not heading in a wrong direction... the thing that prompted all this is when I got Neo4j loaded and checked the database, it is showing the location as http://j2ee.my.site.com:7474/db/data I was expecting to see http://my.site.com/db/data. My worry is that the

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-28 Thread Peter Neubauer
Daniel, there is now https://github.com/neo4j/spatial/blob/master/src/test/java/org/neo4j/gis/spatial/SpatialPluginFunctionalTest.java#L53executing a cypher spatial query over REST, could you check this out and try to run it? If it works, you can simply analyze what goes over the wire - I guess

Re: [Neo4j] Securing scripting in the server

2011-11-28 Thread Marko Rodriguez
Hi Peter, Now, the question is if any of you has some experience tweaking the Java Security Manager to remove System.exit, File write permissions and other bad stuff from that code. Would love to see some examples of real-life securing JSR232 script engines. Or are there other mechanisms that

Re: [Neo4j] Securing scripting in the server

2011-11-28 Thread Peter Neubauer
Oh man, that were times! Good point, will see if this is usable. Thanks a lot for the hint! 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] Upgrading data from 1.5M2 to 1.5GA

2011-11-28 Thread Mattias Persson
Could you please send data/db/messages.log? (to me directly perhaps, since the user list can't accept attachments) 2011/11/28 KanTube mich...@mkanner.com 1) stopped 1.5M2 server 2) neo4j.bat remove 3) installed 1.5GA files 4) neo4j.bat install on the 1.5GA server starts just fine 5)

[Neo4j] Contributors page extended

2011-11-28 Thread Peter Neubauer
Hi all, following my earlier post, now the list of contributors has been expended to the GIThub-listed contributors to Neo4j-community, http://docs.neo4j.org/chunked/snapshot/contributors.html Thank you all! I will look through and list everyone that has contributed to any of the core

Re: [Neo4j] collation and wild card queries

2011-11-28 Thread Rick Bullotta
We don't use Solr, but we use some of Solr's analyzers and filters. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Niels Hoogeveen Sent: Monday, November 28, 2011 2:14 PM To: user@lists.neo4j.org Subject: Re: [Neo4j] collation and

Re: [Neo4j] Network accessible hostname

2011-11-28 Thread Jim Webber
Hi there, Your front end won't really care whether you use http://j2ee.my.site.com:7474/db/data or http://j2ee.my.site.com/db/data since both are valid URIs. If you use the default port (80) then you don't need to specify the port in the URI, and so http://j2ee.my.site.com/db/data will be

Re: [Neo4j] spaces in entity properties?

2011-11-28 Thread yobi
Thanks! Johnny On Mon, Nov 28, 2011 at 10:09 AM, Peter Neubauer [via Neo4j Community Discussions] ml-node+s438527n3541717...@n3.nabble.com wrote: http://docs.neo4j.org/chunked/snapshot/query-return.html#return-identifier-with-uncommon-characters Cheers, /peter neubauer GTalk:

Re: [Neo4j] py2neo - GEOFF enhancements

2011-11-28 Thread Nigel Small
Hi Peter Bulk of the work is now done on the Java version of the GEOFF enhancements. There have been some significant changes to the classes and a number of extra tests inserted. The signature of the load method has now been extended to: public static Neo4jNamespace loadIntoNeo4j(Reader reader,

[Neo4j] cypher question - subqueries possible?

2011-11-28 Thread jschweigl
Hi all, I have three kinds of nodes A, B and C. Both type A and B (distinguished by a property) have a relationship of the same type to node type C. I want to find nodes C which have a relationship to A but not to B. The only idea I came up with is to have a query return all A nodes having a

[Neo4j] Neo4j child threads segfaulting?

2011-11-28 Thread Taylor Phillips
Hi all, Our Neo4j server has been up and running for several months with over a million nodes and properties. Today, we noticed a significant response latency and a run of strace on the neo4j server yielded several segfaulting child threads. We don't have more details at the moment, but were

Re: [Neo4j] cypher question - subqueries possible?

2011-11-28 Thread Peter Neubauer
Johan, got a graph picture on this? 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] Neo4j child threads segfaulting?

2011-11-28 Thread Rick Bullotta
Could really only be a VM bug I'd think!? No native code in Neo4J that I'm aware of. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Taylor Phillips Sent: Monday, November 28, 2011 6:12 PM To: user@lists.neo4j.org Subject:

Re: [Neo4j] cypher question - subqueries possible?

2011-11-28 Thread maxdemarzi
If you were doing this in a single traversal, every time you encountered a node type C, you would have to ask for all it's relationships and dig inside the end node of those relationships to see if any of them have a property type for node B. In two traversals, you'd get an array of all the Cs

Re: [Neo4j] google n grams data set in neo4j

2011-11-28 Thread Avi Shai
We're doing something similar, but I am afraid I can't release the code quite yet. Great to have a free example out there though. One problem I found with using n-grams and almost any database, neo4j included, is that speed is very important if you want to use this in auto-complete. Therefore, I

Re: [Neo4j] cypher question - subqueries possible?

2011-11-28 Thread KanTube
while not ideal you could do START a=node:node_auto_index(NodeType=A),b=node:node_auto_index(NodeType=B) MATCH a-[:MyRel]-c-[r?:MyRel]-b RETURN c, count(r) and in your code you could filter for count(r) = 0 -- View this message in context: