Re: [Neo4j] Unable to being transaction

2011-09-05 Thread Bryce
Hi Dima, I have actually had what I think is the same issue a few times. I haven't figured out exactly what the issue is yet but this is where I got to. Basically I somehow got: "Unable to rollback transaction. Some resources may be commited others not. Neo4j kernel should be SHUTDOWN for resour

Re: [Neo4j] 10 questions

2011-09-05 Thread Tatham Oddie
Hi Linan, > anyone show some love ;) Generally 10 questions have a better chance of getting answered if they are 10 separate threads. It's much easier to follow that way. -- Tatham ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/m

Re: [Neo4j] how Neo4j work for sorting chinese character?

2011-09-05 Thread wang yuanlong
hi, In java we can sort Pinyin like this: (Sun provide a Comparator) public int compare(String o1, String o2) { return Collator.getInstance(Locale.CHINESE).compare(o1, o2); } But it's got some flaws. You know there are so many homophones in Chinese. But in Sun's Comparator they don't

Re: [Neo4j] IndexedRelationship some observations and questions

2011-09-05 Thread Peter Neubauer
Bryce, yes, that would be good to set up the code standard. Anders, do you know if that is still the latest version? I will check tomorrow. Also, please send in your CLA according to http://wiki.neo4j.org/content/About_Contributor_License_Agreement so we can pull your contributions! Cheers, /pet

Re: [Neo4j] IndexedRelationship some observations and questions

2011-09-05 Thread Bryce
Just noticed that after my changes were pulled into the main git repo that they don't quite fit in with the formatting of the original code (original is using tab characters and my IDE is setup to use 4 spaces). Which led me to finding this: http://wiki.neo4j.org/content/Coding_Standard I am assu

Re: [Neo4j] Neoclipse 1.4 (Linux GTK x64)

2011-09-05 Thread Anders Nawroth
Hi! Sounds like the db may already be in use! Set Neoclipse to read-only mode and it should work even if your application is running. /anders 2011-09-05 06:04, Lakojin skrev: > Hi there! > > Thank you for providing us with such a wonderful graph-db implementation. > I've been playing around w

Re: [Neo4j] IndexedRelationship some observations and questions

2011-09-05 Thread Bryce
Hi Niels, Thanks for your feedback below. Specifically on the anonymous inner class issue in general they can be used as a Comparator without a problem, and in this case it worked perfectly for creating the IndexedRelationship. The issue was when then trying to instantiate the anonymous inner cl

Re: [Neo4j] IndexedRelationship some observations and questions

2011-09-05 Thread Niels Hoogeveen
Hi Bryce, Sorry for my belated response. I have been away for a couple of days and wasn't able to check my emails. I am glad you took the time to look into the IndexRelationship module. It certainly could use some scrutiny. Remarks: 1) Good catch... Something the unit test didn't catch because

Re: [Neo4j] Webadmin with embedded neo4j on tomcat 6

2011-09-05 Thread mpula
In standalone Java application everything is OK. So, is there a method to run webadmin for Java web application which uses embedded neo4j? -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Webadmin-with-embedded-neo4j-on-tomcat-6-tp3310583p3311270.html Sent

Re: [Neo4j] how Neo4j work for sorting chinese character?

2011-09-05 Thread Peter Neubauer
Yuanlong, can you provide Java code on how to sort Pinyin characters? In that case, I am sure there is a way to incorporate it into the Cypher sorting routines. It would be very helpful since we don't even know how to test Pinyin sorting for correctness :/ Cheers, /peter neubauer GTalk: neu

Re: [Neo4j] Webadmin with embedded neo4j on tomcat 6

2011-09-05 Thread Peter Neubauer
Hi there, remember that this code you refer to will start up its own Jetty web server, so running this inside another webserver will probably not work. Could you confirm this by running the code from a standalone Java application instead of a webapp? Cheers, /peter neubauer GTalk: neubauer.

[Neo4j] Neo4j-Base sometimes falls

2011-09-05 Thread sometime
First I will describe the whole scheme. On the one machine running base Neo4j. On the second machine running a service that constantly fills the base neo4j data using REST-requests. To solve the internal task was written a web-application on java, which runs on the first machine and to retrieve da

[Neo4j] Webadmin with embedded neo4j on tomcat 6

2011-09-05 Thread mpula
I am using embedded neo4j server in my web application running on tomcat 6, which use JSF 1.2. I have tried to run webadmin using this instructions: http://docs.neo4j.org/chunked/milestone/server-embedded.html. I have copied all libraries and put code in place where database is being started. Whe

Re: [Neo4j] 10 questions

2011-09-05 Thread Linan Wang
thank you very much for the detailed replied. i'm wondering if neo4j had considered the option to use redis or other key-value store for storing properties and focus upon pure graph, similar to the role Lucene plays. i assume the major problem is the performance problem due to address lookup proces

Re: [Neo4j] IndexedRelationship some observations and questions

2011-09-05 Thread Bryce
Hi Peter, I have changed the IndexedRelationshipExpander to public, added some extra java docs in IndexedRelationship, but more importantly changed IndexedRelationship to allow for multiple indexed relationships from a given node. Will look into more changes in here once I get back onto working w