Linan,
that is actually exactly what Neo4j is doing. Indexing is done via the
Index Framework, that makes external indicies like Lucene, Redas,
BabuDB etc conform to transactional semantics in order to keep
consistent between the Neo4j graph engine kernel and the indecies. See
Hi Linan,
anyone show some love ;)
Generally 10 questions have a better chance of getting answered if they are 10
separate threads. It's much easier to follow that way.
-- Tatham
___
Neo4j mailing list
User@lists.neo4j.org
Hi!
2011-09-01 03:29, Linan Wang:
2, does index operation add/remove/modify threadsafe, don't need
lock/transaction?
3, does it simple property writing operations also need to be wrapped
inside transaction? if so, in the imdb exmaple
tutor/domain/MovieImpl.java underlyingNode.setProperty is
Hi anders,
thanks for the clarification.
On Fri, Sep 2, 2011 at 8:32 AM, Anders Nawroth and...@neotechnology.com wrote:
Hi!
2011-09-01 03:29, Linan Wang:
2, does index operation add/remove/modify threadsafe, don't need
lock/transaction?
3, does it simple property writing operations also
Hi!
All modifying operations need to be performed inside a transaction. In
most cases it makes sense to perform multiple operations in a single
transaction. For example in a web application it may be a good fit to
wrap the handling of one request in a transaction. So if a method
doesn't
hi
On Fri, Sep 2, 2011 at 10:18 AM, Anders Nawroth
and...@neotechnology.com wrote:
Hi!
All modifying operations need to be performed inside a transaction. In
most cases it makes sense to perform multiple operations in a single
transaction. For example in a web application it may be a good
Hi!
Seems like the node and index modifications belong in the same
transaction, to make sure any modifications to nodes are always
reflected in the indexes as well. Otherwise they could get out of sync
if your application crashes after the commit of the first,
node-modifying transaction.
it
great. i thought transaction only applies to nodes operations. seems
it also including indexing. it's handy!
other 9 questions? :)
On Fri, Sep 2, 2011 at 12:55 PM, Anders Nawroth
and...@neotechnology.com wrote:
Hi!
Seems like the node and index modifications belong in the same
transaction, to
Oh, I didn't see this:
(use twitter example: my followees' followers)
Then the query I provided in the previous email:
g.v(1).out('livesIn').sideEffect{city =
it}.back(2).out.out.filter{it.out('livesIn').next().equals(city)}.groupCount(age){it.age}.groupCount(gender){it.gender}
in context:
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-10-questions-tp3300093p3302418.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org
of a movie should be modelled as relationship since every year
lots
of movies are produced.
--
View this message in context:
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-10-questions-tp3300093p3302418.html
Sent from the Neo4j Community Discussions mailing list archive
are produced.
--
View this message in context:
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-10-questions-tp3300093p3302418.html
Sent from the Neo4j Community Discussions mailing list archive at
Nabble.com.
___
Neo4j mailing list
hi,
got some questions not found simple answers from the documents. i bet
some of them are pretty primitive, bear with me please.
1, what's the general rule for choosing properties or relationship?
say a User lives in a City, which just contains a simple int id
value. to find users live in a
13 matches
Mail list logo