Re: [Neo4j] Composable traversals

2011-08-03 Thread Mattias Persson
Well, I've got none of those concerns really. Just the fact that TraversalDescription is viewed as that other traversal framework makes it slightly odd to use its interface in the core API. When it will be _the_ framework, or another one is built upon it (I sometimes more look at it as an engine

Re: [Neo4j] java.lang.UnsupportedOperationException question

2011-08-03 Thread ahmed.elsharkasy
i want to do this : graphDb.index().forNodes(indexName) how can i do so with BatchInserterIndexProvider? -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-java-lang-UnsupportedOperationException-question-tp3218645p3221557.html Sent from the Neo4j

[Neo4j] Batch find

2011-08-03 Thread ahmed.elsharkasy
how can i batch find a whole document in neo4j instead of looping through the document words and searching one by one? am using java -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Batch-find-tp3221634p3221634.html Sent from the Neo4j Community

Re: [Neo4j] Neoclipse 1.4 released

2011-08-03 Thread Peter Neubauer
Nice work Anders! 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               - Your high performance graph database.

Re: [Neo4j] Batch find

2011-08-03 Thread Peter Neubauer
Ahmed, are you tying to find a text or name, or a node? I am not sure as to what you mean. Do you have some example code so we can understand your problem better? Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn  

Re: [Neo4j] Synchronization of EmbeddedReadOnlyGraphDatabase - Bug?

2011-08-03 Thread Jim Webber
Hi all, Accessing a remote database for read-centric purposes should be done through HA. Even if we could bind a read-only local instance of EGD to a data store on disk, the caching will become out of sync with respect to the on-disk store. HA avoids this because it's a proper protocol for

Re: [Neo4j] Batch find

2011-08-03 Thread ahmed.elsharkasy
I am trying to insert a document containing list of words , and i wont to check whether some of this words are already in my graph and in this case i will update their properties otherwise i will create new nodes with the new words -- View this message in context:

Re: [Neo4j] java.lang.UnsupportedOperationException question

2011-08-03 Thread ahmed.elsharkasy
Thanks a lot for your help , Now i got it -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-java-lang-UnsupportedOperationException-question-tp3218645p3221968.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.

Re: [Neo4j] Batch find

2011-08-03 Thread Niels Hoogeveen
The batch insert is intended to push data into the database with having to do any look ups. You could preprocess your input data, such that it can be loaded in one go. You could for example read you input file against an existing database, fetch the ID's of nodes and relationships that contain

Re: [Neo4j] Batch find

2011-08-03 Thread Niels Hoogeveen
That should be without having to do any lookups From: pd_aficion...@hotmail.com To: user@lists.neo4j.org Date: Wed, 3 Aug 2011 13:37:44 +0200 Subject: Re: [Neo4j] Batch find The batch insert is intended to push data into the database with having to do any look ups. You could

Re: [Neo4j] how to scale and view or generate reports for complex graphs?

2011-08-03 Thread Jim Webber
Hello, I'm not sure I understand this problem. You're saying that in a RDBMS, you can query the database to help debug it. In Neo4j you also have query capabilities to help debug a database (e.g. Cypher, Gremlin), though our toolchain isn't as integrated as some of the SQL tools (e.g.

Re: [Neo4j] Batch find

2011-08-03 Thread Rick Bullotta
You'll probably want to use an Index for this. Either a Lucene index or in-graph index. I would recommend a Lucene index, since you can also leverage Lucene (and even Solr's) analyzers and parsers to process your document. -Original Message- From: user-boun...@lists.neo4j.org

Re: [Neo4j] Node#getRelationshipTypes

2011-08-03 Thread Mattias Persson
A golden helicopter might do the trick :) 2011/8/3 Niels Hoogeveen pd_aficion...@hotmail.com How does one persuade the time allocation authorities? Niels Date: Wed, 3 Aug 2011 09:28:45 +0200 From: matt...@neotechnology.com To: user@lists.neo4j.org Subject: Re: [Neo4j]

Re: [Neo4j] How to run webadmin for high availability neo4j custer?

2011-08-03 Thread dhsieh
We installed neo4j HA cluster exactly as described in your wiki page http://wiki.neo4j.org/content/High_Availability_Cluster with the intent to move them to full production using commercial license if PoC proves to work for VERY LARGE SCALE graph data ( 200M node + 1B edges) in a HA environment.

[Neo4j] possible to query spatial indexes from gremlin?

2011-08-03 Thread Boris Kizelshteyn
how would you do a basic find point in layer type query? Thanks! ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] How to run webadmin for high availability neo4j custer?

2011-08-03 Thread Andreas Kollegger
To use webadmin with an HA cluster running embedded, you would configure one of the machines to run the full Neo4j Server, but configured to run in read-only mode. This would result in a pure monitoring instance, which would allow you to check on the database and run queries using webadmin.

Re: [Neo4j] possible to query spatial indexes from gremlin?

2011-08-03 Thread Peter Neubauer
Boris, I was thinking of adding a test with Gremlin onto https://github.com/neo4j/neo4j-spatial/blob/master/src/test/java/org/neo4j/gis/spatial/IndexProviderTest.java#L90, but basically, since recently a trivial point layer is exposed as an IndexProvider, enabling Neo4j, Cypher and Gremlin to

Re: [Neo4j] How to run webadmin for high availability neo4j custer?

2011-08-03 Thread dhsieh
On a separate note, I am having a hard time to use your Cypher query. The only example I found was http://blog.neo4j.org/2011/06/kiruna-stol-14-milestone-4.html and it is hardly usefull. If you could, I would like to get the following info for Cypher: (1) A step-by-step tutorial preferrably using

Re: [Neo4j] How to run webadmin for high availability neo4j custer?

2011-08-03 Thread Peter Neubauer
Hi there, would love to do an example, sounds like fun! What queries do you want to see in there? 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] How to run webadmin for high availability neo4j custer?

2011-08-03 Thread dhsieh
Any one who is familiar with RDBMS will have no difficulty writing SQL to explore their data. In Microsoft SQL Server Management Studio, it even allows one to visually drag-n-drop tables and generates complex join SQL queries. That said, I am not asking neo4j to support this level of usability.

Re: [Neo4j] How to run webadmin for high availability neo4j custer?

2011-08-03 Thread Michael Hunger
Hi, you can also watch some more advanced queries with cypher in the screencast at http://video.neo4j.org/U2Y/introduction-to-cypher/ there are also sample queries regarding the different http://docs.neo4j.org/chunked/milestone/cypher-query-lang.html Good suggestion with the matrix example,

Re: [Neo4j] How to run webadmin for high availability neo4j custer?

2011-08-03 Thread Andreas Kollegger
Also, note that you can run Cypher queries using the neo4j-shell. Lines starting with 'start' are assumed to be a cypher query. -Andreas On Aug 3, 2011, at 10:40 AM, Peter Neubauer wrote: Hi there, would love to do an example, sounds like fun! What queries do you want to see in there?

Re: [Neo4j] How to run webadmin for high availability neo4j custer?

2011-08-03 Thread Michael Hunger
You are right. I want to explain some of those points. SQL has been around for about 30 years. Cypher for about 2-3 months. So we focused so far on evolving and implementing the language and not so much on tooling (altough you already have 4+ mechanisms to use cypher). Constructing cypher

Re: [Neo4j] Node#getRelationshipTypes

2011-08-03 Thread Niels Hoogeveen
Hmmm... Does that require the inclusion of golden parachutes as well? Anyway, addressing the readers of this message that have time allocation authority. I hope my suggestion, or another technical solution that solves the same issues will be picked up for 1.5. This is as far as I can tell

Re: [Neo4j] How to run webadmin for high availability neo4j custer?

2011-08-03 Thread Michael Hunger
which version of neo4j are you running in this shell? Cheers Michael Am 03.08.2011 um 21:01 schrieb dhsieh: In my neo4j, I have neo4j-sh (0)$ trav (me) (me) --[ROOT]- (Thomas Andersson,1) (me) --[ROOT]- (Thomas Andersson,1) --[KNOWS]- (Morpheus,3) (me) --[ROOT]- (Thomas Andersson,1)

Re: [Neo4j] neo4j.py install problems

2011-08-03 Thread Aaron Moffatt
If you don't need Node Models, I did some work on bindings with similar syntax to the neo4j.py bindings. https://github.com/OneSaidWho/neo4py They work with version Neo4j 1.3, using JCC instead of JPype, so should be somewhat faster than the current bindings. They might get you by until Jacob

Re: [Neo4j] How to run webadmin for high availability neo4j custer?

2011-08-03 Thread Michael Hunger
Obviously the neo4j-shell doesn't like double quotes. Please try to use single quotes around the strings of your cypher query. i.e. start morpheus = (node_auto_index, name, 'Morpheus') match morpheus-[:KNOWS]-zionist where zionist.age 32 return zionist.name order by zionist.name desc skip 1

Re: [Neo4j] How to run webadmin for high availability neo4j custer?

2011-08-03 Thread Michael Hunger
If you have nodes with properties that don't exist on all nodes there is a nullable property expression in cypher. try to use zionist.age? 32 Am 03.08.2011 um 21:50 schrieb dhsieh: (1) Version used: neo4j-enterprise-1.4-unix.tar.gz (2) neo4j-sh (0)$ start morpheus = (node_auto_index, name,

Re: [Neo4j] How to run webadmin for high availability neo4j custer?

2011-08-03 Thread dhsieh
neo4j-sh (0)$ start morpheus = (node_auto_index, name, 'Morpheus') match morpheus-[:KNOWS]-zionist where zionist.age? 32 return zionist.name order by zionist.name desc skip 1 limit 5 org.neo4j.cypher.SyntaxException: string matching regex `(?i)\Qreturn\E' expected but `?' found -- View this

Re: [Neo4j] How to run webadmin for high availability neo4j custer?

2011-08-03 Thread Michael Hunger
Sorry, mixed it up out of my head. Optional nullable properties with (node.prop?) are right now only for the return clause (and should work in the shell anyway). #1 For properties that might not exist, please use the following construct if the property has to be there: start morpheus =

[Neo4j] Memory overflow while creating big graph

2011-08-03 Thread Jose Vinicius Pimenta Coletto
Hi, I'm trying to create a graph with 15M nodes and 12M relationships, but after insert 400K relationships the following exception is thrown: Exception in thread main java.lang.OutOfMemoryError: GC overhead limit exceeded. I'm using -Xmx3g and the following configuration file for the graph:

Re: [Neo4j] Memory overflow while creating big graph

2011-08-03 Thread Niels Hoogeveen
Is it possible for you to use the batch inserter, or does the data you are loading require a lot of lookups? Niels From: jvcole...@gmail.com Date: Wed, 3 Aug 2011 17:57:20 -0300 To: user@lists.neo4j.org Subject: [Neo4j] Memory overflow while creating big graph Hi, I'm trying to create

Re: [Neo4j] Memory overflow while creating big graph

2011-08-03 Thread Michael Hunger
Do you commit your transaction in batches (e.g. every 10k nodes)? How much memory does your JVM get? e.g. via. -Xmx2G Cheers Michael Am 03.08.2011 um 22:57 schrieb Jose Vinicius Pimenta Coletto: Hi, I'm trying to create a graph with 15M nodes and 12M relationships, but after insert 400K

[Neo4j] Memory overflow while creating big graph

2011-08-03 Thread Jose Vinicius Pimenta Coletto
Niels, before creating any node or relationship I check if some of them already exist in the index, I can use the BatchInserter doing this? Michael, I'm closing my Transactions every 5k inserts, but apparently this is not working. I'm running the JVM with -Xmx3g. -- Thanks, Jose Vinicius

Re: [Neo4j] Memory overflow while creating big graph

2011-08-03 Thread Michael Hunger
Jose, can you provide the full stack trace of the OOM ? and probably show some of the source code you use to try to reproduce it. How much physical RAM does the machine have? Can you show us the configuration dump at the last startup of graph.db/messages.log ? Cheers Michael for the batch

[Neo4j] Neoclipse Multiple Select

2011-08-03 Thread Philip Kennedy
How do I do a multiple node select to establish a relationship with existing nodes. Using OSX 64, tried shift-select, ctrl-select, command-select and option-select. Running out of selects. ptk ___ Neo4j mailing list User@lists.neo4j.org

Re: [Neo4j] Neoclipse Multiple Select

2011-08-03 Thread Anders Nawroth
Hi! You can't do that at the moment. /anders 2011-08-04 00:27, Philip Kennedy skrev: How do I do a multiple node select to establish a relationship with existing nodes. Using OSX 64, tried shift-select, ctrl-select, command-select and option-select. Running out of selects. ptk

Re: [Neo4j] How to run webadmin for high availability neo4j custer?

2011-08-03 Thread dhsieh
Thanks, the 2 Cypher queries you provided work now. In your sample (1) You put start x = (*node_auto_index *, name, However, in my neo4j.property it has *node_auto_indexing*=true. They don't really match literally, do they? (2) Is there a way in Cypher to select all property values as in SQL

Re: [Neo4j] graph weight scheme design advice

2011-08-03 Thread Niels Hoogeveen
Hi Boris, What will be your decision procedure to determine what edges will be marked as heavy and which will be marked as light? Even if you establish a fixed ratio, you will still need to decide what relationships belong in one category and which belong in the other? Could you elaborate a

Re: [Neo4j] neo4j.py install problems

2011-08-03 Thread Eddy
Okay, cheers. I think the guys and girls at Neo4j need to list all these tools and their status in the wiki somewhere. I think neo4jrestclient and bulbflow are others that can be added. On Thu, Aug 4, 2011 at 2:14 AM, Aaron Moffatt [via Neo4j Community Discussions]

[Neo4j] Delete Nodes connected by a certain relationship

2011-08-03 Thread ahmed.elsharkasy
i would like to delete all the nodes connected by a certain relationship with the least cost , how can i do so? -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Delete-Nodes-connected-by-a-certain-relationship-tp3224430p3224430.html Sent from the Neo4j

Re: [Neo4j] Delete Nodes connected by a certain relationship

2011-08-03 Thread ahmed.elsharkasy
and also to delete the relationship itself between all these nodes -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Delete-Nodes-connected-by-a-certain-relationship-tp3224430p3224436.html Sent from the Neo4j Community Discussions mailing list archive at

Re: [Neo4j] How to run webadmin for high availability neo4j custer?

2011-08-03 Thread Michael Hunger
mobile mail please excuse brevity and typos Am 04.08.2011 um 01:44 schrieb dhsieh dhsie...@yahoo.com: Thanks, the 2 Cypher queries you provided work now. In your sample (1) You put start x = (*node_auto_index *, name, However, in my neo4j.property it has *node_auto_indexing*=true.