Re: [Neo4j] [bug?] Unicode node property not returned correctly from bulk REST index search

2011-11-01 Thread Nuo Yan
, Nuo Yan yan@gmail.com wrote: Hey Peter, using the example of my original email, this is the corresponding json body I post when I created the node: {\uid\:\12345\,\name\:\\\u4f8b\\u5b50\} A single GET query returns the name data (as raw json) as: \name\ : \\xE4\xBE\x8B\xE5\xAD

Re: [Neo4j] 1.5M02 failed to start on reboot

2011-10-26 Thread Nuo Yan
Have you checked logs? What was the failure you saw? In an non-clean shutdown, the next time it starts it would try to recover the indicies. It takes time, and if the timeout value you set (for starting the service) is less than the time needed for the recovery, the server would have trouble

Re: [Neo4j] Gremlin help

2011-10-25 Thread Nuo Yan
. On Sat, Oct 22, 2011 at 6:04 PM, Nuo Yan yan@gmail.com wrote: Thanks very much Marko. I researched the query one step at a time and gained much more knowledge about gremlin. However, I wanted to do something a little bit different, instead of comparing the name property of the children

Re: [Neo4j] Gremlin help

2011-10-25 Thread Nuo Yan
. ?? Peter? Take care, Marko. http://markorodriguez.com On Oct 25, 2011, at 12:43 PM, Nuo Yan wrote: For the record, in case someone else has similar need, I came up with the following query that does what I described in the last email below (still on gremlin 1.2 so still using Commit

Re: [Neo4j] Gremlin help

2011-10-22 Thread Nuo Yan
Thanks very much Marko. I researched the query one step at a time and gained much more knowledge about gremlin. However, I wanted to do something a little bit different, instead of comparing the name property of the children nodes to the source node, I wanted to compare among the siblings of the

Re: [Neo4j] [bug?] Unicode node property not returned correctly from bulk REST index search

2011-10-21 Thread Nuo Yan
:28 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Guys, Do you have a JSON string you would use to set properties on a node? Can then update a test with it and check. On Oct 21, 2011 7:27 AM, Nuo Yan yan@gmail.com wrote: Yea, I'm pretty sure it's not a client parse issue

[Neo4j] Gremlin help

2011-10-21 Thread Nuo Yan
Hi Marko and Gremlin gurus: Currently I'm doing the following in my own code with multiple requests to the standalone neo4j server. I wonder if it's possible to achieve in one gremlin query/script so that I can post the gremlin query to the server as 1 request and done. What I'm trying to achieve

[Neo4j] [bug?] Unicode node property not returned correctly from bulk REST index search

2011-10-20 Thread Nuo Yan
I have nodes with data properties with unicode (Chinese/Japanese) characters such as: {uid = 12345, name = 例子} I index such nodes with their id, so that by doing this (where users_index is the index, uid is the key, 12345 is the value): GET to /index/node/users_index/uid/12345 I can get back

Re: [Neo4j] [bug?] Unicode node property not returned correctly from bulk REST index search

2011-10-20 Thread Nuo Yan
with the client code not understanding unicode. Is there something you could use as a baseline to rule the database out eg maybe the web admin? On Oct 20, 2011 7:48 PM, Nuo Yan yan@gmail.com wrote: I have nodes with data properties with unicode (Chinese/Japanese) characters such as: {uid

[Neo4j] Standalone neo4j server log question

2011-10-16 Thread Nuo Yan
I use neo4j as a standalone server with REST. I currently set the log level to be INFO in conf/logging.properties: org.neo4j.server.level=INFO java.util.logging.ConsoleHandler.level=INFO java.util.logging.ConsoleHandler.formatter=org.neo4j.server.logging.SimpleConsoleFormatter

Re: [Neo4j] REST API Base URI

2011-09-27 Thread Nuo Yan
-based authentication? The combination of HTTP BASIC, strong passwords and HTTPS seems like it would supply quite strong security, no? /Jake On Wed, Sep 21, 2011 at 9:16 PM, Nuo Yan yan@gmail.com wrote: Limiting access to certain URIs or IPs is great, but ideally at this moment I also

Re: [Neo4j] REST API Base URI

2011-09-21 Thread Nuo Yan
://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, Sep 20, 2011 at 6:57 PM, Nuo Yan yan@gmail.com wrote: I access my neo4j server through the REST API. For security purpose, I put the neo4j server behind

Re: [Neo4j] REST API Base URI

2011-09-21 Thread Nuo Yan
happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Wed, Sep 21, 2011 at 6:14 PM, Nuo Yan yan@gmail.com wrote: For my scenario, I currently only use the LB for request authentication, so that not everyone on the network can access the neo4j server

[Neo4j] REST API Base URI

2011-09-20 Thread Nuo Yan
I access my neo4j server through the REST API. For security purpose, I put the neo4j server behind a nginx lb. I'm wondering if there is config entry somewhere that I can set the neo4j server to return a customized base uri that I can set to my LB's uri. For example, currently creating a node by

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-09-07 Thread Nuo Yan
that setting a larger PermGen would only postpone but not resolve the OutOfMemory problem. Let me know if any other info is needed. Thanks much, Nuo On Aug 29, 2011, at 6:09 AM, Adriano Henrique de Almeida wrote: Hi Nuo, any results here? Cheers 2011/8/26 Nuo Yan yan@gmail.com

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-09-07 Thread Nuo Yan
. Memory monitoring graph shows GC happens as desired in PermGen. Thank you! On Sep 6, 2011, at 11:30 PM, Nuo Yan wrote: Hey Adriano and everyone, I finally got a chance to monitor/profile the neo4j process with VisualVM when I run my set of tests. It seems that after running the set

[Neo4j] Index entry removal after relationship deletion

2011-09-06 Thread Nuo Yan
Hey guys, When a relationship gets deleted, will it be removed from the index automatically? My test shows yes, but I want to be absolutely certain. For example, a relationship :foo exists between node A and B and it's indexed on the foo_rels index with key node_a's id and value node_b's id.

Re: [Neo4j] Index entry removal after relationship deletion

2011-09-06 Thread Nuo Yan
, 2011, at 7:05 PM, Linan Wang wrote: as far as i know, no. you need to do it yourself. hint: http://docs.neo4j.org/chunked/1.4.1/indexing-update.html On Wed, Sep 7, 2011 at 1:25 AM, Nuo Yan yan@gmail.com wrote: Hey guys, When a relationship gets deleted, will it be removed from

Re: [Neo4j] Update/Move relationships through REST APIs

2011-08-31 Thread Nuo Yan
the Gremlin query. With Gremlin, you can traverse and update in a single query so perhaps it will meet your needs. Marko. http://markorodriguez.com On Aug 31, 2011, at 5:13 PM, Nuo Yan wrote: I looked through the REST APIs and didn't see an endpoint to move relationships. Is such operation

Re: [Neo4j] Update/Move relationships through REST APIs

2011-08-31 Thread Nuo Yan
in English what you want to do, I can give you the Gremlin query. With Gremlin, you can traverse and update in a single query so perhaps it will meet your needs. Marko. http://markorodriguez.com On Aug 31, 2011, at 5:13 PM, Nuo Yan wrote: I looked through the REST APIs and didn't see

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-29 Thread Nuo Yan
On Mon, Aug 29, 2011 at 6:09 AM, Adriano Henrique de Almeida adrianoalmei...@gmail.com wrote: Hi Nuo, any results here? Cheers 2011/8/26 Nuo Yan yan@gmail.com Hey Adriano, Thanks very much for your reply. I will try with MaxPermSize. It's on my local machine, we

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-26 Thread Nuo Yan
is certainly below 10k when it went out of memory). Increasing memory this way didn't help. Did I do it right? On Fri, Aug 26, 2011 at 2:18 AM, Mattias Persson matt...@neotechnology.comwrote: Tried with more memory? 2011/8/26 Nuo Yan yan@gmail.com Hey Jim, It happened again and I'm pretty

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-26 Thread Nuo Yan
Hey Adriano, Thanks very much for your reply. I will try with MaxPermSize. It's on my local machine, we are evaluating Neo4j and do not have it on production yet. I'm accessing the server through the REST APIs, the app is separate from Neo. I will see if I can do some profiling on Neo when I run

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-25 Thread Nuo Yan
Hey Jim, It happened again and I'm pretty sure there was no other server process running. Also this time when it crashed I saw this line in the console log (not seeing this previously): Could not load hsdis-.jnilib; library not loadable; PrintAssembly is disabled When I tried to restart,

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-24 Thread Nuo Yan
Sent through direct mail. Also one thing I forgot to mention was that for a few occasions that the server was able to start after a few tries after the error; other times I tried enough times and since it's my dev machine so I decided to clear/move the database and restart (which has always led

[Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-23 Thread Nuo Yan
to increase the memory allocation to neo? Thanks, Nuo Yan ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-23 Thread Nuo Yan
I don't think another process was running but I'm not 100% certain (didn't check other than doing ./bin/neo4j status which shows not running). When it happens again I will check further and let you know. Thanks! Nuo On Tue, Aug 23, 2011 at 6:23 PM, Jim Webber j...@neotechnology.com wrote: Hi

[Neo4j] Filter traversal result by relationship type (REST API)

2011-08-15 Thread Nuo Yan
I wanted to traverse the graph from my origin node, and get all nodes in the next level only (max depth == 1) such that they have foo relationship type with the origin node but not bar relationship type. I set my return filter to be: { language : javascript, body :

[Neo4j] Transactions using the REST API?

2011-08-08 Thread Nuo Yan
I've skimmed through the online resources and it appears that there's no documentations/articles mentioning how to get transactions support with the REST API. I found an earlier mailing list message asking about this but didn't see an answer. Is it actually possible to do multiple operations in a

Re: [Neo4j] Transactions using the REST API?

2011-08-08 Thread Nuo Yan
Thanks to both of you Michael and Jim! That's exactly what I needed. Best, Nuo On Mon, Aug 8, 2011 at 4:43 PM, Jim Webber j...@neotechnology.com wrote: Hi Nuo, In the REST API every interaction is automatically executed within a transaction on the server side. If you need to complete