Re: [Neo4j] Versioning :)

2010-10-26 Thread Peter Neubauer
Sounds like a good Friday-labday project Rick :) Cheers, /peter neubauer VP Product Management, Neo Technology GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter      http://twitter.com/peterneubauer

Re: [Neo4j] BatchInserter - No index provider 'null' error

2010-10-26 Thread Mattias Persson
Ah, it's a bug allright... only when using the BatchInserterIndex. The problem goes away if you add provider:lucene to the configuration map, like: persons= indexProvider.nodeIndex(persons, MapUtil.stringMap(type,exact, provider, lucene)); It will be fixed in M03, where the

Re: [Neo4j] Lucene index provider not found in certain cases

2010-10-26 Thread Mattias Persson
(As I answered in another thread) This is a bug in the LuceneIndexBatchInserterIndexProvider class where it doesn't automatically fill in the provider parameter. It has been fixed now, so until M03 send that in yourself... just like the tests do. I'm not sure this is connected to the python

Re: [Neo4j] Determining the indices associated with a graph.

2010-10-26 Thread Mattias Persson
It could be added... what exactly do you need it for? Is there a use case for it? Do you want the Index instances, or just the names/configurations? 2010/10/26 Marko Rodriguez okramma...@gmail.com Hello, How do you determine what indices are associated with a graph? E.g. something along

Re: [Neo4j] BatchInserter - No index provider 'null' error

2010-10-26 Thread Paddy
good stuff, thanks Mattias On Tue, Oct 26, 2010 at 12:49 AM, Mattias Persson matt...@neotechnology.com wrote: Ah, it's a bug allright... only when using the BatchInserterIndex. The problem goes away if you add provider:lucene to the configuration map, like: persons=

[Neo4j] LuceneIndexProvider EXACT_CONFIG vs. FULLTEXT_CONFIG

2010-10-26 Thread Konstanze . Lorenz
Hello, I'm giving the new LuceneIndexProvider a trial und try to become acquainted with EXACT_CONFIG and FULLTEXT_CONFIG. Currently, I do not understand some differences between their quering-results.. For example: String nameArnold = Arnold Aronson; String key =

Re: [Neo4j] Determining the indices associated with a graph.

2010-10-26 Thread Elena Pechko
Hi, I have a related question: is it possible to determine a list of indexed values? Regards, Elena It could be added... what exactly do you need it for? Is there a use case for it? Do you want the Index instances, or just the names/configurations? 2010/10/26 Marko Rodriguez

[Neo4j] Neo4j tutorial

2010-10-26 Thread Roman Uhlig
Hi, I'm completely new to Neo4j and got an issue while trying the getting started guide. Everytime I close the database (GraphDatabaseService.shutdown()) and open it again later, all data is gone (or was never saved). I did exactly as described in the guide, so maybe someone can point me in

Re: [Neo4j] Neo4j tutorial

2010-10-26 Thread Axel Morgner
You forgot tx.success() in the try{} block, see http://wiki.neo4j.org/content/Transactions#Controlling_success. Greetings Axel Am 26.10.2010 11:19, schrieb Roman Uhlig: Hi, I'm completely new to Neo4j and got an issue while trying the getting started guide. Everytime I close the database

Re: [Neo4j] Deployment Scenarios

2010-10-26 Thread Mattias Persson
Good visualization! One thing: in scenario #7 I'd like the App to access the User REST directly in addition (or instead of) just REST Servlet. Because that's what your app would do, go directly through that User REST interface. Would you agreee? 2010/10/25 Andreas Kollegger

[Neo4j] Getting indexed values - Was: Determining the indices associated with a graph.

2010-10-26 Thread Andres Taylor
Hi Elena, On Tue, Oct 26, 2010 at 10:54 AM, Elena Pechko elenapec...@gmail.comwrote: Hi, I have a related question: is it possible to determine a list of indexed values? Just to make sure I understand you, is this one way of expressing your need? Given a node, I want to find what

Re: [Neo4j] LuceneIndexProvider EXACT_CONFIG vs. FULLTEXT_CONFIG

2010-10-26 Thread Mattias Persson
I just found the problem... fulltext defaults to being case-insensitive (by converting added values as well as string queries to lower case). There's a quirk in the Lucene QueryParser where you must specifically set whether or not range/wildcard queries should have their terms converted into lower

Re: [Neo4j] Determining the indices associated with a graph.

2010-10-26 Thread Mattias Persson
2010/10/26 Elena Pechko elenapec...@gmail.com Hi, I have a related question: is it possible to determine a list of indexed values? Regards, Elena For a specific entity or for a specific index? Short answer: no, not in any efficient way at least... What would be the use case for

Re: [Neo4j] Deployment Scenarios

2010-10-26 Thread Andreas Kollegger
That could be clarified somehow. The User REST is providing resources that are exposed through the Servlet, so the interaction still happens through the servlet. Perhaps new wording and a dotted line. Um... how's this... neo4j deployment #7.pdf Description: Adobe PDF document On Oct 26,

Re: [Neo4j] Deployment Scenarios

2010-10-26 Thread Mattias Persson
2010/10/26 Andreas Kollegger andreas.kolleg...@neotechnology.com That could be clarified somehow. The User REST is providing resources that are exposed through the Servlet, so the interaction still happens through the servlet. Perhaps new wording and a dotted line. Um... how's this...

[Neo4j] How to create an index

2010-10-26 Thread Mattias Persson
Hi, I'm a bit torn about one aspect of the new index frameworkhttp://wiki.neo4j.org/content/Index_Framework: index creation. My initial though with it was do creation just like you do with an embedded graph database, i.e. there's no explicit creation phase for it, instead you just instantiate a:

Re: [Neo4j] Neo4j tutorial

2010-10-26 Thread Roman Uhlig
Thanks Axel, that did it. Most of the tutorials (especially the getting started guide) don't show this, so I'd recommend to include it. It's a bit confusing, especially when you come from the relational database environment or even an ORM mapper, where .commit() / .rollback() usually closes the

Re: [Neo4j] Determining the indices associated with a graph.

2010-10-26 Thread Marko Rodriguez
Hello, It could be added... what exactly do you need it for? Is there a use case for it? Lets say I connect to some graph database and need to know what the indices are so I can make intelligent queries. If I don't know what indices exist, then I'm bound to generate new indices (e.g. I

Re: [Neo4j] How to create an index

2010-10-26 Thread Andreas Ronge
On Tue, Oct 26, 2010 at 3:55 PM, Mattias Persson matt...@neotechnology.com wrote: Hi, I'm a bit torn about one aspect of the new index frameworkhttp://wiki.neo4j.org/content/Index_Framework: index creation. My initial though with it was do creation just like you do with an embedded graph

[Neo4j] [Blueprints] Index API look and feel (RFC)

2010-10-26 Thread Marko Rodriguez
Hi everyone, *** I've included the Neo4j users group in the mailing in case they have any thoughts on the matter. *** So these are the classes currently associated with Indexing in the next release of Blueprints [ http://blueprints.tinkerpop.com ]. Much of this was inspired by the

Re: [Neo4j] [Blueprints] Index API look and feel (RFC)

2010-10-26 Thread Walaa Eldin Moustafa
Thank you for this useful information. I understood that Neo4j implements the Lucene index which supports node indexing only but not edge indexing. Also, from what I understand from the Blueprints API, it can support both node and edge indexing, and it also supports Neo4j as an underlying

Re: [Neo4j] [Blueprints] Index API look and feel (RFC)

2010-10-26 Thread Marko Rodriguez
Hello, The new Neo4j M2 release supports Edge (Relationship) indexing. See: http://components.neo4j.org/neo4j-examples/1.2.M02/apidocs/org/neo4j/graphdb/index/IndexManager.html#existsForNodes%28java.lang.String%29 With next release of Blueprints, Vertex/Node and Edge/Relationship

Re: [Neo4j] [Blueprints] Index API look and feel (RFC)

2010-10-26 Thread Mattias Persson
2010/10/26 Marko Rodriguez okramma...@gmail.com Hello, The new Neo4j M2 release supports Edge (Relationship) indexing. See: http://components.neo4j.org/neo4j-examples/1.2.M02/apidocs/org/neo4j/graphdb/index/IndexManager.html#existsForNodes%28java.lang.String%29 Yep, the integrated index

Re: [Neo4j] Neo4j tutorial

2010-10-26 Thread Mattias Persson
I just looked at http://wiki.neo4j.org/content/Getting_Started_In_One_Minute_Guide and http://wiki.neo4j.org/content/Getting_Started_Guide and they include the tx.success() thingie. Does it need to be clarified somehow and if so how? 2010/10/26 Roman Uhlig roman.uh...@maxity.de Thanks Axel,

Re: [Neo4j] Determining the indices associated with a graph.

2010-10-26 Thread Mattias Persson
2010/10/26 Marko Rodriguez okramma...@gmail.com Hello, It could be added... what exactly do you need it for? Is there a use case for it? Lets say I connect to some graph database and need to know what the indices are so I can make intelligent queries. If I don't know what indices exist,

[Neo4j] Does removing a node/relationship automatically remove it from all indices?

2010-10-26 Thread Marko Rodriguez
Hello, Does removing a node/relationship automatically remove it from all indices? Meaning: If I node.delete(), am I certain that its not longer indexed in any indices that it was indexed in. Thank you, Marko. http://markorodriguez.com ___ Neo4j