On Tue, Jun 14, 2011 at 12:56 PM, Johan Svensson
jo...@neotechnology.com wrote:
Hi,
Looks like there was an OOME during commit but commit partially
succeeded (removing the xid branch id association for the xa resource)
causing the subsequent rollback call to fail. To guarantee consistency
The source for the plugin: http://pastebin.com/hWs7NSqd
And the log message: http://pastebin.com/JrSpxgpp
It only says that failed to mount the plugin, but do not say why.
Thanks.
Milena.
On Wed, Jun 15, 2011 at 7:08 PM, Michael Hunger
michael.hun...@neotechnology.com wrote:
I agree with
From
http://components.neo4j.org/neo4j/1.4.M04/apidocs/org/neo4j/graphdb/Transaction.html
I read:
... Read operations inside of a transaction will also read
uncommitted data from the same transaction.
So does my understanding that if I create a Node or a Relationship and
then add it to an
2011/6/12 Marko Rodriguez okramma...@gmail.com
Hi,
In Gremlin (http://gremlin.tinkerpop.com), you can do:
startSet = [ ... ] // fill an array/set with leaves.
startSet.in.sideEffect{it.myProperty = 'blah'}.loop(2){true}
In this code, it assumes no cycles in the graph and
Milena,
I can see here that the plugin is not loaded. Fixing more verbose
logging around Plugin loading to see more details in the logs.
Stay tuned ...
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn
Hi!
I have succesfully build the neo4j-community as described on
https://github.com/neo4j/community with mvn clean install.
But I could not find any bin/neo4j as in the milestone-download.
How do I start the server now? What am I missing?
Regards,
Tobias Bradtke
Milena,
better logging and docs is now added around Plugins,
https://github.com/neo4j/community/commit/325f49a5d458bd124ffdb6516c9c7d6d06903617
The problem is, your @PluginTarget is Node, your @Source is
GraphDatabaseService. They need to be the same, so you should change
to
@Description( A
Tobias,
the final artifacts are produced in
https://github.com/neo4j/packaging/tree/master/standalone/, using the
local artifacts you just produced in the community build.
Could you try building that and report back?
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Or if you just want to try out your local changes, go to
community/server
and do:
mvn exec:java
See:
http://mojo.codehaus.org/exec-maven-plugin/
/anders
2011-06-16 12:09, Peter Neubauer skrev:
Tobias,
the final artifacts are produced in
I don't know your use case at all, but one of the benefits you get with
traversing compared to index lookups is that one hop from a node to another
is instantaneous ( 1 million hops / second on a fully cached graph),
whereas index lookups are several order of magnitudes slower than that. But
Peter,
Now it works perfectly !
Thanks :]
Milena.
On Thu, Jun 16, 2011 at 12:05 PM, Peter Neubauer
peter.neuba...@neotechnology.com wrote:
Milena,
better logging and docs is now added around Plugins,
https://github.com/neo4j/community/commit/325f49a5d458bd124ffdb6516c9c7d6d06903617
The
Thanks a lot! Both approaches worked for me.
On Thu, Jun 16, 2011 at 12:13 PM, Anders Nawroth
and...@neotechnology.com wrote:
Or if you just want to try out your local changes, go to
community/server
and do:
mvn exec:java
2011-06-16 12:09, Peter Neubauer skrev:
Tobias,
the final artifacts
You could just use the direct repository factory for that.
directGraphRepositoryFactory.createGraphRepository(clazz).findAll()
normally you would have a
interface PersonRepository extends GraphRepositoryPerson {}
and get this injected.
@Autowired PersonRepository personRepository;
Hi,
I think what he's
asking for is just to collect properties along the way.
Yea. You are right he said adding a name property to a list.
In Gremlin, if you are still interested:
x = [ ] // return list
startSet = [ ... ] // fill an array/set with leaves
You say that you will store mostly strings and that you only have one
relationship type. Feels to me that you're trying to treat neo4j as nothing
more than a bucket for tossing in your data and using lucene to search and
retrieve everything. What's the real use case you're having? If you
You could possibly introduce a concept of purchase, which also would be
nodes. Like this:
(user1)--purchased--(p1)--from_shop--(shop1)
|
product
|
v
I'm glad to hear that it worked :)
2011/6/15 Rick Bullotta rick.bullo...@thingworx.com
Done!
- Reply message -
From: Mattias Persson matt...@neotechnology.com
Date: Wed, Jun 15, 2011 7:14 am
Subject: [Neo4j] In-graph Timeline index and Neo4j 1.4
To: Neo4j user discussions
please give the maven repository information from where it can be downloaded.
On Thu, Jun 16, 2011 at 6:50 PM, Michael Hunger
michael.hun...@neotechnology.com wrote:
You could just use the direct repository factory for that.
directGraphRepositoryFactory.createGraphRepository(clazz).findAll()
Yes, you're probably right in that instead POSTing with a payload of key,
value and entity would provide the functionality needed here. It's a ticket
at least and hopefully it will be fixed soon.
2011/6/15 Rick Bullotta rick.bullo...@thingworx.com
Depends I would think on how you are
Basically, I'm trying to implement rules engine in neo4j and I think that
pattern matching would be the right way to find the rule. But I really don't
know how to do that in Cypher or even in PatternMatching.
This is my graph
(customers)---[:applies]--(rules)
It was surprisingly easy. Still learning/finding the limitations of Lucene, but
the ability to pass a native Lucene query to the Neo index query function is
awesome. Thanks for putting it in there. ;-)
-Original Message-
From: user-boun...@lists.neo4j.org
repository
idspring-maven-milestone/id
nameSpring Maven Milestone Repository/name
urlhttp://maven.springframework.org/milestone/url
/repository
dependency
groupIdorg.springframework.data/groupId
artifactIdspring-data-neo4j/artifactId
version1.1.0.M1/version
Hi Neo4j people,
For those that use TinkerPop (http://tinkerpop.com), there was a stack release
yesterday. The biggest changes were in:
1. Blueprints' Neo4jGraph (transaction/thread handing)
2. Gremlin (graph pattern matching and named steps)
3. Rexster (rexster-kibbles
Hi there,
Your images are difficult to read on gmail. A gif might help. :)
I'm not quite certain on what is not working. In Cypher, your question would
look something like this:
START rules=(0)
MATCH (subReference
)-[:APPLIES]-(rules)-[:RULE]-(rule)-[r,:LESS_THAN]-(answer)
WHERE r.Threshhold 0
Thanks for the reply, sorry the DatabaseHelper is just my class to get an
index of a node. :)
Will try that soon, Thanks very much.
--
View this message in context:
http://neo4j-user-list.438527.n3.nabble.com/I-m-really-stuck-in-PatternMatching-tp3072170p3072365.html
Sent from the Neo4J User
Hi Massimo,
2011/6/16 Massimo Lusetti mluse...@gmail.com
From
http://components.neo4j.org/neo4j/1.4.M04/apidocs/org/neo4j/graphdb/Transaction.html
I read:
... Read operations inside of a transaction will also read
uncommitted data from the same transaction.
So does my understanding that
2011/6/16 Massimo Lusetti mluse...@gmail.com
On Tue, Jun 14, 2011 at 12:56 PM, Johan Svensson
jo...@neotechnology.com wrote:
Hi,
Looks like there was an OOME during commit but commit partially
succeeded (removing the xid branch id association for the xa resource)
causing the
From the query above I got this error.
org.neo4j.cypher.SyntaxError: string matching regex `(?i)\Qreturn\E'
expected but ` ' found
What does it mean? Thanks :)
--
View this message in context:
Thanks! Actually, that might be perfect, since we're more interested in
committed content for now. Will give it a try!
-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of Mattias Persson
Sent: Thursday, June 16, 2011 11:50 AM
To:
Hi Andrés,
scala.util.Properties.versionString() returns 2.9.0.final instead of
2.8.1.final.
After investigations, it is GraphStream 1.0 which changes scala version to
2.9.0.
So, I remove GraphStream libraries from CLASSPATH and everything works
correctly with Cypher from Neo4j webadmin
Hi!,
I've fixed that issue already, it's because I forgot to load my database up.
But now I got a new error from ExecutionResult
Method threw 'java.lang.UnsupportedOperationException' exception instead
when I debug it.
--
View this message in context:
If it's any consolation, I've bumped the version of Scala to 2.9.0 already,
so the next milestone should work with GraphStream.
Regards,
Andrés
On Thu, Jun 16, 2011 at 5:55 PM, Pierre De Wilde pierredewi...@gmail.comwrote:
Hi Andrés,
scala.util.Properties.versionString() returns 2.9.0.final
Hi, I found the error already, but I'm not sure if it's related to the API.
If I use AND in the WHERE clause. It causes the error, but If I use and
it runs ok. :)
--
View this message in context:
Are lookups by ID also so much slower than traversals?
Aseem
On Thu, Jun 16, 2011 at 3:45 AM, Mattias Persson
matt...@neotechnology.comwrote:
I don't know your use case at all, but one of the benefits you get with
traversing compared to index lookups is that one hop from a node to another
is
Are you thinking of GraphDatabaseService#getNodeById / #getRelationshipById
? Or index lookups?
2011/6/16 Aseem Kishore aseem.kish...@gmail.com
Are lookups by ID also so much slower than traversals?
Aseem
On Thu, Jun 16, 2011 at 3:45 AM, Mattias Persson
matt...@neotechnology.comwrote:
I
Indeed getNodeById().
Aseem
On Thu, Jun 16, 2011 at 10:11 AM, Mattias Persson matt...@neotechnology.com
wrote:
Are you thinking of GraphDatabaseService#getNodeById / #getRelationshipById
? Or index lookups?
2011/6/16 Aseem Kishore aseem.kish...@gmail.com
Are lookups by ID also so much
On Thu, Jun 16, 2011 at 6:22 PM, noppanit noppani...@gmail.com wrote:
Hi, I found the error already, but I'm not sure if it's related to the API.
If I use AND in the WHERE clause. It causes the error, but If I use and
it runs ok. :)
Good catch. Fixed in trunk now.
Andrés
Hi Johan,
Sorry for the delay. I was finally able to try out that patch (against 1.3) on
our test environment, and things are running smoothly. I have not seen the
ClosedChannelException (or any others) once in 24 hours. Previously on the
same system I saw it frequently, as early as 15
Using neo4j 1.4-SNAPSHOT it seems the storage or retrieval of long values no
longer works properly.package com.multispective.snippet;import
org.neo4j.kernel.EmbeddedGraphDatabase;import
org.neo4j.graphdb.GraphDatabaseService;import
org.neo4j.graphdb.Transaction;import
Don't know how to send a properly formatted email.
Anyway, when storing a long value -134217728l in a node property, retrieving
the value of the property is again -134217728.
When storing a long value -134217729l in a node property, retrieving the value
of that property overflows and 134217727
Hi,
Try using:
http://paste.pocoo.org/
Great for sending color formatted code snippets.
Marko.
http://markorodriguez.com
On Jun 16, 2011, at 2:48 PM, Niels Hoogeveen wrote:
Don't know how to send a properly formatted email.
Anyway, when storing a long value -134217728l in a
Thank Marco,
Hope this looks better.
import org.neo4j.kernel.EmbeddedGraphDatabase;import
org.neo4j.graphdb.GraphDatabaseService;
import org.neo4j.graphdb.Transaction;
import org.neo4j.graphdb.Node;
public class Test2 {
public static void main(String args[]){
I just tested the long property overflow behaviour against different neo4j 1.4
releases and found out it was introduced between M03 and M04.
M03 correctly returns -134217729 when storing a property with value
-134217729l.M04 and SNAPSHOT return 134217727 when storing a property with
value
Perhaps this is fixed in the latest milestone release, I haven't had a chance
to test it yet. I upgraded from 1.3M03 to 1.4M03 and found that my code that
queried node indexes using a QueryContext was throwing a NPE. In my code I
constructed a string similar to eclass:org.spp.data.Something AND
44 matches
Mail list logo