Re: [Neo4j] TTL or node expiry available ?

2011-08-21 Thread sulabh choudhury
. The approach is to set the expiration as one of the edge's properties and during traversal check if the expiry time has passed or not. But if there were something like a TTL where the edge expires and removes itself I would not need to check it. On Fri, Aug 19, 2011 at 3:41 PM, sulabh choudhury sula

[Neo4j] TTL or node expiry available ?

2011-08-19 Thread sulabh choudhury
Hi, I was wondering if there is any notion of TTL in neo4jcan a node/ relationship be automatically deleted after a certain amount of predefined time ? ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] help for Traverser

2011-07-26 Thread sulabh choudhury
Thank for the response. So I was doing exactly what Mattias suggested, but I thought that this might not be the most optimal way. Though, since I got a validation I would stick to that method. On Fri, Jul 22, 2011 at 11:37 AM, sulabh choudhury sula...@gmail.comwrote: Hi, I am trying

[Neo4j] help for Traverser

2011-07-22 Thread sulabh choudhury
Hi, I am trying to create a traverser and I am stuck. So my code takes in a startNode, 2 relationshiptypes and 2 directions. It will starting from startNode go to nodes with rel1 in dir1 and from all those nodes to rel2,dir2. The code below (in SCALA) works fine and I get the expected nodes. The

Re: [Neo4j] NoSuchElementException

2011-07-18 Thread sulabh choudhury
, 2011 at 11:39 AM, sulabh choudhury sula...@gmail.comwrote: Makes sense. Will try that. Thanks. On Fri, Jul 15, 2011 at 2:59 PM, sulabh choudhury sula...@gmail.comwrote: Well while inserting the nodes I keep a check batchInserter.nodeExists(node1) so I would guess a node would

Re: [Neo4j] NoSuchElementException

2011-07-15 Thread sulabh choudhury
been inserted ? On Sat, Jun 25, 2011 at 10:49 AM, sulabh choudhury sula...@gmail.comwrote: Thank you Jim. I will wait for 1.5 and hope it resolves the issue :) On Fri, Jun 24, 2011 at 7:11 PM, sulabh choudhury sula...@gmail.comwrote: Hi, I just downloaded the neo4j-community-1.4.M04. I

Re: [Neo4j] NoSuchElementException

2011-06-25 Thread sulabh choudhury
Thank you Jim. I will wait for 1.5 and hope it resolves the issue :) On Fri, Jun 24, 2011 at 7:11 PM, sulabh choudhury sula...@gmail.com wrote: Hi, I just downloaded the neo4j-community-1.4.M04. I stumbled into the java.util.NoSuchElementException: More than one element

[Neo4j] Neo4j with MapReduce inserts

2011-06-17 Thread sulabh choudhury
I am trying to write MapReduce job to do Neo4j Batchinserters. It works fine when I just run it like a java file(runs in local mode) and does the insert, but when I try to run it in the distributed mode it does not write to the graph. Is it issue related to permissions? I have no clue where to

Re: [Neo4j] Neo4j with MapReduce inserts

2011-06-17 Thread sulabh choudhury
indexProvider = new LuceneBatchInserterIndexProvider(batchInserter) val indexService = indexProvider.nodeIndex(ID,MapUtil.stringMap(type,exact)) Mind it that the code works perfectly( writes to the graph) when running in local mode. On Fri, Jun 17, 2011 at 11:32 AM, sulabh choudhury sula

Re: [Neo4j] Neo4j with MapReduce inserts

2011-06-17 Thread sulabh choudhury
the EmbeddedGraphDatabase instead. Michael Am 17.06.2011 um 23:20 schrieb sulabh choudhury: Well as I mentioned the code does not fail anywhere, it runs it full course and just skips the writing to the graph part. I have just one graph and I pass just 1 instance of the batchInserter to the map function. My

Re: [Neo4j] Neo4j with MapReduce inserts

2011-06-17 Thread sulabh choudhury
environment. Please use the normal EmbeddedGraphDbService for your multi-threaded MR jobs. Cheers Michael Am 17.06.2011 um 23:38 schrieb sulabh choudhury: Are you referring that in a M/R environment each Map (or Reduce) process will try to have its own instance of batchInserter and hence

[Neo4j] Neo4j + Rexster lock problem

2011-05-11 Thread sulabh choudhury
A similar question has been asked previously but I could not find a solution which would work for me, hence re-posting it. I am creating a Neo4j graph and want to expose it over REST using Rexster so that I can apply traversals to it. Now after I have started Rexster, I see that I cannot write to

[Neo4j] How to connect Neoclipse remotely

2011-04-14 Thread sulabh choudhury
Hi, I just installed Neoclipse. I am trying to connect it to a graph remotely. I see an option to enter the Database Resource Uri but that box is not enabled and hence I do not know how to connect the database. I have both Neo4j-1.2 and Neoclipse-1.2. Also do I need to have Neo4j locally to use

[Neo4j] Connection Pool in Neo4j

2011-03-31 Thread sulabh choudhury
Hi, I have just started using Neo4j. I was wondering if Connection Pooling has been implemented in Neo4j ? I could not find any helper classes or any sort of documentation on it. ___ Neo4j mailing list User@lists.neo4j.org