[Neo4j] Store binary data with byte []

2010-06-21 Thread go canal
Hello, Sorry, this maybe asked before - I saw byte [] is supported as property type. I assume I can use that to store binary data, like attachments. Is there any storage limit to it ? Will indexing/searching performance be affected ? Thanks, canal thanks, canal __

Re: [Neo4j] deleting index

2010-06-21 Thread Mattias Persson
I've whipped up a little patch which does just that... anyone keen on trying it out? 2010/6/21 Craig Taverner : > +1 for OSM import into Neo4j Spatial > > (in fact +1 for any import source that uses some kind of temporary foreign > key, eg. relational table dumps, xml structures, etc. - lucene i

Re: [Neo4j] Lucene Index on Relationships

2010-06-21 Thread Marius Kubatz
Hi, thanks a lot for the feedback. There are a lot of applications where indexed relationships will provide a speed benefit, but just to a limit. This advantage of sparse properties on a lot of edges ( I.e. 100 relationships with a property - as opposed to 1000 relationships without ) holds its b

Re: [Neo4j] Lucene Index on Relationships

2010-06-21 Thread Craig Taverner
You got me again, Rick. I have not (yet) used my idea of ranged relationship types, and still use "buckets", or intermediate nodes (all over the place!). However, I am thinking of using a combination of the two approaches for my "composite" index. I have deviated from the classic binary tree becau

Re: [Neo4j] Lucene Index on Relationships

2010-06-21 Thread Rick Bullotta
I think the combination of relationship type + relevant property value(s) is a more appropriate context for an index, as opposed to for "all relationships in the graph". FWIW, we achieve this today with Neo directly using the concept of "bucket" nodes. Instead of having to create different relati

Re: [Neo4j] Neo4j spatial within distance query

2010-06-21 Thread Peter Neubauer
Very cool, great to see the neo4j-spatial code starting to get evaluated and used! Would be cool to make a blog out of that, the code looks compact and clean! WDYT? Cheers, /peter neubauer COO and Sales, Neo Technology GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 1

Re: [Neo4j] Lucene Index on Relationships

2010-06-21 Thread Paul A. Jackson
I am not sure was a per-node relationship index is. I concur that a relationship index doesn't help if each node has a relationship of the type we are interested in (like in a graph of employees, each employee would have a Manager relation). However, in a graph where there are lots of nodes an

Re: [Neo4j] bus timetable with neo4j

2010-06-21 Thread Paddy
Hey Guys, need a bit more help with this one I'm trying implement the bus timetable into the graph and also allow for walking distances between stops to be calculated Every journey for each route is stored with time data, the cost between each node is the travel time in minutes between the stops.

Re: [Neo4j] Lucene Index on Relationships

2010-06-21 Thread Mattias Persson
Hi, how do you guys expect indexing for relationships to work? Would it be an index just as for nodes... or per node? I often hear that it'd speed up traversals if a node has many, many neighbours. But if the relationship index would be for the entire graph (not per node) that wouldn't really help

Re: [Neo4j] Lucene Index on Relationships

2010-06-21 Thread Craig Taverner
A side comment, since I think indexing relationships with lucene might be good, but think there might be alternatives for your current example. You said that the relationship property is a float from 0 to 1, so you cannot use relationship types, but actually, when you consider that any index is us

Re: [Neo4j] deleting index

2010-06-21 Thread Craig Taverner
+1 for OSM import into Neo4j Spatial (in fact +1 for any import source that uses some kind of temporary foreign key, eg. relational table dumps, xml structures, etc. - lucene is useful for indexing the external foreign key during import, and then dropping it entirely afterwards) On Mon, Jun 21, 2

[Neo4j] Lucene Index on Relationships

2010-06-21 Thread Marius Kubatz
Hello guys, hello community! I'm currently evaluating neo4j for my thesis and have a wish :) I have already opened a ticket for this,( https://trac.neo4j.org/ticket/241 ) but I would like to hear what you guys think about it. Basically it just involves the ability to index Neo4j Relationships wit

Re: [Neo4j] deleting index

2010-06-21 Thread Niels Hoogeveen
+1 When loading initial data I need some temporary indexes as well, which I would like to see completely removed afterwards. > Date: Mon, 21 Jun 2010 11:14:52 +0200 > From: matt...@neotechnology.com > To: user@lists.neo4j.org > Subject: Re: [Neo4j] deleting index > > 2010/6/20 Alexander Viefhue

Re: [Neo4j] help: got NotInTransactionException

2010-06-21 Thread go canal
thank you both for your help! I will give it a try. rgds, canal From: Anders Nawroth To: Neo4j user discussions Sent: Mon, June 21, 2010 4:57:28 PM Subject: Re: [Neo4j] help: got NotInTransactionException Hi! > If you want to be able to do read operations w

Re: [Neo4j] deleting index

2010-06-21 Thread Mattias Persson
2010/6/20 Alexander Viefhues : > Hello, > > for my graphalgorithm I create a new index, this > index is only used in one iteration of the algorithm. > After that I delete the index from all nodes. > But after deleting the index there still is an > folder with the indexname in the lucene folder, > t

Re: [Neo4j] RDF / Sparql question

2010-06-21 Thread Mattias Persson
Hi Adnan, 2010/6/19 Adnan Duric : > Hi, > > I'm new to Neo4j and I'm interested in the neo4j-rdf and neo4j-rdf-sparql > packages specifically. Basically, I would like to query an RDF store using > Sparql queries but I'm having a hard time figuring out exactly how to do it. > > So far I've used bit

Re: [Neo4j] help: got NotInTransactionException

2010-06-21 Thread Anders Nawroth
Hi! > If you want to be able to do read operations without the need for a > transactional context you could try using the latest development snapshot. Development snapshot download links has been added here: http://neo4j.org/ /anders > > Cheers, > Tobias > > On Mon, Jun 21, 2010 at 2:12 AM, go

Re: [Neo4j] Can we commit at regular intervals in batch insert mode

2010-06-21 Thread Mattias Persson
Could you copy-paste the exact command line to start java? I'd like to see if there's some tyop with the heap size option. 2010/6/18 Peter Neubauer : > Suruchi, > this sounds much to slow. Is there any chance of you sending over the > insert and query code and some small data sample off list to me