Re: [Neo4j] [Neo4j-User] Queries about HA

2011-12-06 Thread Peter Neubauer
Samuel, I would recommend HA for your usecase, since then the Neo4j cluster will handling new neo4j instances appearing and copying data etc. Look at http://docs.neo4j.org/chunked/snapshot/ha.html for setup docs. There seems to be some interest in RMI remoting to neo4j. However, we think this is

Re: [Neo4j] [Neo4j-User] Re: org.neo4j.graphdb.TransactionFailureException: Could not create data source lucene[lucene]

2011-12-06 Thread Michael Hunger
No please _remove_ neo4j-index-1.2-1.2.M06.jar this is an old library, from neo4j 1.2. you just need neo4j-lucene-index-1.6-SNAPSHOT.jar and lucene-corejar Michael Am 06.12.2011 um 08:42 schrieb ajinkyar: I already have neo4j-lucene-index-1.6-SNAPSHOT.jar in my classpath. I want to use

Re: [Neo4j] [Neo4j-User] Re: org.neo4j.graphdb.TransactionFailureException: Could not create data source lucene[lucene]

2011-12-06 Thread ajinkyar
In that case I cannot use LuceneIndexService ... can you please suggest me a way so that I can use LuceneIndexService ? With neo4j-lucene-index-1.6-SNAPSHOT.jar and lucene-core-3.1.0.jar I am not able to use LuceneIndexService .. -- View this message in context:

Re: [Neo4j] [Neo4j-User] Re: org.neo4j.graphdb.TransactionFailureException: Could not create data source lucene[lucene]

2011-12-06 Thread Michael Hunger
You don't need LuceneIndexService, where did you find the documentation that said to use the old index service? We would like to update that. just IndexNode myIndex = graphDb.index().forNodes(indexName); index.add(node, key, value); index.get(key,value); index.query(query); etc. see:

Re: [Neo4j] [Neo4j-User] Re: org.neo4j.graphdb.TransactionFailureException: Could not create data source lucene[lucene]

2011-12-06 Thread ajinkyar
Thanks for the suggestion .. I will give that a try. I found the reference here http://wiki.neo4j.org/content/Indexing_with_IndexService On Tue, Dec 6, 2011 at 4:10 AM, Michael Hunger [via Neo4j Community Discussions] ml-node+s438527n3563820...@n3.nabble.com wrote: You don't need

Re: [Neo4j] [Neo4j-User] Re: org.neo4j.graphdb.TransactionFailureException: Could not create data source lucene[lucene]

2011-12-06 Thread Peter Neubauer
Ajinkya, thanks for pointing this out. Killed and forwarded the wiki page. 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 brew install neo4j

Re: [Neo4j] [Neo4j-User] Re: org.neo4j.graphdb.TransactionFailureException: Could not create data source lucene[lucene]

2011-12-06 Thread ajinkyar
That reference cost us hell lotta time!! Do we get a free neo4j t-shirt for pointing that out ;) !? On Tue, Dec 6, 2011 at 5:04 AM, Peter Neubauer [via Neo4j Community Discussions] ml-node+s438527n3563901...@n3.nabble.com wrote: Ajinkya, thanks for pointing this out. Killed and forwarded the

Re: [Neo4j] [Neo4j-User] Re: org.neo4j.graphdb.TransactionFailureException: Could not create data source lucene[lucene]

2011-12-06 Thread Peter Neubauer
Yes. Let me know your address, and I will send one. Green with a white Rabbit on it. Seriously. 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] [Neo4j-User] Re: org.neo4j.graphdb.TransactionFailureException: Could not create data source lucene[lucene]

2011-12-06 Thread ajinkyar
Hell yeah! Would love to flaunt that \m/ #504 935M, Marietta Street, NW, Atlanta GA - 30318 PS: if you are going to send tees please send 2 ...else there will be a huge fight with my project mate :) (S, M) On Tue, Dec 6, 2011 at 5:12 AM, Peter Neubauer [via Neo4j Community Discussions]

[Neo4j] Graph algorithms

2011-12-06 Thread ajinkyar
Although this is a graph based db, why is the range of graph algorithms in GraphAlgoFactory so narrow currently ? Is there a focus on this aspect in future releases ? -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Graph-algorithms-tp3563943p3563943.html

[Neo4j] Anyone interested to present Neo4j at the JUG in Atlanta?

2011-12-06 Thread Peter Neubauer
Hi folks, is anyone interested in presenting Neo4j at the JUG in Atlanta i 21-22 March 2012? Would love to promote some awesome Graphistas personal brands there! Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn  

[Neo4j] IfTheElese - .Net GraphClient

2011-12-06 Thread Romiko Derbynew
Hi Guys, IfThenElse is now supported with the Neo4jClient. Below are some examples, it supports nested declarations and parameters. https://gist.github.com/1437793 Cheers :) ___ Neo4j mailing list User@lists.neo4j.org

[Neo4j] Modeling subrelationships in Neo4j

2011-12-06 Thread Sourajit Basak
Is it possible to create subrelationships in neo4j ? For e.g. a relationship called KNOWS_BETTER as a subrelationship of KNOWS. Do I need to explicitly connect the nodes using both relationships for the traversal to work ? Lets say, I create this neo4j -- KNOWS_BETTER -- graphDB, does this

[Neo4j] Malmö Neo4j meetup tonight

2011-12-06 Thread Peter Neubauer
Hi all, for those of you in Lund, Malmö, CPH or Helsingborg, come over to MINC for some Heroku, Jruby and Cypher beering tonight! http://www.meetup.com/Neo4j-Oresund/events/42155032/ Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975

Re: [Neo4j] Modeling subrelationships in Neo4j

2011-12-06 Thread Niels Hoogeveen
It cannot directly be done through the standard API, but of course it can be implemented. I do this myself in an application I am building. For every RelationshipType, i create a Node and between those Nodes there can have subtyping relationships. To make lookup fast, I use the node-id of the

[Neo4j] New user...

2011-12-06 Thread Lawrence
Just sending my email -- Lawrence C. Bandeira ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] HA starting issue

2011-12-06 Thread lawrence.bandeira
Hi Ian, I already followed this steps and I couldn't run Neo4j in HA Mode. The following log has appeared when I type: ./neo4j-enterprise-1.5-1/bin/neo4j start Starting Neo4j Server...WARNING: not changing user process [6226]... waiting for server to be ready... BAD. Neo4j Server may

Re: [Neo4j] HA starting issue

2011-12-06 Thread Peter Neubauer
Have you got the logs (probably mostly messages.log from the failing instance? 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 brew install

Re: [Neo4j] Modeling subrelationships in Neo4j

2011-12-06 Thread Rick Otten
Can you do this with properties on the relationship? In your example a KNOWS relationship could have a how well property, with values 1 to 100. You could define KNOWS_BETTER as [ 50 how well 80 ]. KNOWS_BEST as [ 80 = how well = 100 ]. I'm not sure what the difference between a sub

[Neo4j] Question about cypher prepared queries

2011-12-06 Thread jschweigl
I have a class with one String field to hold a query string and one for a compiled query which is created in the constructor. So, each instance has the query string (for documentation purposes) and the compiled query. Does CypherParser return the same Query instance for parse()'s with indentical

Re: [Neo4j] [Neo4j-User] Queries about HA

2011-12-06 Thread Samuel Feng
Thanks Peter, I studied how the HA works in http://docs.neo4j.org/chunked/snapshot/ha-how.html. It mentioned that If the new master is elected and performs changes before the old master recovers, there will two different versions of the data. The old master will not be able to attach itself to

Re: [Neo4j] [Neo4j-User] Re: org.neo4j.graphdb.TransactionFailureException: Could not create data source lucene[lucene]

2011-12-06 Thread Prajakta Kalmegh
Guys...thanks a lot!! I tried out our code with the new index. After 3 days of messing around with jars, finally..It works!! Thanks Ajinkya for keeping me in mind for the T-shirt!! -- View this message in context:

Re: [Neo4j] path finding using OSM ways

2011-12-06 Thread danielb
craig.taverner wrote ... - Create a way-point node for these ... Hi together, I wonder why to add extra nodes to the graph (if I understand Craig correctly)? Wouldn't you then end up in expanding twice the node count (way-point nodes and OSM nodes themself, because you have to query the

Re: [Neo4j] [Neo4j-User] Re: Gremlin Query - Help

2011-12-06 Thread Marko Rodriguez
Hi, You can do nested ifThenElses. One way to think about things is not as big ol' one-liners. g.V.ifThenElse{ ifStatement } { thenStatement } { elseStatement } With new lines, the embeddness then starts to look like plain ol' C-style

Re: [Neo4j] Question about cypher prepared queries

2011-12-06 Thread Andres Taylor
On Tue, Dec 6, 2011 at 2:27 PM, jschweigl johann.schwe...@gmail.com wrote: I have a class with one String field to hold a query string and one for a compiled query which is created in the constructor. So, each instance has the query string (for documentation purposes) and the compiled query.

Re: [Neo4j] OSMImporter: Is there a way to do incremental imports?

2011-12-06 Thread Craig Taverner
There was only a method ending in 'WithCheck', or something like that, lying unused in the code from last year. Nothing more than that. Except for thinking about it, which is why I wrote the previous mail. On Dec 2, 2011 12:50 PM, Peter Neubauer pe...@neubauer.se wrote: Not sure, Craig, do you

[Neo4j] KeyError in python

2011-12-06 Thread Jacopo Farina
Hi all! I'm using python embedded in order to classify all the nodes in a neo4j graph previously labeled with properties. The graph is about 3.9GB with 7M nodes and 30-40M relationships. I've two questions: 1- the program worked correctly for hours then crashed suddenly with this error: Traceback

Re: [Neo4j] HA starting issue

2011-12-06 Thread lawrence.bandeira
Follow the logs !!! http://neo4j-community-discussions.438527.n3.nabble.com/file/n3565025/console.log console.log http://neo4j-community-discussions.438527.n3.nabble.com/file/n3565025/neo4j.0.0.log neo4j.0.0.log

Re: [Neo4j] New user...

2011-12-06 Thread Jacob Hansson
Welcome to the list :) /jake On Dec 6, 2011 1:54 PM, Lawrence lawrence.bande...@gmail.com wrote: Just sending my email -- Lawrence C. Bandeira ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] [Neo4j-User] Queries about HA

2011-12-06 Thread Mattias Persson
2011/12/6 Samuel Feng okos...@gmail.com Thanks Peter, I studied how the HA works in http://docs.neo4j.org/chunked/snapshot/ha-how.html. It mentioned that If the new master is elected and performs changes before the old master recovers, there will two different versions of the data. The old

Re: [Neo4j] There's already an HA cluster managed by this ZooKeeper cluster

2011-12-06 Thread Michael Hunger
Answer from Mahesh (not getting through nabble): Hi, The issue is with any server that is a part of the cluster. It is reproducible at will. The method we were following was - 1) start all three co-ordinators 2) start all three servers 3) shut down one server 4) start the same server

[Neo4j] Clear database over REST

2011-12-06 Thread Dmytrii Nagirniak
Hi, I wonder what is the easiest and fastest way to clear the database over the REST API. The purpose is to use it during testing and this needs to be as fast as possible. The data volume is not expected to be large, so maybe simple retrieval of all relationships, nodes and then

Re: [Neo4j] Clear database over REST

2011-12-06 Thread Michael Hunger
I wrote a plugin for that. See here: You can just download the jar, put it in your plugins folder and add it to your config. https://github.com/jexp/neo4j-clean-remote-db-addon https://github.com/jexp/neo4j-clean-remote-db-addon/downloads Am 07.12.2011 um 00:11 schrieb Dmytrii Nagirniak: Hi,

Re: [Neo4j] Clear database over REST

2011-12-06 Thread Dmytrii Nagirniak
Thanks Michael. That's definitely the best way to go. But I wonder if there is a way to do it without plugins. On 07/12/2011, at 10:22 AM, Michael Hunger wrote: I wrote a plugin for that. See here: You can just download the jar, put it in your plugins folder and add it to your

Re: [Neo4j] Clear database over REST

2011-12-06 Thread Michael Hunger
Without shutting down the server? Only manually deleting the nodes, rels and indexes, but then all your nodes have to be indexed (index-lookup) or connected (travesal) - to simulate getAllNodes(). And then you can batch-delete them. You would also want to get all indexes and delete them too.

[Neo4j] NeoEclipse overlapping relations

2011-12-06 Thread nrkkalyan
I would like to know if there is a way to see the relations on neoeclipse propertly, I created a family relation and tried to view the relation in neoeclipse, but it seems the relations are been overlapped. Image:

Re: [Neo4j] Clear database over REST

2011-12-06 Thread Krzysztof Raczyński
Hello Michael, I glanced through plugin's source code, and spank me if i'm wrong, but is the plugging limited to removing only 1k nodes at a time? https://github.com/jexp/neo4j-clean-remote-db-addon/blob/master/src/main/java/org/neo4j/server/extension/test/delete/DeleteDatabaseResource.java#L58

Re: [Neo4j] Clear database over REST

2011-12-06 Thread Dmytrii Nagirniak
On 07/12/2011, at 10:34 AM, Michael Hunger wrote: Without shutting down the server? Preferably. Shutting down/starting up may take couple of seconds. With a suite of 1000 tests it adds up to a pretty long wait. Only manually deleting the nodes, rels and indexes, but then all your nodes

Re: [Neo4j] Clear database over REST

2011-12-06 Thread Michael Hunger
You would also want to get all indexes and delete them too. Don't indexes retire when a related node/relationship is gone? Yes they have read-repair, but some things will hang around and if you for instance want to test e.g. index creation or create an index with the same name but different

Re: [Neo4j] Clear database over REST

2011-12-06 Thread Michael Hunger
And if you follow the code, it does the hard-core action if the limit is reached. if ((Long)result.get(nodes)=MAX_NODES_TO_DELETE) { result.putAll(cleanDbDirectory(database)); } Michael Am 07.12.2011 um 00:38 schrieb Krzysztof Raczyński: Hello Michael, I glanced through

[Neo4j] Help needed - Gremlin IfThenElse and As Clause with Table Projections - Cap

2011-12-06 Thread Romiko Derbynew
Hi, I am trying to write a query that does a table projection, however, there is two nested ifthenelse statements. I find that the As clause does not work correctly when I mark the iterator and I cannot find a way to get a consistent projection. Ideally. Each THEN statement should contribute

Re: [Neo4j] Help needed - Gremlin IfThenElse and As Clause with Table Projections - Cap

2011-12-06 Thread Romiko Derbynew
I also tried this, with as statements in the else statements, I am noticing I cannot get access to the nest ifthenelse as data in the table projection, will try other ways of doing it in the meantime. g.v('0').outE[[label:'HOSTS']].inV.filter{ it['Key'].equalsIgnoreCase('romikoagency')

Re: [Neo4j] Help needed - Gremlin IfThenElse and As Clause with Table Projections - Cap

2011-12-06 Thread Romiko Derbynew
Current workaround is 3 db calls, and then I merge the results and take the most significant, but this is very slow. var incompleteReferralsWithParticipants = graphClient .RootNode .OutAgency(Hosts.TypeKey, a = a.Key == userIdentifier.AgencyKey)

[Neo4j] println and Table Projections

2011-12-06 Thread Romiko Derbynew
Hi, I have this statement. g.v('0').outE[[label:'HOSTS']].inV.filter{ it['Key'].equalsIgnoreCase('romikoagency') }.inE[[label:'USER_BELONGS_TO']].outV.filter{ it['Username'].equalsIgnoreCase('romiko.derbynew')

[Neo4j] ODBC connection

2011-12-06 Thread patenlee
I want to access from an external application Neo4j objects. Does anybody know if a Neo4J ODBC driver is available to access the Neo4j objects. -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/ODBC-connection-tp3566658p3566658.html Sent from the Neo4j