[Neo4j] Can not recover from a HA failure as a BlockingReadTimeoutException

2012-05-15 Thread Samuel Feng
Dear List, I am using 1.6.1 and embedded HA mode. Do u have any ideas that how to resolve below error? =2012-05-15 16:07:10,453 main ERROR - [ServletCntxListener.moreStart] Failed in start the graph java.lang.ExceptionInInitializerError at

Re: [Neo4j] HA - Unable to read additional data from server sessionid 0x0

2012-03-14 Thread Samuel Feng
: peter.neubauer P: +46 704 106975 L: http://www.linkedin.com/in/neubauer T: @peterneubauer Neo4j 1.6 released - dzone.com/6S4K The Neo4j Heroku Challenge - http://neo4j-challenge.herokuapp.com/ On Mon, Mar 12, 2012 at 2:00 PM, Samuel Feng okos...@gmail.com wrote

[Neo4j] HA - Unable to read additional data from server sessionid 0x0

2012-03-12 Thread Samuel Feng
Dear List, I am using neo4j 1.6.1 and embedded HA Mode. The cluster(with 2 servers) works normally at the beginning. However, after one server crashed, the cluster can not start up and keep return below logs. Seems both of the two servers are trying to connect each other but failed again again.

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

2011-12-06 Thread Samuel Feng
peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer brew install neo4j neo4j start heroku addons:add neo4j On Tue, Dec 6, 2011 at 4:43 AM, Samuel Feng okos...@gmail.com wrote: Dear List, I'm using neo4j

[Neo4j] Queries about HA

2011-12-05 Thread Samuel Feng
Dear List, I'm using neo4j 1.5GA and using embeddedGraphDatabase to access the graph. Now the graph size is around 4G. Now I would like to try HA mode and have several questions. 1) Can I access the graph in some kind of remote mode? So that I can use many tomcat servers to access the graph

Re: [Neo4j] About Neo4j Indexing

2011-11-18 Thread Samuel Feng
Hello List, Anyone can help me on this? Thanks and regards, Samuel 在 2011年11月14日 下午1:51,Samuel Feng okos...@gmail.com写道: Dear List, I have two questions about indexing *Question 1* At the time of creation, we can use extra configuration can be specified to control the behavior

[Neo4j] About Neo4j Indexing

2011-11-13 Thread Samuel Feng
Dear List, I have two questions about indexing *Question 1* At the time of creation, we can use extra configuration can be specified to control the behavior of the index and which backend to use. e.g, IndexManager index = graphDb.index(); IndexNode movies = index.forNodes( movies-fulltext,

Re: [Neo4j] InvalidRecordException

2011-10-31 Thread Samuel Feng
Thanks David, I am using 1.4M04. 2011/11/1 David Montag david.mon...@neotechnology.com Hi Samuel, What Neo4j version are you running? David 2011/10/31 Samuel Feng okos...@gmail.com Hello List, I encountered below exception,There should be some concurrent issue. 2011-11-01 02

Re: [Neo4j] doInternalRecovery takes a long time

2011-03-10 Thread Samuel Feng
support contract for Neo4j from Neo Technology. Cheers, Tobias On Thu, Mar 10, 2011 at 8:54 AM, Samuel Feng okos...@gmail.com wrote: David, I am using jdk1.5. After upgraded to 1.3M03, I Encountered* * *java.lang.UnsupportedClassVersionError: Bad version number in .class file

[Neo4j] doInternalRecovery takes a long time

2011-03-09 Thread Samuel Feng
Dear list, I am developing a tomcat application in eclipse which has about 100,000 nodes using EmbeddedGraphDatabase (Neo4j version 1.2M05) Sometimes I took me a long time(more than half an hour) to doInternalRecovery, maybe because I shutdown the tomcat server directly. From the messages.log,

Re: [Neo4j] doInternalRecovery takes a long time

2011-03-09 Thread Samuel Feng
Thanks David. My concern is if the neo4j data in 1.2 can be used in 1.3 directly? I have used custom analyzer in my index. 2011/3/10 David Montag david.mon...@neotechnology.com Samuel, Can you try it with 1.3.M03, if possible? Thanks, David On Wed, Mar 9, 2011 at 6:13 PM, Samuel Feng

Re: [Neo4j] doInternalRecovery takes a long time

2011-03-09 Thread Samuel Feng
David, I am using jdk1.5. After upgraded to 1.3M03, I Encountered* * *java.lang.UnsupportedClassVersionError: Bad version number in .class file* Error. Seems the jars in neo4j's lib folder are complied using jdk6. Can I use 1.5 to compiled the sources directly? 2011/3/10 Samuel Feng okos

Re: [Neo4j] Why node's index entry can not be removed from lucene index after the node is deleted from the graph

2010-12-15 Thread Samuel Feng
Thanks Guys~ 2010/12/15 Peter Neubauer peter.neuba...@neotechnology.com Luanne, Mattias, I created a ticket for this, so we don't loose it :) https://trac.neo4j.org/ticket/301 Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975

Re: [Neo4j] Why node's index entry can not be removed from lucene index after the node is deleted from the graph

2010-12-14 Thread Samuel Feng
-bytes.blogspot.com/ Saba. Power Up Your People. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Samuel Feng Sent: Tuesday, December 14, 2010 12:31 PM To: Neo4j user discussions Subject: Re: [Neo4j] Why node's index entry can

Re: [Neo4j] Questions on custom query using the index framework

2010-12-13 Thread Samuel Feng
can get latest snapshots, as we speak, from our repositories. 2010/11/19 Samuel Feng okos...@gmail.com I think it is ok. It is good no need to use a Similarity instance for each query. 2010/11/19 Mattias Persson matt...@neotechnology.com There's also a problem going

[Neo4j] Why node's index entry can not be removed from lucene index after the node is deleted from the graph

2010-12-13 Thread Samuel Feng
Dears, IndexNode persons = graphDb.index().forNodes( persons ); Node firstPerson = graphDb.createNode(); Node secondPerson = graphDb.createNode(); persons.add( firstPerson, name, Mattias Persson ); Now I have to delete the firstPerson node from the graph. i.e firstPerson.delete() After the

Re: [Neo4j] Why node's index entry can not be removed from lucene index after the node is deleted from the graph

2010-12-13 Thread Samuel Feng
blog / http://thought-bytes.blogspot.com/ Saba. Power Up Your People. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Samuel Feng Sent: Tuesday, December 14, 2010 12:11 PM To: Neo4j user discussions Subject: [Neo4j] Why node's

Re: [Neo4j] Questions on custom query using the index framework

2010-11-19 Thread Samuel Feng
that Similarity instance set. WDYT? 2010/11/18 Mattias Persson matt...@neotechnology.com Allright, then there probably have to be a configuration parameter for similarity, and maybe something in QueryContext as well (if you wouldn't use the configuration parameter). 2010/11/18 Samuel Feng okos

Re: [Neo4j] Questions on custom query using the index framework

2010-11-18 Thread Samuel Feng
Hi, To my understanding, if you use one Similarity in indexWriter, you should also use it in indexSearcher. And the scoring is not written during writing index, as it depends on the relationship between query terms and the indexed documents. It is calculated for each query. 2010/11/18 Mattias

Re: [Neo4j] Questions on custom query using the index framework

2010-11-18 Thread Samuel Feng
/18 Samuel Feng okos...@gmail.com Hi, To my understanding, if you use one Similarity in indexWriter, you should also use it in indexSearcher. And the scoring is not written during writing index, as it depends on the relationship between query terms and the indexed documents

Re: [Neo4j] Questions on custom query using the index framework

2010-11-14 Thread Samuel Feng
Mattias, Thanks a lot. Please find my update in red. Thanks and Regards, Samuel 2010/11/14 Mattias Persson matt...@neotechnology.com 2010/11/13 Samuel Feng okos...@gmail.com Hi, I am new to neo4j. I am using a custom analyzer in index in order to support Chinese. chnIndex

[Neo4j] Questions on custom query using the index framework

2010-11-13 Thread Samuel Feng
Hi, I am new to neo4j. I am using a custom analyzer in index in order to support Chinese. chnIndex = this.graphDb.index().forNodes(product_chinese, MapUtil.stringMap(analyzer, org.wltea.analyzer.lucene.IKAnalyzer)); Below is the usage of the IKAnalyzer in lucence.