quot;.
> This is necessary when the data is iterated over using pagination and the
> order determines what the next start node is next.
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinf
neo4j than "drop" I suppose.
>>
>> Thank you,
>> Marko.
>>
>> http://markorodriguez.com
>> http://gremlin.tinkerpop.com
>> _______
>> Neo mailing list
>> User@lists.neo4j.org
>> https://lists.neo4
dware (raid) you may get a higher insert/update
>> speed. Batch inserter mode does not support concurrent updates.
>
> yes
>
>>
>> Regards,
>> -Johan
>
> Thanks. Any other tips on concurrency are very appreciated.
>
> best regard,
> strozzino
&
);
> --
> Tobias Ivarsson
> Hacker, Neo Technology
> www.neotechnology.com
> Cellphone: +46 706 534857
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
> _______
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
the information would be
> guaranteed.
The upside is, as you say, that you get all these nice things such as
consistency for free... as well as that it automatically tags along in
online backup and all such things, which is quite nice.
>
> /Tobias
>
> On Tue, Jan 5, 2010 at 9:34 AM, M
hone: +46 706 534857
> _______
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
where key < value.
>
> Appreciate your help.
>
> Zerony
> ___________
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
0 TO 1]" ) will returns node with "somekey" value such as 1, 11, 111
> supposing having 1, 11, 111, but I only want returning 1 exactly. I know one
> of solution is using padding scheme to solve the problem. Is there any other
> ways to solve the problem?
>
> On Sun, Jan
n the graph?
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
___
Neo mailing list
Although they use the "neo" component, they should be updated to use
the "neo4j-kernel" component... I'll fix soon
2010/1/12 Mattias Persson :
> There's some classes I usually use (fits me, since I wrote them :) ).
> They are in https://svn.neo4j.org/laboratory
nd use Spring injection, but what if you don't?
>
> You do it the Oracle(tm) way : buy more ram :)
>
> --
> Laurent "ker2x" Laborde
> Sysadmin & DBA at http://www.over-blog.com/
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
>> Neo mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>>
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
de the transanctional scope. This is the
>> same
>> issue you find with hibernate with LazyInitExceptions when you call
>> to read
>> outside of a session.
>>
>> On Jan 12, 2010 2:28 AM, "Mattias Persson"
>> wrote:
>>
>> Your code doesn't ne
gt; --
> Laurent "ker2x" Laborde
> Sysadmin & DBA at http://www.over-blog.com/
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, w
t; On Jan 12, 2010 8:06 PM, "Mattias Persson"
> wrote:
>
> Lucene supports *something*, but not from the query syntax (how odd is
> that?)... what you can do is to subclass
> LuceneFulltextQueryIndexService and @Override the formQuery method
> with something like:
>
> reading, it will have to be split up into multiple transaction blocks.
>>
>> Ryan
>>
>> On Jan 12, 2010, at 5:28 AM, Mattias Persson wrote:
>>
>>> Your code doesn't need to be littered with transaction management. You
>>> can have a very bi
> System.out.println(node1.getId());
> Iterable knows = node1.getRelationships();
> for (Relationship know : knows)
> {
> Node friend_node = know.getOtherNode(node1);
> System.out.println("\t" + friend_node.getProperty("name"));
> }
> neo.shutdown();
> }
>
> private static enum MyRel
FYI, I've implemented such functionality in IndexService (and
LuceneIndexService), i.e added methods:
removeIndex( Node node, String key )
and
removeIndex( String key )
They will be merged into trunk soon after 1.0 release.
2010/1/4 Mattias Persson :
> 2010/1/4 Taylor Cowan :
>>
You found your answers in another thread, right?
2010/1/12 Mattias Persson :
> That's strange, let me have a look at it... I'll try such an example
> and see if I can figure out why it isn't working!
>
> 2010/1/12 Zerony Zhao :
>> Thanks for your reply.
>>
have title=Directory and name=Larry
> Wachowski? The equivalent lucene query would be:
> +title:Director +name:"Larry Wachowski"
>
> I know you can do this in the ruby version of neo, but I am using the java
> version. Would I have to extend the LuceneIndexService and add t
;>>> Inserts, Updates, Cache etc...
>>>> ___
>>>> Neo mailing list
>>>> User@lists.neo4j.org
>>>> https://lists.neo4j.org/mailman/listinfo/user
>>>>
>>>
>>>
>>>
&
This can however be done using the "natural index" of the graph, in
that you query for one property and for each hit you traverse the
graph to see if the rest matches. That's more of a "graphy" thinking
in my book.
2010/1/18 Mattias Persson :
> Currently that
/neo4j/util/index/SimpleIndexHits.java
>
> So no wonder there is a problem.
>
> Anybody else have this issue?
>
> Is anybody able to use the indexing component successfully?
>
> Thanks for your help.
>
>
>
>
> Cheers,
> Lach
> ________
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
the index with the
> Embedded neo mode?
> In the batch mode we have the optimize() method in the BatchInserter ...
> I have to do manually?
>
> best regards
> Lorenzo
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.
ory because it could take a little bit to complete
>
>
> On Thu, Jan 21, 2010 at 4:24 PM, Mattias Persson
> wrote:
>> Unfortunately you can't do it in the LuceneIndexService... but I'd
>> guess that it could be exposed in some form, or that it could be
>>
; Nathan Marz
> Twitter: @nathanmarz
> http://nathanmarz.com
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotec
o the life span of this bug is quite short.
Hopefully it won't cause too much trouble along the way.
2010/1/22 Mattias Persson :
> A simple fix is to use the IndexHits instance as an Iterable (as
> opposed to an Iterator)... by doing that the problem goes away (it's
> also ok to us
man/listinfo/user
>
> References
>
> 1. https://lists.neo4j.org/mailman/listinfo/user
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
ng, but a thing none the less. Agree? Keep up
> the good work :)
>
> -David
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neot
ng some data in edges that I need.
>
> --
> Nathan Marz
> Twitter: @nathanmarz
> http://nathanmarz.com
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias
ble?
> --
> Regards,
> Subhash Chandran S
>
> http://indiwiz.com/
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Techn
he code in front of me currently but I just wanted to mention
>> that implementing and using such an approach wasn't too hard at all.
>>
>> best,
>> Jonny
>>
>> On Mon, Jan 25, 2010 at 12:03 AM, Subhash Chandran wrote:
>>
>>> Thanks for lett
ost of both traversals may exceed the limit while the
> individual cost is still under limit.
>
> I have attached a patch with the added test that fails.
> Also it would be great to rename the test sub-package from shortestPath to
> shortestpath (same as the source package) because
xWriter.java:4192)
> at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:4183)
> at
> org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:2190)
> at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:2153)
> at org.apache.lucene.in
2010/1/26 Symeon (Akis) Papadopoulos :
> Mattias Persson wrote:
>> Ah, do you make sure you call IndexHits#close() on your results from
>> getNodes(), alternatively iterating over the whole result (in which
>> case it's automatically closed)?
>>
> Actually I&
actionImpl.java:102)
>>>>> at
>>>>> org.neo4j.kernel.EmbeddedGraphDbImpl$TransactionImpl.finish(EmbeddedGraphDbImpl.java:316)
>>>>> ... 5 more
>>>>> Caused by: java.io.IOException: directory '/[some-local-path]/resource_id'
>>>>> exists and is a directory, but cannot be listed: list() returned null
>>>>> at
>>>>> org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:516)
>>>>> at
>>>>> org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:531)
>>>>> at
>>>>> org.apache.lucene.index.IndexFileDeleter.refresh(IndexFileDeleter.java:307)
>>>>> at
>>>>> org.apache.lucene.index.IndexWriter.doFlushInternal(IndexWriter.java:4300)
>>>>> at
>>>>> org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:4192)
>>>>> at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:4183)
>>>>> at
>>>>> org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:2190)
>>>>> at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:2153)
>>>>> at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:2117)
>>>>> at
>>>>> org.neo4j.index.lucene.LuceneDataSource.removeWriter(LuceneDataSource.java:409)
>>>>> ... 14 more
>>>>>
>>>>>
>>>>> ___
>>>>> Neo mailing list
>>>>> User@lists.neo4j.org
>>>>> https://lists.neo4j.org/mailman/listinfo/user
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>> ___
>>> Neo mailing list
>>> User@lists.neo4j.org
>>> https://lists.neo4j.org/mailman/listinfo/user
>>>
>>>
>>
>>
>>
>>
>
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
her jar file or archive that i need to download? or is my
>> imports wrong?
>>
>> any suggestion would be much appreciated
>>
>> --
>>
>> Francis
>> ___
>> Neo mailing list
>> User@lists.neo4j.org
>> https://lists.neo
Thanks,
>> Marko.
>>
>> http://markorodriguez.com
>> http://tinkerpop.com
>>
>> ___
>> Neo mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>>
>
>
>
> --
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 mailing list
> User@list
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 1
;at
>>>>>>> org.neo4j.kernel.impl.transaction.TransactionImpl.doCommit(TransactionImpl.java:514)
>>>>>>>at
>>>>>>> org.neo4j.kernel.impl.transaction.TxManager.commit(TxManager.java:573)
>>>>>>>at
>>>>>>> org.neo4j.kernel.impl.transaction.TxManager.commit(TxManager.java:543)
>>>>>>>at
>>>>>>> org.neo4j.kernel.impl.transaction.TransactionImpl.commit(TransactionImpl.java:102)
>>>>>>>at
>>>>>>> org.neo4j.kernel.EmbeddedGraphDbImpl$TransactionImpl.finish(EmbeddedGraphDbImpl.java:316)
>>>>>>>... 5 more
>>>>>>> Caused by: java.io.IOException: directory
>>>>>>> '/[some-local-path]/resource_id'
>>>>>>> exists and is a directory, but cannot be listed: list() returned null
>>>>>>>at
>>>>>>> org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:516)
>>>>>>>at
>>>>>>> org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:531)
>>>>>>>at
>>>>>>> org.apache.lucene.index.IndexFileDeleter.refresh(IndexFileDeleter.java:307)
>>>>>>>at
>>>>>>> org.apache.lucene.index.IndexWriter.doFlushInternal(IndexWriter.java:4300)
>>>>>>>at
>>>>>>> org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:4192)
>>>>>>>at
>>>>>>> org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:4183)
>>>>>>>at
>>>>>>> org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:2190)
>>>>>>>at
>>>>>>> org.apache.lucene.index.IndexWriter.close(IndexWriter.java:2153)
>>>>>>>at
>>>>>>> org.apache.lucene.index.IndexWriter.close(IndexWriter.java:2117)
>>>>>>>at
>>>>>>> org.neo4j.index.lucene.LuceneDataSource.removeWriter(LuceneDataSource.java:409)
>>>>>>>... 14 more
>>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>>> Neo mailing list
>>>>>>> User@lists.neo4j.org
>>>>>>> https://lists.neo4j.org/mailman/listinfo/user
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>> ___
>>>>> Neo mailing list
>>>>> User@lists.neo4j.org
>>>>> https://lists.neo4j.org/mailman/listinfo/user
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>> ___
>>> Neo mailing list
>>> User@lists.neo4j.org
>>> https://lists.neo4j.org/mailman/listinfo/user
>>>
>>>
>>
>>
>>
>>
>
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
ene.LuceneTransaction.doCommit(LuceneTransaction.java:197)
>>>>>>>> at
>>>>>>>> org.neo4j.kernel.impl.transaction.xaframework.XaTransaction.commit(XaTransaction.java:316)
>>>>>>>> at
>>>>>>>
"too many
open files" issue. And I'm almost 100% sure that it will be resolved
if you increase the span of your transactions.
2010/1/29 Mattias Persson :
> I see that you're not using the Neo4j BatchInserter. Your use case
> could definately benefit from it. Take a loo
(Sorry for spamming you guys)
See http://wiki.neo4j.org/content/Transactions for general information
about how to manage transactions in Neo4j.
2010/1/29 Mattias Persson :
> Another problem I see is that you're having too granular transactions
> which will slow down the insertion proc
2010/1/29 Symeon (Akis) Papadopoulos :
> Mattias Persson wrote:
>> Another problem I see is that you're having too granular transactions
>> which will slow down the insertion process quite a bit. Try grouping a
>> couple of thousands operations in one transaction and y
g node, String key, Object
> value ) applies for Nodes only.
>
> 2010/1/28 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.
>>
hat's
not necessary though.
2010/1/29 Mattias Persson :
> 2010/1/29 Symeon (Akis) Papadopoulos :
>> Mattias Persson wrote:
>>> Another problem I see is that you're having too granular transactions
>>> which will slow down the insertion process quite a bit. Try gro
of annoying in situations like this
:)
>
>
>> You could update to the latest neo4j-kernel as well, but maybe that's
>> not necessary though.
>>
> We'll first try out to update just the neo-index.
> If we face more problems we'll proceed with the kern
Now it's available at
http://m2.neo4j.org/org/neo4j/neo4j-index/1.0-SNAPSHOT/neo4j-index-1.0-20100129.143758-4.jar
2010/1/29 Mattias Persson :
> 2010/1/29 Symeon (Akis) Papadopoulos :
>>
>>> I just fixed the bug and your benchmarks run fine w/o any modification
>>&g
way here on the
mailing list if you asked!
>
> -- Forwarded message --
> From: Anton Popov
> Date: 2010/1/29
> Subject: Re: [Neo] Relation properties
> To: Neo user discussions
>
>
> Hello Mattias,
>
> Got it. Thanks.
> Is there any RoadMap
ed interface.
>>
>> Hope this is useful
>>
>> Jonny
>>
>> ___
>> Neo mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>>
>>
> __
_
>> Neo mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>>
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
y to set my own id'es for Relations?
>> Only Nodes has such functionality - am I right?
>>
>> -- Forwarded message --
>> From: Anton Popov
>> Date: 2010/1/29
>> Subject: Re: [Neo] Relation properties
>> To: Neo user discussions
>>
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
it out.
>>
>> http://www.vizatweet.com/
>>
>> Matt
>> ___
>> Neo mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>>
> _
____________
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
And also (regarding the UriBasedExecutor class) the "rdf" component is
still called "rdf", but the maven artifact id is called "neo4j-rdf".
Do you depend on the latest (and greatest) "neo4j-graph-matching" and
"neo4j-rdf" components?
2010/2/3
it takes to commit the transaction in those 57ms? Would it be ok
if you could post a piece of your code which handles this?
>
> Many thanks in advance,
>
> Best regards,
>
> Maria Giatsoglou
> ___
> Neo mailing list
e node-type query and processing.
>
> --
>
> Francis
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
__
t;> Neo mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>>
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
Compass looks quite nice with its simplified lucene API and support
for transactions, so it could might as well be a very good fit to have
as an IndexService implementation. Your implementation hasn't got
transaction support or am I wrong about that?
2010/1/31 Mattias Persson :
> Yep
r
> Twitter http://twitter.com/peterneubauer
>
> http://www.neo4j.org - Relationships count.
> http://gremlin.tinkerpop.com - PageRank in 2 lines of code.
> http://www.linkedprocess.org - Computing at LinkedData scale.
>
>
>
> On Sun, Jan 3, 20
t
>> org.neo4j.api.core.EmbeddedNeoImpl.(EmbeddedNeoImpl.java:68)
>> > at org.neo4j.api.core.EmbeddedNeo.(EmbeddedNeo.java:49)
>> >
>> > A workaround is to manually remove the transactions logs
>> >
>> > active_tx_log
>> > tm_tx_lo
to port to RC1 if we are trying to use graph-algos
> or stay on the old stuff?
>
> Thanks
> Todd
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [
ation errors scare you. :)
>
> Regards,
> Todd
>
Excellent, that's the spirit!
>
>
> On Sat, Feb 6, 2010 at 5:14 PM, Mattias Persson
> wrote:
>> which version are you using? If you're using maven then that component
>> have changed name to (artifactId) neo4j-g
420)
>
>
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
>
>
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
to define a property in every node, say "nodetype", with
> the appropriate value for every node.
>
> First way seems to be more correct for me, but Im concerning that there
> will be a millions of relations to a single node - is this OK for the
> database performance and deficiency (mill
find that one relationship each time you
request it and that node isn't present in the cache at the moment
(since relationships aren't sorted on disk by type). That should
probably be your only concern.
>
> Dmitri
>
>
> Mattias Persson wrote:
>> 2010/2/8 Rick Bullotta
find that one relationship each time you
request it and that node isn't present in the cache at the moment
(since relationships aren't sorted on disk by type). That should
probably be your only concern.
>
> Dmitri
>
>
> Mattias Persson wrote:
>> 2010/2/8 Rick Bullotta
ips.
>>
>> Did I miss something or should we consider this a bug?
>>
>> Regards,
>> Stefan
>> ___
>> Neo mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
t; the relationships and remove them.
> Not a big deal because we wrap many other operations but something
> that would nice to have out of the box.
>
> 2010/2/9 Mattias Persson :
>> Yep, that's right... The documentation is a bit unclear/untrue about
>> that. Ryan is ri
ossible so that potential code bugs aren't hidden, but instead
surfaces as early as possible.
2010/2/10 Mattias Persson :
> I don't think that's a very good idea to have as a default behaviour
> since potentially the entire graph is interconnected (and that it
> isn't jus
for the node
> Roolback the transaction
>
> Will the index be rolled back as well? Or do I have to manually remove
> the index entry?
>
> Best regards,
> Thomas
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://
ore using
> indexservice.getNodes(), so I assume node.delete() also removes the
> index entries. Can someone please confirm this?
>
> Regards & thx in advance,
> Stefan
>
>
> ___
> Neo mailing list
> User@lists.neo4j.org
>
> Any thoughts on this?
>
> Best Regards,
> Thomas
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
___
better that the
> IndexService uses the common shared interface PropertyContainer instead
> of Node? What is the reason for this design decision?
There has been a lot of requests for that and it's consider for
inclusion in a future version.
>
> Regards,
> Stefan
>
> Ma
tween comparing using equals
> and toString().
>
> Best regards,
> Thomas
>
> On Fri, Feb 12, 2010 at 11:43 AM, Mattias Persson
> wrote:
>> Yep the answer is simple, it does a .toString() on the object and
>> stores that string (since Lucene handles only strin
it is in
> the WebApp's context listener.
>
>
>
> Any thoughts?
>
>
>
> Thanks,
>
>
>
> Rick
>
>
>
> ___________
> Neo mailing list
> User@lists.neo4j.org
> https://li
on in javadoc for VerboseQuadStrategy about that and they use
the index key "uri" to index and lookup resource nodes.
>> Thank you,
>> Luda
>> ___
>> Neo mailing list
>> User@lists.neo4j.org
>> https://lists.n
CPU cycles to spare and would like
to participate and make Neo4j better consider running this test and
hopefully improve it somehow... or even create more/other tests which
could trigger problems regarding the robustness of Neo4j.
--
Mattias Persson, [matt...@neotechnology.com]
.
>
>
> Thanks in advance!
>
>
>
> [1] http://blog.neo4j.org/2010/02/top-10-ways-to-get-to-know-neo4j.html
> _______
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mat
I've included some first thoughts on how you could model this. The
choice of properties/index vs. relationships is often quite obvious,
but is some cases you'll have to try and see which fits best. But
neo4j encourages you to create relationships if you're in doubt and
it's often better to use more
> Class relationship and Student
> Class relationship). Did I understand you correct?
>
>
>
> Rick
>
>
>
> ---- Original Message
> Subject: Re: [Neo] Choosing between a property or a node
> From: Mattias Persson
> Date: Fri, Fe
relationship) ids are internal and you could rely on
an IndexService (see http://components.neo4j.org/neo4j-index/) for
lookups about other properties, f.ex. "uri" or "username" or such.
>
>
> Thanks,
> Sunil
>
> --
> Sr. Software Architect
> Center of Exce
2010/2/19 Jeremy Day :
> Mattias,
>
> Could you do something like Student --> Autumn 2009 --> Math A ? You could
> then easily also have Teacher --> Autumn 2009 --> Math A.
Absolutely, that could definately work as a model.
>
> Jeremy
>
> On Fri, Feb 19, 2010
ncato :
> Thanks Mattias! It worked like a charm!!
>
> When I tried before, I never configured maven to search in neo4j's
> repositories.
>
> Thanks a lot :-)
>
>
>
> 2010/2/19 Mattias Persson :
>> Great to hear!
>>
>> So, if we try to take java o
>> I think the limitation is more related to the size of the transaction.
>> Less transactions = faster inserts = more memory
>> Just a guess though, not sure what your code looks like.
>> We have been able to import millions of nodes with small heaps committing
>> in
>> small batches.
Yep, that's
ve not seen this until we have upgraded to
> the latest version.
>
> Thanks in advance!
>
> Raul
> _______
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.co
"+(String)idNodeMaxDegree.getProperty("ID_TITLE"));
> System.out.println("Title =
> "+(String)idNodeMaxDegree.getProperty("NAME"));
> System.out.println("#refs = "+maxDegree);
/23 Mattias Persson :
> I see that you're using an older version of Neo4j. Have you tried using 1.0?
>
> http://components.neo4j.org/neo4j-kernel
> http://neo4j.org/download
>
> Maven
> groupId: org.neo4j
> artifactId: neo4j-kernel
> version: 1.0
>
> ...and
#x27;m too tired to figure out what should
> be an easy exception handling scenario.
>
>
>
> Thanks
>
>
>
> Rick
>
>
>
> ___
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
2010/2/24 Sumanth Thikka :
> Hi Mario,
>
> Thanks for your reply.
>
> My requirement is to avoid duplicates. For that, do we need to find the
> nodes with the same value and avoid inserting, as it is mentioned or any
> alternative(optimized) ways known to do this?
The best way is probably to use an
2010/2/24 Rick Bullotta :
> Anyone?
Rick, did you get my answer? If not I could post it again
/ Mattias
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
Just to clarify, no need to call tx.success() if my transaction is read
> only, correct?
Well... technically no, but there's no benefit in leaving out tx.succes()
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
_
The "index" command is quite new and not very tested or polished so
please come back with feeback if there's something you feel could be
improved!
2010/2/25 Gutemberg Vieira :
> Ok Mattias,
>
> Thank you! Now, it works.
>
> --
> Gutemberg
>
> On Thu, F
re it out!
>
> --
> Gutemberg
> ___________
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
Transaction tx = neoService.beginTx();
try {
result = invocation.proceed();
tx.success();
return result;
} catch (DeadlockDetectedException e) {
log.debug("deadlock detected for invocation " + invocation
really go away.
In most cases you can just have a MyFileUtils.deleteDirectory(
"my/neo4j-db" ) before instantiating your EmbeddedGraphDatabase
instance, but that's probably what you're trying to get away from :) ?
--
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
301 - 400 of 1155 matches
Mail list logo