[Neo4j] Fuzzy Search Not Working :(

2011-08-22 Thread Romiko Derbynew
Hi Guys, The problem I am having is that I have created multiple index entries e.g. Key:Name Value: Joe Key:Name Value: Joe Blogs Works I am now querying the index, and can find Name:\Joe\ I am now querying the index, and can find Name:\Joe\~ I am now querying the index, and can find

Re: [Neo4j] Return Node in an unmanaged server plugin

2011-08-22 Thread Jim Webber
I'd agree with Peter on this - unmanaged extensions are for where you want to put your own domain-specific API in the server, but if you want to deal with native nodes and relationships, use the managed extensions. Jim ___ Neo4j mailing list

Re: [Neo4j] upgrade 1.4 - 1.4.1 losses indexes

2011-08-22 Thread Mattias Persson
I think lucene stores indices in a machine-specific (or at least OS/architecture-specific) way so moving indices over may not work. 2011/8/21 Boris Kizelshteyn bo...@popcha.com update ... it doesn't seem to be an upgrade issue: I moved my datastore to a new server of the same version (1.4)

Re: [Neo4j] Neo4j server - Gremlin plugin - line break in script

2011-08-22 Thread Guillaume ALLEE
Hi all, Hi event with \n, I am not able to send this script {script:g.v(1);g.v(2)} in 2 lines. BTW I am still using 1.4. Stack trace is here http://pastebin.com/WYVJPy3K http://pastebin.com/WYVJPy3K It says Unrecognized character escape (CTRL-CHAR, code 10) -- View this message in context:

Re: [Neo4j] Neo4j Rest Server memory configuration

2011-08-22 Thread Chris Gioran
Hi there, see inline for my take to answering your questions. If someone has more info please share and/or correct. On Sun, Aug 21, 2011 at 10:39 AM, mike_t t.pr...@gmx.net wrote: I installed neo4j as a service on linux. Then I configured in the neo4j-community-1.4.1/conf/neo4j-wrapper.conf

Re: [Neo4j] Neo4j server - Gremlin plugin - line break in script

2011-08-22 Thread Peter Neubauer
Guillaume, I added a test to the Gremlin test, which works, see https://github.com/neo4j/gremlin-plugin/blob/master/src/test/java/org/neo4j/server/plugin/gremlin/GremlinPluginTest.java#L238 However, I suspect the REST system to treat linebreaks wrongly, so I need to track that down.

Re: [Neo4j] Neo4j server - Gremlin plugin - line break in script

2011-08-22 Thread Peter Neubauer
Guillaume, update - https://github.com/neo4j/gremlin-plugin/blob/master/src/test/java/org/neo4j/server/plugin/gremlin/GremlinPluginFunctionalTest.java#L205 shows you that you need to escape the newline if you are executing your test from Java, since one String parsing in your client code is done

[Neo4j] neo4j community back tool

2011-08-22 Thread sometime
Hi! What is the complete solution for backup database neo4j-community without stopping? -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/neo4j-community-back-tool-tp3274919p3274919.html Sent from the Neo4j Community Discussions mailing list archive at

Re: [Neo4j] neo4j community back tool

2011-08-22 Thread sometime
Yes, I know it. But maybe there is some solution for community-version? -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/neo4j-community-backup-tool-tp3274919p3274931.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.

Re: [Neo4j] upgrading gremlin

2011-08-22 Thread Peter Neubauer
Boris, I am starting on this now. It will be Gremlin 1.2 as 1.3 is not released yet :) 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 community back tool

2011-08-22 Thread sometime
I ask for the reason that http://neotechnology.com/products/price-list/ enterprise - paid? -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/neo4j-community-backup-tool-tp3274919p3274967.html Sent from the Neo4j Community Discussions mailing list archive at

Re: [Neo4j] upgrading gremlin

2011-08-22 Thread Peter Neubauer
Ok, Neo4j Server upgraded to Gremlin 1.2, https://github.com/neo4j/community/commit/8de76ae36b20bac1b3cb0a0995f522cc72e726d4 and the GraphML reading example updated, https://github.com/neo4j/gremlin-plugin/commit/6244c5bfdd13058968a6693b8e282bab35d8923d Cheers, /peter neubauer GTalk:     

Re: [Neo4j] neo4j community back tool

2011-08-22 Thread Peter Neubauer
Well, Enterprise is AGPL, so it is only paid if you need a closed-source license. Contact me off-list and we can sort it out. Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter     

Re: [Neo4j] upgrading gremlin

2011-08-22 Thread Peter Neubauer
Sorry, that last commit was https://github.com/neo4j/gremlin-plugin/commit/07035183ec53fb1facd4b71bc2d4a8f0df151bbb Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter     

Re: [Neo4j] possible to query spatial indexes from gremlin?

2011-08-22 Thread Peter Neubauer
Boris, the name of the index is the name of the corresponding Layer you want to work with, so you should do something like http POST /db/data/index/node/ {name:a72952a1-0969-4fae-87ce-ff404a7b8a3e_world,config:{provider:spatial}} in order to get one of your existing layers. otherwise, a new

Re: [Neo4j] doing some house keeping, and fitting, in neo4j.

2011-08-22 Thread Peter Neubauer
Pere, is this thread closed now, with you copying the store to a new instance in order to compact the store? I think this method would be godo to have in the manual? Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn  

Re: [Neo4j] Neo4j server - Gremlin plugin - line break in script

2011-08-22 Thread Guillaume ALLEE
Hi, I am using a simple rest client in chrome to try to send my gremlin script (working without a line break) https://chrome.google.com/webstore/detail/fhjcajmcbmldlhcimfajhfbgofnpcjmb -- View this message in context:

Re: [Neo4j] upgrading gremlin

2011-08-22 Thread Boris Kizelshteyn
awesome! On Mon, Aug 22, 2011 at 9:10 AM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Sorry, that last commit was https://github.com/neo4j/gremlin-plugin/commit/07035183ec53fb1facd4b71bc2d4a8f0df151bbb Cheers, /peter neubauer GTalk: neubauer.peter Skype

Re: [Neo4j] Neo4j server - Gremlin plugin - line break in script

2011-08-22 Thread Peter Neubauer
Guillaume, I checked this out with people in the know. Actually, unescaped newline in the middle of a token like your string is not allowed in JSON, much like in java. {script:2\n4, hi:hej} in the Chrome plugin is working, while {script:2 4, hi:hej} is illegal JSON and will throw the parsing

Re: [Neo4j] Neo4j server - Gremlin plugin - line break in script

2011-08-22 Thread Stefan Matheis
Peter, On Mon, Aug 22, 2011 at 5:04 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Do others have input on this? it's just like that :) javascript (and therefore also json) don't allow linebreaks in strings. alert( foo bar ); results in 'Unexpected identifier'. what would be

[Neo4j] Create Custom Gremlin Steps in Any JVM Language

2011-08-22 Thread espeed
During my experimentation in creating Gremlin user-defined steps (https://github.com/tinkerpop/gremlin/wiki/User-Defined-Steps), I had a thought -- what if you could create a Gremlin step using any JVM language? Well as it turns out, you can. I created a library that provides an example for how

Re: [Neo4j] Neo4j server - Gremlin plugin - line break in script

2011-08-22 Thread Alistair Jones
Hi Stefan, On 22 August 2011 15:15, Stefan Matheis matheis.ste...@googlemail.comwrote: results in 'Unexpected identifier'. what would be possible, just to increase the readability is the following: alert( foo\n + bar ); This is certainly a solution if you are in an environment that

Re: [Neo4j] Indexing - Rest Api

2011-08-22 Thread Jim Webber
Hi Romiko, Out of the box auto-indexing only supports exact matches, rather than full text searches. The reason is that auto indexes are created with the default configuration (http://docs.neo4j.org/chunked/snapshot/indexing-create.html) the first time you access them. But this gives us a

Re: [Neo4j] Neo4j server - Gremlin plugin - line break in script

2011-08-22 Thread Stefan Matheis
Oh yes .. of course, you're right .. i should just finish thinking before sending my mail :) i'm sorry! Regards Stefan On Mon, Aug 22, 2011 at 6:10 PM, Alistair Jones alistair.jo...@neotechnology.com wrote: Hi Stefan, On 22 August 2011 15:15, Stefan Matheis matheis.ste...@googlemail.comwrote:

[Neo4j] Fastest way to count relationships from a particular node.

2011-08-22 Thread noppanit
I've got a little question about what is the fastest way to count relationships of a node. For example, ICE-CREAM | | LIKES | A -- KNOWS -- B | | KNOWS | C If I count it by traversing it would be 2 KNOWSs and one LIKE. So, my question is if I want to count every relationship that comes out of a

Re: [Neo4j] Create Custom Gremlin Steps in Any JVM Language

2011-08-22 Thread Peter Neubauer
Nice effort James, Thanks a lot! /peter Sent from my phone. On Aug 22, 2011 5:41 PM, espeed ja...@jamesthornton.com wrote: During my experimentation in creating Gremlin user-defined steps (https://github.com/tinkerpop/gremlin/wiki/User-Defined-Steps), I had a thought -- what if you could

Re: [Neo4j] Spring Data Graph 1.1.0

2011-08-22 Thread etc1
Hi, I updated my pom to reflect this new release.. data-graph.version1.1.0.RELEASE/data-graph.version ...but I'm getting an error saying the resource can't be found... [INFO] Unable to find resource 'org.springframework.data:spring-data-graph-core:jar:1.1.0.RELEASE' in repository central

[Neo4j] Events This Week - 08/22/2011

2011-08-22 Thread Allison Sparrow
*** Hi Everyone, Here are the events organized for this week. If you have any questions regarding participation, feel free to email me at alli...@neotechnology.com *NOSQL Now! Case Study: Real-time Recommendations with a Graph Database* Wednesday, 24 August

Re: [Neo4j] Fuzzy Search Not Working :(

2011-08-22 Thread Romiko Derbynew
Hi Guys, I got fuzzy search working now, I had to use the query version: http://localhost:5102/db/data/index/node/agency1-clients?query=Name:Bobbs~ :) From: Romiko Derbynew Sent: Monday, 22 August 2011 4:53 PM To: 'User@lists.neo4j.org' Subject: Fuzzy Search Not Working :( Hi Guys, The

Re: [Neo4j] Fuzzy Search Not Working :(

2011-08-22 Thread Romiko Derbynew
For those that need to work with multiple words. This how fuzzy search works with multiple terms, the plus sign is used to separate the surname so the search below will match Bob The Builder , who is of course male :)

[Neo4j] NodeBacked to Node

2011-08-22 Thread sambodhi sagi
Hi! I am facing a small problem with Spring Graph database APIs. I am not sure how to get a NodeBacked object from Node. For example, say I created a traversal description, as a result I get Node object and not the NodeBacked entity, which in my case is Product @NodeEntity public class Product {

Re: [Neo4j] NodeBacked to Node

2011-08-22 Thread Michael Hunger
generally you can use graphDatabaseContext.createEntityFromStoredType(node) or graphDatabaseContext.createEntityFromState(node, type) But normally you wouldn't do that but rather pass your traversal description to a repository or your entity. GraphRepositoryProduct repo =