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] 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] 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-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-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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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-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] 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] 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] 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] 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] 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] 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] 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] 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] 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
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
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] 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] 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] 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] 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] 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] 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] 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] 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

[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] 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

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] 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
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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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-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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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-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] 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] 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] 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] 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] how to self define node?

2010-07-23 Thread Mattias Persson
4j.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] Lucene and sorting results

2010-07-20 Thread Mattias Persson
others able to use this? Am I doing something wrong? > > Maybe I should just wait until your changes go in? > > Thanks, > Andrew. > > On Tue, Jul 20, 2010 at 12:38 PM, Mattias Persson < > matt...@neotechnology.com > > wrote: > > > Sorting by relevance is

Re: [Neo4j] Lucene and sorting results

2010-07-20 Thread Mattias Persson
-------- > "Web-Based Property Management Software Made Easy." > ___ > 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] Query for combination of properties

2010-07-19 Thread Mattias Persson
nted as an additional service? > --- > balazs > > On 7/8/10 4:11 PM, Mattias Persson wrote: > > No, (lucene) indexing won't be implemented into getRelationships (it > would > > totally break performance). However there are possibilities to create > some > >

Re: [Neo4j] Neo4j Tuning for specific application

2010-07-16 Thread Mattias Persson
interface or the EmbeddedGraphDatabase implementation in particular? > > > > From: Mattias Persson > To: Neo4j user discussions > Sent: Fri, July 16, 2010 5:53:08 PM > Subject: Re: [Neo4j] Neo4j Tuning for specific application > > 2010/7

Re: [Neo4j] Neo4j Tuning for specific application

2010-07-16 Thread Mattias Persson
=120M > neostore.relationshipstore.db.mapped_memory=5G > neostore.propertystore.db.mapped_memory=100M > neostore.propertystore.db.strings.mapped_memory=200M > neostore.propertystore.db.arrays.mapped_memory=0M > > What's the problem?! > > > > > From: Mattias Persson

Re: [Neo4j] EmbeddedReadOnlyGraphDatabase vs. EmbeddedGraphDatabase

2010-07-16 Thread Mattias Persson
DB + Index)? > > > > > _______ > 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] Question about ID indices...

2010-07-15 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.neotechnolog

Re: [Neo4j] neo4j REST server standalone

2010-07-15 Thread Mattias Persson
t will try to open that graph database in the shell client JVM. If you skip that -path option it will try to connect via RMI to a remotely enabled shell server instead and you'll get a remote client with read/write capabilities. See more information about this over at http://wiki.neo4j.org/con

Re: [Neo4j] getProperty returning wrong value

2010-07-13 Thread Mattias Persson
Ah, great you found the problem! 2010/7/13, Tim Jones : > > > > > - Original Message > From: Mattias Persson > To: Neo4j user discussions > Sent: Tue, July 13, 2010 2:57:33 PM > Subject: Re: [Neo4j] getProperty returning wrong value > > 2010/7/13,

Re: [Neo4j] getProperty returning wrong value

2010-07-13 Thread Mattias Persson
// > > // the Route class: > public static final String COUNT = "count"; > public Integer getCount() > { > return (Integer)node.getProperty(COUNT); > } > > //////// > > > > > __

Re: [Neo4j] Changes in Traversal-API: Predicate -> Predicate?

2010-07-12 Thread Mattias Persson
e the node I'm supposed to look at when filtering during >> > traversal? >> > >> > Thanks, >> > Christian >> > ___ >> > 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 Tuning for specific application

2010-07-10 Thread Mattias Persson
st one by using sublist's. > - You're retrieving the reference node for each iteration, rather than > just once outside the loop in fillNodes. > - Why are you converting the weight-property to a string, to then > convert it to a Doub

Re: [Neo4j] OutOfMemory while populating large graph

2010-07-10 Thread Mattias Persson
nce the population is finished, the final commit is done, and the graph > db > > closed - the heap stays like that - almost full. An explicit gc will > clean > > up some part, but not fully. > > > > Arijit > > > > On 9 July 2010 17:00, Mattias Persson wr

Re: [Neo4j] Is it possible to count common nodes when traversing?

2010-07-09 Thread Mattias Persson
(node) ) { 2010/7/9 Mattias Persson > Just to notify you guys on this... since as of now (r4717) the > TraversalFactory class is named Traversal instead, so code would look like: > > for ( Node currentNode : TraversalFactory.description() > > .breadth

Re: [Neo4j] Is it possible to count common nodes when traversing?

2010-07-09 Thread Mattias Persson
(MyRelationships.SIMILAR) .relationships(MyRelationships.CATEGORY) .prune(TraversalFactory.pruneAfterDepth(2)).traverse(node) ) { 2010/7/8 Mattias Persson > Your problem is that a node can't be visited more than once in a traversal, > right? Have you looked at the new traversal frame

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