Re: [Neo] Range Query using Lucene Index Service?

2010-01-28 Thread Nathan Marz
Awesome, thanks! Just what I was looking for. On Thu, Jan 28, 2010 at 12:53 PM, Rick Bullotta < rick.bullo...@burningskysoftware.com> wrote: > Take a look at the timeline functionality in the index package in the wiki. > It uses neo, not lucene, to store the "index". > > --Original Message-

Re: [Neo] Possible causes for: org.apache.lucene.index.MergePolicy$MergeException

2010-01-28 Thread Mattias Persson
Im sorry but I think your attachment got caught in our mail filters. Could you perhaps send me your project (including the entire data file via some file sending service, f.ex http://sprend.com) and send it to me directly, matt...@neotechnology.com? 2010/1/28, Symeon (Akis) Papadopoulos : >

Re: [Neo] Range Query using Lucene Index Service?

2010-01-28 Thread Rick Bullotta
Take a look at the timeline functionality in the index package in the wiki. It uses neo, not lucene, to store the "index". --Original Message-- From: Nathan Marz Sender: user-boun...@lists.neo4j.org To: user@lists.neo4j.org ReplyTo: Neo user discussions Subject: [Neo] Range Query using

[Neo] Range Query using Lucene Index Service?

2010-01-28 Thread Nathan Marz
I have nodes that have a "timestamp" property and I want to do range queries on timestamp, such as to get all nodes older than X days. Looking at LuceneIndexService, the methods seem to only provide for key-value lookups. Is there any way to do range queries or some alternative way to do this? Tha

Re: [Neo] Possible causes for: org.apache.lucene.index.MergePolicy$MergeException

2010-01-28 Thread Symeon (Akis) Papadopoulos
Great, lucene handles merging in the background automatically if the files are too sharded. So this error shouldn't occur unless there are some corner case where some IndexReader/IndexWriter isn't closed properly... so that's why I'm suspecting a bug here :) Great that you found a work-arou

Re: [Neo] Relation properties

2010-01-28 Thread Mattias Persson
Not at all, you're not the first one to overlook that inheritance! 2010/1/28, Anton Popov : > Thanks for a quick answer, Mattias. > > Sorry for a stupid questions, just haven't noticed the inheritance of > Relationship interface. > > On 28 January 2010 19:43, Mattias Persson wrote: > >> Relations

Re: [Neo] Relation properties

2010-01-28 Thread Anton Popov
Thanks for a quick answer, Mattias. Sorry for a stupid questions, just haven't noticed the inheritance of Relationship interface. On 28 January 2010 19:43, Mattias Persson wrote: > Relationship has all the property methods, just like Node... they're > actually on PropertyContainer (a common sup

Re: [Neo] Relation properties

2010-01-28 Thread Mattias Persson
Relationship has all the property methods, just like Node... they're actually on PropertyContainer (a common super interface to Node and Relationship) see http://api.neo4j.org/current/org/neo4j/graphdb/Relationship.html and http://api.neo4j.org/current/org/neo4j/graphdb/PropertyContainer.html for m

[Neo] Relation properties

2010-01-28 Thread Anton Popov
Hello everyone, Is there any possibility to assign properties to Relations? The matter is I want to try Dijkstra algorithm performance on some weighted directed graph and don't know where to put weight actually... -- Best regards, Popov Anton ___ Neo m

Re: [Neo] Neo4j Transaction Handling in Gremlin

2010-01-28 Thread Mattias Persson
I'd vote for using the begin/finish terms for transactions, just as in neo4j. That'd make you feel more cosy and at home perhaps? 2010/1/28 Tobias Ivarsson : > I personally prefer to handle (at least write-) transactions manually. But > in this case I think the best option is to go with whatever i

Re: [Neo] Neo4j RDF component download path missing?

2010-01-28 Thread Mattias Persson
Well, you could just as well download the latest jar file from the maven repository... if you're only after the jar file, that is. Got to http://m2.neo4j.org/org/neo4j/neo4j-rdf/0.6-SNAPSHOT/ and grapb the latest there. Or include that dependency in your maven pom. The "Apoc" release only include

Re: [Neo] Is neo-weaver component alive?

2010-01-28 Thread Tobias Ivarsson
Hi Avishay, neo-weaver is not being actively maintained at the moment. But there are other projects that do (roughly) the same thing, and are very much alive, such as jo4neo [http://code.google.com/p/jo4neo/]. I for one, think that it's much more interesting to see these tools grow "in the wild" w

Re: [Neo] Neo4j Transaction Handling in Gremlin

2010-01-28 Thread Tobias Ivarsson
I personally prefer to handle (at least write-) transactions manually. But in this case I think the best option is to go with whatever is most natural in gremlin. I think this is yet another case where it would be nice if Neo4j allowed read operations without a transactional context. Then manual t

Re: [Neo] Neo4j RDF component download path missing?

2010-01-28 Thread Peter Neubauer
Francis, we have not released the surrounding components that are not contained in the APOC as compliant snapshots. That means, you should check out trunk from svn for the interesting components with e.g. svn co https://svn.neo4j.org/components/neo-rdf/trunk/ neo-rdf mvn install And then use that