Re: [Neo4j] TimelineIndex usage

2010-07-23 Thread Mattias Persson
ey are added to a timeline? Any way it wouldn't be a problem if you always specify which relationships to traverse in traversals. > > Thanks, > Tim > > > > > ___________ > Neo4j mailing list > User@lists.neo4

Re: [Neo4j] Very slow read performance-1sec to get a node's relationships

2010-07-23 Thread Mattias Persson
know if there is a flaw in the configuration settings. > Kind regards, > Amir > > This is sort of expected behaviour... the first time a node/relationship/(string/array)property is accessed it's loaded from disk... even if that area of the file is memory mapped it still needs to be r

Re: [Neo4j] Performance problem inserting nodes with many short string properties

2010-07-24 Thread Mattias Persson
g, but > if > > that's the only way I could refactor. Also all these inserts are within > one > > transaction (about 100k nodes per transaction) - do I need to split this > > into smaller transactions? > > > > Thanks, > > Jeff Klann > > >

Re: [Neo4j] Question about labelling all connected components

2010-07-24 Thread Mattias Persson
label the connected components? > >> > > >> > Regards > >> > Arijit > >> > > >> > -- > >> > "And when the night is cloudy, > >> > There is still a light that shines on me, &g

Re: [Neo4j] Batch inserter shutdown taking forever

2010-07-24 Thread Mattias Persson
performance was good, but I ran into > problems > inserting data and retrieving existing nodes). > What kind of problems? could you supply code and description of your problems? > > Thanks, > Tim > > > > > > ___

Re: [Neo4j] TraversalDescription building hickup

2010-07-27 Thread Mattias Persson
ttp://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. > _______ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Batch inserter shutdown taking forever

2010-07-27 Thread Mattias Persson
eo4j properties or anything to improve > performance here? > > Thanks > > > - Original Message > > From: Mattias Persson > > To: Neo4j user discussions > > Sent: Sat, July 24, 2010 10:23:02 PM > > Subject: Re: [Neo4j] Batch inserter shutdown taki

Re: [Neo4j] Enabling LRU cache with BatchInserter

2010-07-27 Thread Mattias Persson
@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Querying for nodes that have no relationhip to a specfic node

2010-07-28 Thread Mattias Persson
en having for instance 100k > users. > > Any thoughts or comments? > What would you recommend? > > Thanks for help guys! > Alberto. > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Node attributes as multiple lucene fields

2010-07-29 Thread Mattias Persson
Ivarsson > > Hacker, Neo Technology > > www.neotechnology.com > > Cellphone: +46 706 534857 > > ___ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > >

Re: [Neo4j] Lucene and sorting results

2010-07-29 Thread Mattias Persson
Any luck with this? 2010/7/20 Mattias Persson > I copied that org.apache.lucene.Hits class into the lucene-index component, > so it exists there in that package (and has existed there since the birth of > this component). That's the class that LuceneIndex.search uses, not the one

Re: [Neo4j] check for existing relationship between two nodes

2010-07-30 Thread Mattias Persson
Shine on until tomorrow, let it be." > ___________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] check for existing relationship between two nodes

2010-07-30 Thread Mattias Persson
using Maven in my projects yet...I mean I'm not very comfortable > with it. > > Arijit > > On 30 July 2010 17:33, Mattias Persson wrote: >> Looping through relatiomships manually is the way to go. However >> there's a new component in >> https://svn.n

Re: [Neo4j] On twice?

2010-08-01 Thread Mattias Persson
mailing list >> User@lists.neo4j.org >> https://lists.neo4j.org/mailman/listinfo/user >> > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neot

Re: [Neo4j] Attributes or Relationship Check During Traversal

2010-08-02 Thread Mattias Persson
; of categories? > > Thanks, > Alex > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > > ___ > Neo4j mailing list > User@lists.neo4j.

Re: [Neo4j] GSoC work result, Featuring Gephi & Neo4j

2010-08-13 Thread Mattias Persson
ormations for > >>> further Gephi & Neo4j cooperation. Thanks for any response. > >>> > >>> The article can be found here: > >>> > http://gephi.org/2010/gsoc-2010-mid-term-adding-support-for-neo4j-in-gephi/ > >>> > >>>

Re: [Neo4j] check for existing relationship between two nodes

2010-08-17 Thread Mattias Persson
nt snapshot but can't figure out how to use it. Perhaps I'm > just dense. Looks like the only class in the Javadoc is an abstract class > so > I don't know how to instantiate a new relationship index. Have an example? > > Thanks, > Jeff Klann > >

Re: [Neo4j] neo4j REST

2010-08-18 Thread Mattias Persson
_ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Neo4j REST

2010-08-18 Thread Mattias Persson
g list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Broken restrictions example code in the meta-model component

2010-08-18 Thread Mattias Persson
http://twitter.com/peterneubauer > > http://www.neo4j.org - Your high performance graph database. > http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. > ___ > Neo4j mailing list > User@lists.neo4j.org

Re: [Neo4j] Another issue with Neo4j.py

2010-08-19 Thread Mattias Persson
gt; Thanks, > Dan > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] OpenJDK vs SunJDK

2010-08-19 Thread Mattias Persson
_ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] neo4j REST GraphAlgo

2010-08-19 Thread Mattias Persson
POST http://localhost:/node/1/pathfinder > My initial thought was to have a .../node/1/shortestpaths .../node/1/allpaths a.s.o. Or even (may be my favourite) .../node/1/paths/shortest .../node/1/paths/simple for multiple paths and .../node/1/path

Re: [Neo4j] REST put over writing old properties

2010-08-22 Thread Mattias Persson
gt; > >> > Cheers >> > su./hail >> > ___ >> > Neo4j mailing list >> > User@lists.neo4j.org >> > https://lists.neo4j.org/mailman/listinfo/user >> > >> ___ >> Neo4j mailing list >> User@lists.neo4j.org >> https://lists.neo4j.org/mailman/listinfo/user >> > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Remove Indexes during BatchInsertion

2010-08-22 Thread Mattias Persson
gt; User@lists.neo4j.org >> https://lists.neo4j.org/mailman/listinfo/user >> > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Index search with more than one key

2010-08-25 Thread Mattias Persson
; > node4: > type=value1 > key1=value21 > key2=value4 > > Let's say type & key1 properties are indexed > Any suggestions on how we can get all nodes with type=value1 AND > key1=value21 in one call. > > > TIA > _

Re: [Neo4j] Limiting index query results - pagination

2010-08-27 Thread Mattias Persson
e there any better solutions to achieve > the same? > > Would be interested to know your thoughts. > > Honnur > > --- On Wed, 8/25/10, user-requ...@lists.neo4j.org < > user-requ...@lists.neo4j.org> wrote: > > Date: Wed, 25 Aug 2010 10:28:10 +0200 > From: Ma

Re: [Neo4j] LuceneIndexProvider EXACT_CONFIG vs FULLTEXT_CONFIG

2010-08-27 Thread Mattias Persson
T_CONFIG is used. But what > is actually "exact" then about this config. > > Thanks for any hints in advance! > --- > balazs > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/us

Re: [Neo4j] LuceneIndexProvider EXACT_CONFIG vs FULLTEXT_CONFIG

2010-08-27 Thread Mattias Persson
de it only > allows lowercase search strings, while in EXACT mode the search is case > sensitive. > > Regards, > --- > balazs > > On 8/27/10 1:12 PM, Mattias Persson wrote: > > Hi Balazs, > > > > maybe the names aren't that great... but EXACT means that i

Re: [Neo4j] neo4j REST GraphAlgo

2010-09-01 Thread Mattias Persson
t; > > _______ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] neo4j REST GraphAlgo

2010-09-01 Thread Mattias Persson
see this merged into trunk! Would that be something you'd feel comfortable to do (subversion wise)?. Else I'd be happy to do it. / Mattias 2010/9/1, Mattias Persson : > Hi, I haven't forgotten about you... I just haven't had time to look at it > yet. Definately this week th

Re: [Neo4j] neo4j REST GraphAlgo

2010-09-08 Thread Mattias Persson
2010/9/2, Mattias Persson : > I think it looks great, with maybe some modifications: > > /{node}/path and /{node}/paths (and skip the "single" attribute), > instead of /{node}/pathfinder Just to clarify: I think GET /node/4/path {to: /node/7...} alt. GET /node/4/paths {

Re: [Neo4j] IndexProvider question

2010-09-08 Thread Mattias Persson
// Ask lucene queries directly here > 8 for ( Node searchHit : myIndex.query( "type:value1 AND key1:value2" ) > ) > 9 { > 10 System.out.println( "Found " + searchHit ); > 11 } > ___ > Neo4j mailing list > User@lists.neo4j.org >

Re: [Neo4j] IndexProvider question

2010-09-10 Thread Mattias Persson
te: Thursday, September 9, 2010, 10:33 PM > > > > > > > > Thanks Mattias. > Since IndexProvider does all LuceneFulltextQueryIndexService can do and much > more, I am going to use just IndexProvider. > > > Date: Wed, 8 Sep 2010 16:28:56 +0200 > From: Mat

Re: [Neo4j] Using the REST neo4j

2010-09-13 Thread Mattias Persson
>> - a different final package in form of a war >>> - done >>> >>> Does it make sense to you? >>> >>> :- alex >>> >>> > Jim >>> > ___ >>> > Neo4j mailing list >>> > User@lists.neo4j.org >>> > https://lists.neo4j.org/mailman/listinfo/user >>> > >>> ___ >>> Neo4j mailing list >>> User@lists.neo4j.org >>> https://lists.neo4j.org/mailman/listinfo/user >>> >> >> >> >> -- >> Jacob Hansson >> Phone: +46 (0) 763503395 >> Twitter: @jakewins >> ___ >> Neo4j mailing list >> User@lists.neo4j.org >> https://lists.neo4j.org/mailman/listinfo/user >> > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Timeline class in Neo Index

2010-09-14 Thread Mattias Persson
uilding a new set of classes based on Timeline, > extending Timeline, or starting from scratch. Any insights/suggestions > welcomed. > > > > Best, > > > > Rick > > > > ___________ > Neo4j mailing list > Use

Re: [Neo4j] neo4j REST server configuration

2010-09-14 Thread Mattias Persson
> concurrent > transactions, so I want to tweak the heap size and see if that helps. > > Thanks, > ~Mohit > > > > > _______ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.or

Re: [Neo4j] IndexProvider question

2010-09-15 Thread Mattias Persson
it's a bit verbose, but it's a start at least. Grab the latest version and try it out to see if it works for you. 2010/9/10 Mattias Persson > 2010/9/10, Honnur Vorvoi : > > I would like to set AND as the default operator when I create index using > &g

Re: [Neo4j] Possible_functional_gap_in_Lucene_indexing?

2010-09-15 Thread Mattias Persson
urningskysoftware.com > 2. mailto:user@lists.neo4j.org > 3. mailto:User@lists.neo4j.org > 4. https://lists.neo4j.org/mailman/listinfo/user > _______ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user >

Re: [Neo4j] Bug: LuceneFullTextQueryIndex service ignoring last word/term

2010-09-15 Thread Mattias Persson
major issue, but I'm not sure if it is in the index > utils or in Lucene itself. > > > > Any thoughts? > > > > Thanks, > > > > Rick > ___ > Neo4j mailing list > User@lists.neo4j.org > htt

Re: [Neo4j] Bug: LuceneFullTextQueryIndex service ignoring last word/term

2010-09-15 Thread Mattias Persson
; Subject: Re: [Neo4j] Bug: LuceneFullTextQueryIndex service ignoring > last word/term > From: Mattias Persson <[1]matt...@neotechnology.com> > Date: Wed, September 15, 2010 10:37 am > To: Neo4j user discussions <[2]u...@lists.neo4j.org> > That sounds weird. Look at

Re: [Neo4j] Using the REST neo4j

2010-09-16 Thread Mattias Persson
tive of a DB vizualization tool: > >> >> what's in there offers you the default view. Next you could build > your > >> >> own views, etc. You could even build your complete application using > >> >> it. > >> >> > >> >&

Re: [Neo4j] Possible functional gap in Lucene indexing?

2010-09-16 Thread Mattias Persson
ex removal given only a Node? > > > > > > > > Thanks, > > > > > > > > Rick > > ___________ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > > > _

Re: [Neo4j] Bug: LuceneFullTextQueryIndex service ignoring last word/term

2010-09-16 Thread Mattias Persson
I previously wrote that you could override LuceneFulltextIndexService and assign your Analyzer there, but now I see that it can't be done there... it's on a lower level. So as Peter pointed out, one option would be to go with the new index framework where you can specify an analyzer at index creati

Re: [Neo4j] Bug: LuceneFullTextQueryIndex service ignoring last word/term

2010-09-16 Thread Mattias Persson
Mattias Persson > I previously wrote that you could override LuceneFulltextIndexService and > assign your Analyzer there, but now I see that it can't be done there... > it's on a lower level. So as Peter pointed out, one option would be to go > with the new index framework

Re: [Neo4j] Bug: LuceneFullTextQueryIndex service ignoring last word/term

2010-09-16 Thread Mattias Persson
com/peterneubauer > > http://www.neo4j.org - Your high performance graph database. > http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. > > > > On Thu, Sep 16, 2010 at 9:46 AM, Mattias Persson > wrote: > > Or, a slightly uglier solution: i

Re: [Neo4j] rest component branch merge and re-org

2010-09-16 Thread Mattias Persson
lease let me know if anything looks amiss. > > Cheers, > Andreas > > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology ww

[Neo4j] Graph algos in REST

2010-09-16 Thread Mattias Persson
tml>and return path representations of found paths. Take a look at the good ol' http://components.neo4j.org/neo4j-rest/ for an example of how to use it. -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com _

Re: [Neo4j] IndexProvider question

2010-09-16 Thread Mattias Persson
trying to implement pagination and I am caching the IndexHits > for the same. > Say, I have already moved to the node #30, but want to return to node#20 to > 25. > Obviously I dont want to cache all the search results and I like the lazy > loading feature in IndexHits > > > D

Re: [Neo4j] IndexProvider question

2010-09-17 Thread Mattias Persson
get a handle to the underlying list (ArrayList, in > this case) so we can go back and forth by List's index value. > I am interested to know if the underlying implementation can facilitate > this. > > > > Date: Thu, 16 Sep 2010 22:39:10 +0200 > From: Mattias Persson

Re: [Neo4j] Graph algos in REST

2010-09-17 Thread Mattias Persson
ot going with the HTTP-FORM-style-question-mark-parameters-pattern-or-whats-is-called. Or is this something different? > > And I would perhaps like to see that result cached for a bit. And I want a > pony. > > Jim > ___________ > Neo4j mailin

Re: [Neo4j] Calling org.neo4j.graphdb.index.Index#remove in a beforeCommit event, allowed ?

2010-09-20 Thread Mattias Persson
at java.lang.reflect.Method.invoke(Method.java:597) > >>at > org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:508) > >> > >> I have probably done something stupid. > >> > >> Cheers > >> ___

Re: [Neo4j] IndexProvider question

2010-09-20 Thread Mattias Persson
you think about them. > > > > Date: Thu, 16 Sep 2010 22:39:10 +0200 > From: Mattias Persson > Subject: Re: [Neo4j] IndexProvider question > To: Neo4j user discussions > Message-ID: > > > > > Content-Type: text/plain; charset=UTF-8 > > I'd say w

Re: [Neo4j] REST server: odd behavior in jsonAddToIndex()

2010-09-20 Thread Mattias Persson
right direction of how to solve this I can gladly include it in > the patch. > Ok, I'll have a look at the patch and see what might be the problem, apply it and then come back to you (and the list) what caused it, allright? > > Cheers, > > Erick > > ___

Re: [Neo4j] Relationship type with name determined by a variable?

2010-09-20 Thread Mattias Persson
; >>> Thanks, > >>> Martin. > >>> > >>> ___ > >>> Neo4j mailing list > >>> User@lists.neo4j.org > >>> https://lists.neo4j.org/mailman/listinfo/user > >>> > >> __

Re: [Neo4j] Importing data using neo4j.py

2010-09-22 Thread Mattias Persson
_________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] How do I sort Lucene results by field value, and numerical range queries ?

2010-09-23 Thread Mattias Persson
t; >> How do I sort ascending/ on different fields ? > > >> > > >> Another related question, how does neo4j work with the new improved > > >> numerical capabilities of lucene 3.0. > > >> Example if I add an integer with > > >> org.neo4j.graphdb.index.Index.add(entity, key, integer_value) will it > > >> be index as a NumericField so that I (how?) can use > > >> NumericRangeQueries ? > > >> > > >> (In old lucene one had to convert integers to strings and pad it with > > >> zeros) > > >> > > >> Cheers > > >> Andres > > >> ___ > > >> Neo4j mailing list > > >> User@lists.neo4j.org > > >> https://lists.neo4j.org/mailman/listinfo/user > > >> > > > ___ > > > Neo4j mailing list > > > User@lists.neo4j.org > > > https://lists.neo4j.org/mailman/listinfo/user > > > > > ___ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > > > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] How do I sort Lucene results by field value, and numerical range queries ?

2010-09-23 Thread Mattias Persson
Btw I don't think lucene can do that kind of multiple-field sorting for you, or can it? 2010/9/23 Mattias Persson > It doesn't try to use NumericField... maybe that can be done somehow so > that range queries can more easily be asked, I'll add that as a ticket > &

Re: [Neo4j] How do I sort Lucene results by field value, and numerical range queries ?

2010-09-23 Thread Mattias Persson
2010/9/23 Mattias Persson > Btw I don't think lucene can do that kind of multiple-field sorting for > you, or can it? > Scratch that... you can do: myNodeIndex.query( new QueryContext( "name:*...@gmail.com" ).sort( new Sort( new SortField( "name", SortFie

Re: [Neo4j] How do I sort Lucene results by field value, and numerical range queries ?

2010-09-23 Thread Mattias Persson
ge", 0, 100, true, true ) ).sort( new Sort( new SortField( "age", SortField.INT ) ) ) ); So that you must know what you're doing... would that be ok or any other better idea? > /Andreas > > > > On Thu, Sep 23, 2010 at 11:21 AM, Mattias Persson > wrote: > >

Re: [Neo4j] BatchInserter usage with neo4j-lucene-index

2010-09-23 Thread Mattias Persson
indexService.getSingleNode("Id", "test"); > System.out.println("Search" + search); > > inserter.shutdown(); > indexService.optimize(); > indexService.shutdown(); > > } > } > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Minor change to neo4j-rest for major advantage

2010-09-23 Thread Mattias Persson
omething... I don't know, but they are definately not used a.t.m. > > -- > Jacob Hansson > Phone: +46 (0) 763503395 > Twitter: @jakewins > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Groovy and Unable to lock store..this is usually a result of..

2010-09-23 Thread Mattias Persson
p. (Getting to work again, was painful). In > development this would be useful, it would be an over-ride and not normal > operation > > cheers, > Andrew > > > > _______ > Neo4j mailing list > User@lists.neo4j.org > htt

Re: [Neo4j] How do I sort Lucene results by field value, and numerical range queries ?

2010-09-24 Thread Mattias Persson
2010/9/24 Andreas Ronge > On Thu, Sep 23, 2010 at 7:50 PM, Mattias Persson > wrote: > > 2010/9/23 Andreas Ronge > > > >> That's really good news ! > >> Does it also work if it was not indexes as Strings ? ( so that we can > >> sort integer

Re: [Neo4j] BatchInserter usage with neo4j-lucene-index

2010-09-25 Thread Mattias Persson
insert and > index nodes using the BatchInserter, > which are then compatible to be queried using the new LuceneIndexProvider > ? > > thanks > Paddy > > On Thu, Sep 23, 2010 at 4:45 PM, Mattias Persson > wrote: > > > Your code doesn't use the new index framework, but there

Re: [Neo4j] traversing-functionality

2010-09-28 Thread Mattias Persson
the original message or any copy > of it from your computer system. > > Thank You. > > > > _______ > Neo4j mailing list > User@lists.neo4j.org &g

Re: [Neo4j] How do I sort Lucene results by field value, and numerical range queries ?

2010-09-28 Thread Mattias Persson
I think there's a working version of it now... look at the tests for more information: https://svn.neo4j.org/laboratory/components/lucene-index/trunk/src/test/java/org/neo4j/index/impl/lucene/TestLuceneIndex.java(testSorting, testNumericValues). 2010/9/24 Mattias Persson > > > 201

Re: [Neo4j] How to check if a relation already exists in neo4j

2010-09-29 Thread Mattias Persson
tias Persson) > > 2. Re: How do I sort Lucene results by field value, and > > numerical range queries ? (Andreas Ronge) > > 3. Re: How to check if a relation already exists in neo4j graph > > (Arijit Mukherjee) > > 4. Re: How to check if a relation already exi

Re: [Neo4j] REST server: odd behavior in jsonAddToIndex()

2010-09-29 Thread Mattias Persson
500 as before but you > don't see the org.neo4j.graphdb.NotFoundException. If someone could point > me in the right direction of how to solve this I can gladly include it in > the patch. > > Cheers, > > Erick > > ___________ >

Re: [Neo4j] How to check if a relation already exists in neo4j

2010-09-30 Thread Mattias Persson
I added some kind of example in the FAQ, http://wiki.neo4j.org/content/FAQ#Checking_if_a_relationship_exists_between_two_nodes 2010/9/29 Mattias Persson > I think the python bindings doesn't have native support for the new index > framework and it's completely separate from the

Re: [Neo4j] Using EmbeddedGraphDatabase, possible to stop node caching eating ram?

2010-09-30 Thread Mattias Persson
them. That would mean that those locks are held until that thread has committed its transaction, this will make it look like it's only one thread at a time committing stuff. > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Using EmbeddedGraphDatabase, possible to stop node caching eating ram?

2010-10-01 Thread Mattias Persson
If this is a one-time batch insertion then should really use the batch inserter <http://wiki.neo4j.org/content/Batch_Insert> which is optimized for these things. It's much faster for imports of this sort and you don't have to (in fact, you cannot have) multiple threads inserting you

Re: [Neo4j] Traversing Neo4j using python binding

2010-10-05 Thread Mattias Persson
>ls_filter = "PEPSI" >for node in neoentity_traverse_test.get_OFTYPE(subbrandnode):#, > ls_filter): >ls_result = node["label"] >if ls_result.startswith(ls_filter): >li_index = li_index + 1 >

Re: [Neo4j] Traversing Neo4j using python binding

2010-10-05 Thread Mattias Persson
e inserting data to check if a > particular node is already inserted or not. > but what if I want to get all nodes starting with "PEP" or "PEPSI" as in > the > below example? > > thx. > Francois. > ------ > F

Re: [Neo4j] Versioning :)

2010-10-06 Thread Mattias Persson
n versions, or defer to the > grouped release version? > 2. Should the maven version keep in sync with the non-maven version? > > Opinions? > > Cheers, > Andreas > > _______ > Neo4j mailing list > User@lists

Re: [Neo4j] Exception when adding a "Comment" property to a node

2010-10-12 Thread Mattias Persson
;at > > > org.neo4j.index.lucene.LuceneDataSource.getIndexWriter(LuceneDataSource.java:385) > >... 19 more > > > > Is "Comment" as reserved word and are there other reserved words? > > > > Thanks, > > -Paul > > ___ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > > > > > > -- > Tobias Ivarsson > Hacker, Neo Technology > www.neotechnology.com > Cellphone: +46 706 534857 > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] EmbeddedGraphDatabase shutdown leaves a Timer thread running

2010-10-13 Thread Mattias Persson
JVM exited > as > expected (no code change on my end). > > Does anyone have any idea why this is happening? > > Adam > _______ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@ne

Re: [Neo4j] Listing properties on relationships?

2010-10-17 Thread Mattias Persson
.com/peterneubauer > > http://www.neo4j.org - Your high performance graph database. > http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.n

Re: [Neo4j] Listing properties on relationships?

2010-10-17 Thread Mattias Persson
eubauer.peter > Skype peter.neubauer > Phone +46 704 106975 > LinkedIn http://www.linkedin.com/in/neubauer > Twitter http://twitter.com/peterneubauer > > http://www.neo4j.org - Your high performance graph database. > http://www.thoughtmade.com -

Re: [Neo4j] GraphAlgoFactory.pathsWithLength returns paths with loops

2010-10-17 Thread Mattias Persson
; Path: A -> B -> C -> B > > > > > > Please let me know if there's any fault on my side, or if that's a bug. > > > > > > Thanks, > > > Yaniv > > > ___ > > > Neo4j mailing list > > > User@lists.neo4j.

Re: [Neo4j] GraphAlgoFactory.pathsWithLength returns paths with loops

2010-10-17 Thread Mattias Persson
is used for the shortest path calculation as well. So an extra argument in the constructor for ignoring loopy paths when finding paths of a certain length would be the way to go IMO. > > --- Yaniv > > > > On Sun, Oct 17, 2010 at 10:18 PM, Mattias Persson > wrote: > >>

Re: [Neo4j] GraphAlgoFactory.pathsWithLength returns paths with loops

2010-10-18 Thread Mattias Persson
2010/10/18 Yaniv Ben Yosef > Thanks, I figured that.. > Would you be so kind reviewing the code once I finish it? > Sure! > > --- Yaniv > > > > On Mon, Oct 18, 2010 at 8:20 AM, Mattias Persson > wrote: > > > 2010/10/18, Yaniv Ben Yosef : > > > Th

Re: [Neo4j] GraphAlgoFactory.pathsWithLength returns paths with loops

2010-10-18 Thread Mattias Persson
Maven doesn't create a JAR package > of it (the target directory only has classes). Is there a different pom.xml > I should use (I used the one in the root of the component directory)? I > gather it has to be automated somewhere. > > Thanks! > > --- Yaniv > > > &g

Re: [Neo4j] Lucene result sorting

2010-10-19 Thread Mattias Persson
lans regarding this? > > > > Thanks for any hints, > > --- > > balazs > > ___ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > > > __

Re: [Neo4j] Lucene result sorting

2010-10-20 Thread Mattias Persson
ed. The point would be to be able to control the order yourself, I assume? Because I'm guessing it'd be hard to implement something that would be more efficient than the internal Sort stuff in Lucene, however the options are quite limited there... you can just specify which keys to sort

Re: [Neo4j] Lucene result sorting

2010-10-20 Thread Mattias Persson
r than doing this, sorting the Lucene > Documents, which need to be loaded anyway, and then only "converting" > the necessary Documents to Nodes seems more efficient to me. > Absolutely, I agree > --- > balazs > > On 10/20/10 10:09 AM, Mattias Persson wrote: &g

Re: [Neo4j] Code Swarm

2010-10-22 Thread Mattias Persson
, Craig > > > > P.S. If you want to see my own project (a desktop app which embeds Neo4j) > > take a peek at the video at http://www.youtube.com/watch?v=P5gfBzYNum8 > > ___ > > Neo4j mailing list > > User@lists.neo4j.org > > https://li

Re: [Neo4j] GraphAlgoFactory.pathsWithLength returns paths with loops

2010-10-22 Thread Mattias Persson
et me know otherwise. It's in the trunk of the graph-algo component, latest SNAPSHOT, that is. 2010/10/18 Mattias Persson > 2010/10/18, Yaniv Ben Yosef : > > Hi Mattias, > > > > While taking a closer look at the code, I realized there's an > AllSimplePaths > &g

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

2010-10-26 Thread Mattias Persson
> IndexManager indexManager = graphDb.index(); > > System.out.println(indexManager.forRelationships("persons")); > > System.out.println(indexManager.existsForNodes("persons")); //returns > true > > //Getting an error with the following code > > System.out.println(indexManager.forNodes("persons")

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

2010-10-26 Thread Mattias Persson
.out.println( nodes ); > >tx.success(); >} >finally >{ >tx.finish(); >graphDb.shutdown(); >} >} > } > > Cheers, > > /peter neubauer > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

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

2010-10-26 Thread Mattias Persson
ng the lines of graph.index().getAllIndices() ?? > > Thank you, > Marko. > > http://markorodriguez.com > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Per

Re: [Neo4j] Deployment Scenarios

2010-10-26 Thread Mattias Persson
> >> Andreas > >> > >> > >> > >> > >> > >> > >> > >> > >> ___ > >> Neo4j mailing list > >> User@lists.neo4j.org > >> https://lists.neo4j.org/mailman/listinfo/user &g

Re: [Neo4j] LuceneIndexProvider EXACT_CONFIG vs. FULLTEXT_CONFIG

2010-10-26 Thread Mattias Persson
FULLTEXT (2). > So here is the question: Am I not seeing the trick to use them similarly or > are these configurations that different as they seem to be? > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/list

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

2010-10-26 Thread Mattias Persson
.org/mailman/listinfo/user > > References > > 1. mailto:okramma...@gmail.com > 2. http://markorodriguez.com/ > 3. mailto:User@lists.neo4j.org > 4. https://lists.neo4j.org/mailman/listinfo/user > ___ > Neo4j mail

Re: [Neo4j] Deployment Scenarios

2010-10-26 Thread Mattias Persson
t; > Sure, that'll work > > > On Oct 26, 2010, at 12:10 PM, Mattias Persson wrote: > > > Good visualization! > > > > One thing: in scenario #7 I'd like the App to access the "User REST" > > directly in addition (or instead of) just &

[Neo4j] How to create an index

2010-10-26 Thread Mattias Persson
ith( personIndex ); If you don't have a place where such initialization occurs for each startup, making sure all your needed indexes are created if they do not exist. Input on this, anyone? -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

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

2010-10-26 Thread Mattias Persson
> >> > >> http://markorodriguez.com > >> http://gremlin.tinkerpop.com > >> > >> > >> > >> ___ > >> Neo4j mailing list > >> User@lists.neo4j.org > >> https://lists.neo4j.org/mailman/listinfo/user > >> > > ___ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Neo4j tutorial

2010-10-26 Thread Mattias Persson
info/user > > > -- > Axel Morgner > Creative Solutions - Software Engineering > GUI& UX Design - Project Management > > c/o inxire GmbH > Hanauer Landstr. 293a > 60314 Frankfurt > Germany > > Phone +49 151 40522060 > E-mail axel at morgner.de > Web http://morgner.de > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

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

2010-10-26 Thread Mattias Persson
ache.org/java/docs/index.html>and another using Babudb <http://code.google.com/p/babudb/> or whatever (controlled by the "provider" key in the config map at creation of the index). > > Thank you for your time, > Marko. > > http://tinkerpop.com > ___

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

2010-10-27 Thread Mattias Persson
you, > Marko. > > http://markorodriguez.com > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnolo

<    2   3   4   5   6   7   8   9   10   11   >