Aseem,
Which users tagged what? SELECT DISTINCT user_id FROM USER_TAGS WHERE
bookmark_id = x
Which bookmarks did a user tag? SELECT DISTINCT bookmark_id FROM
USER_TAGS WHERE user_id = x
Which bookmarks were tagged with x? SELECT DISTINCT bookmark_id FROM
USER_TAGS WHERE tag_id = x
What question
Perhaps it is really best to model the bookmark as node as well. Which is how
you would model a hypergraph in Neo4j.
Then it is natural to have tag nodes pointing to the bookmark node.
For instance you want to store when user bookmarked the link, so that you can
order his bookmarks (recent
Hi All,
I'm going to give a try again to my apps on neo4j with the current
1.4.M03 implementations.
After a while I got this stack trace for which I hope someone could
give me a clue:
org.neo4j.graphdb.TransactionFailureException: Unable to commit transaction
at
Hi,
few notes from the top of my head on how we modeled this in the past:
User is a Node
Resource (Document) is a Node
Tag is a Node (having a label, language property, can be connected via
relationships to other Tag Nodes representing its synonyms, can become a
concept in (tree-)structured
Nicolas,
I have now a failing testcase (albeit using snapshot versions of PAX
stuff, trying to relax that ASAP) at
https://github.com/neo4j/neo4j-osgi-examples that exposes the
IndexProvider not being found in OSGi environments.
Is your fork of Neo4j Community fixing this issue? In that case, it
Hi all,
I'm struggling with importing a graph with about 10m nodes and 20m
relationships, with nodes having 0 to 10 relationships. Creating the
nodes takes about 10 minutes, but creating the relationships is slower
by several orders of magnitude. I'm using a 2.4 GHz i7 MacBookPro with
4GB RAM and
I too am experiencing similar problems - possibly worse than you're seeing as I
am using a very modestly provisioned windows m/c (1.5Gb ram, setting max heap
to 1Gb, oldish processor).
I found that using the BatchInserter for loading nodes the heap grew and grew
until when it was exhausted
Hi Daniel,
I am working currently on a tool for importing big data sets into Neo4j graphs.
The main problem in such operations is that the usual index
implementations are just too
slow for retrieving the mapping from keys to created node ids, so a
custom solution is
needed, that is dependent to a
Hey,
When creating a Neo4jGraph from gremlin (1.1-SNAPSHOT), I cannot change node
in neo4j-shell (1.4-M03).
It's probably related to inexistent root node 0...
Here is the steps to reproduce this issue:
~$ gremlin
\,,,/
(o o)
-oOOo-(_)-oOOo-
gremlin g = new
Pierre,
it seems that the db is not closed properly, it tries to resolve
transaction upon startup. Could you try the same by opening it the
second time with gremlin again? I am suspecting that node 0 is removed
by Marko ;) and the import is not committed so the nodes are not there
upon the next
I recreated Daniels code in Java, mainly because some things were missing from
his scala example.
You're right that the index is the bottleneck. But with your small data set it
should be possible to cache the 10m nodes in a heap that fits in your machine.
I ran it first with the index and had
Hi Peter,
You're right: when reopening in gremlin, same recovery message.
I will report this issue + node 0 to gremlin mailing list.
Thanks,
Pierre
2011/6/9 Peter Neubauer peter.neuba...@neotechnology.com
Pierre,
it seems that the db is not closed properly, it tries to resolve
transaction
Hi,
How can I easily import/export data with neo4j?
I can do it with Gremlin (GraphML only), but what are the backup/restore
console commands available in Neo4j?
Pierre
___
Neo4j mailing list
User@lists.neo4j.org
Hi,
I have noticed a subtle typo in webadmin console cheat sheet (
http://localhost:7474/webadmin/#/console/):
Create relation
myRelation = g.addEdge(edgeProps, refNode, secondNode, 'KNOWS')
will create the edge without the properties. The correct syntax is:
Create relation
myRelation =
Pierre,
thanks for pointing it out! Fixed in
https://github.com/neo4j/community/commit/d7b442e14461e9256a1747adca3d4128466089a5
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter
Pierre,
the backup scripts are for online full and incremental backup
management, see
http://docs.neo4j.org/chunked/snapshot/operations-backup.html
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn
Hi all,
I am a newbie to neo4j so please bare with me.
I installed neo4j for cpython and it is working fine. I can create graph
databases and everything. Since I need to insert a huge data set, I need to
use the batch inserter form neo4j in its Java form.
The problem that I am having is that,
The Backup features are only available in the Neo4j Enterprise Edition.
Does it mean no backup in Neo4j Community Edition???
Pierre
2011/6/9 Peter Neubauer peter.neuba...@neotechnology.com
Pierre,
the backup scripts are for online full and incremental backup
management, see
Backup = stop database, copy database directory, restart database.
-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of Pierre De Wilde
Sent: Thursday, June 09, 2011 9:32 AM
To: Neo4j user discussions
Subject: Re: [Neo4j] Import/export
Pierre,
you can backup you database by just copying the store files as Rick is
saying. No big deal, just not 99.999 SLA :)
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter
OK, so offline backup for community edition.
Regarding the load of large datasets, is there a shell command available ?
Thanks,
Pierre
2011/6/9 Peter Neubauer peter.neuba...@neotechnology.com
Pierre,
you can backup you database by just copying the store files as Rick is
saying. No big
Pierre,
that is what Chris is working on - making a well defined import path
for big datasets possible. Chris, will this result in a command line
tool, too? At least it will be documented in the manual when we get
there ...
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype
I will try caching the nodes in the heap as Michael suggested and I'll
also look into Chris' tool.
Thanks everybody for the effort and the suggestions!
Daniel
On Thu, Jun 9, 2011 at 1:27 PM, Michael Hunger
michael.hun...@neotechnology.com wrote:
I recreated Daniels code in Java, mainly
Hi,
If the Neo4 graph is created first with Blueprints (not pre-existing), then the
root vertex is removed as that is not a concept support by Blueprints. Its not
a bug, its a feature :).
NOTE: If you create Neo4j graph with Neo4j and then load up a Neo4jGraph around
it, then Blueprints will
Also,
I think we should fic the Neo4j Shell functionality to not stop on
missing 0 node. Will put it up to fix.
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter
Hi,
You can also do:
myRelation = g.addEdge(nodeA,nodeB,'KNOWS',[key:'value',key2:123])
As such, put a Map into the definition. A nice place to find these shorthand
methods is:
https://github.com/tinkerpop/gremlin/wiki/Gremlin-Methods
See ya,
Marko.
http://markorodriguez.com
On Jun
I think that is a good idea. Mainly because if you can delete the root node,
then its possible to get the neo4j-shell into this 'broken state.'
Thanks P,
Marko.
http://markorodriguez.com
On Jun 9, 2011, at 8:06 AM, Peter Neubauer wrote:
Also,
I think we should fic the Neo4j Shell
Hi Max,
there are two distinct problems here
One is that there is no IP access control that can be configured
through Neo4j. Setting the
listen URIs to a specific address in the configuration does not bind
the server there exclusively. This
behavior has to be imposed with external means, such as
Hi all!
Recently I noticed that some fulltext indexes I created and populated in my
project in the Batch insertion
phase are not working as expected.
I've carried out some tests and cannot come up with what can be going wrong.
That's why I thought, ok let's try with a really basic example (mostly
Hi again,
I just found out that I had the wrong name for querying the actors index,
still when I change it for name
like this:
System.out.println(index.get(name, Keanu).size());
System.out.println(index.get(name, keanu).size());
System.out.println(index.get(name, Keanu Reeves).size());
I still
your query key should be name
not actors
Michael
Sent from my iBrick4
Am 09.06.2011 um 16:49 schrieb Pablo Pareja ppar...@era7.com:
Hi all!
Recently I noticed that some fulltext indexes I created and populated in my
project in the Batch insertion
phase are not working as expected.
I've
and you should use index.query(key,querystring) not get for fulltext queries
Sent from my iBrick4
Am 09.06.2011 um 17:04 schrieb Pablo Pareja ppar...@era7.com:
Hi again,
I just found out that I had the wrong name for querying the actors index,
still when I change it for name
like this:
Hi Saikat,
Yes, your explanation was clear, but I was busy with other work and failed
to repond - my bad ;-)
Anyway, your idea is nice. And I can think of a few ways to model this in
the graph, but at the end of the day the most important thing to decide
first is what queries are you going to
Hey Craig,Thanks for responding, here's what I'd like to see on the creative
map:
1) My current position in the park and the positions of attractions and other
things in the park2) Ability to perform traversals and graph matching
algorithms once number 1 is known3) Ability to add new points in
yeah,
it works just fine using query(...) method instead of get(...)
Thanks ;)
Pablo
On Thu, Jun 9, 2011 at 5:31 PM, Michael Hunger
michael.hun...@neotechnology.com wrote:
and you should use index.query(key,querystring) not get for fulltext
queries
Sent from my iBrick4
Am 09.06.2011 um
Hi Miklós,
Batch updates through the REST API will be supported from 1.4 M4 which should
be released today - so no need to roll your own.
Jim
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
You might also try the newer cpython bindings which use jcc instead of jpype
to connect with Java. They also don't support batch import, but I'm curious
if you run into the same issue.
https://github.com/OneSaidWho/neo4py
Aaron
On Thu, Jun 9, 2011 at 6:31 AM, oguerrer oguer...@gmail.com
One big issue we've encountered (actually, a fairly critical one) is that there
does not seem to be any way to *delete* a LuceneTimeline index.
This raises a more general question:
- Is LuceneTimeline part of the IndexFramework or is it an
experimental piece of code
- Is
Doh. Forget it. Grokking the code a bit and I see how LuceneTimeline is just
a wrapper around a regular Index.
Nevermind. ;-)
-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of Rick Bullotta
Sent: Thursday, June 09, 2011 2:41 PM
Max, just to be clear, are you basically saying that this problem is best
solved by a relational db instead of a graph db?
Thanks,
Aseem
On Wed, Jun 8, 2011 at 11:21 PM, Max De Marzi Jr. maxdema...@gmail.comwrote:
Aseem,
Which users tagged what? SELECT DISTINCT user_id FROM USER_TAGS WHERE
We really need a way to query a list of all of the terms for a specific
field/key name. Any thoughts on how we could extend the Index framework safely
to do this?
___
Neo4j mailing list
User@lists.neo4j.org
hello;
I created a hierarchy with neo4j and I need to see it in a GUI.
how i should to make it with neo4j?
thank you.
--
View this message in context:
http://neo4j-user-list.438527.n3.nabble.com/neo4j-and-GUI-tp3045627p3045627.html
Sent from the Neo4J User List mailing list archive at
Thanks for the input, Michael and Josef!
I'm intrigued by the possibility of being able to have comment threads, etc.
when you consider a tagging action as an event, and thus consider it a node
in the graph.
I'm worried though about having the duplicate edges. How do you make sure
everything
You could use Neoclipse to visualize your graph:
http://wiki.neo4j.org/content/Neoclipse_Guide
Cheers
Michael
Am 09.06.2011 um 21:49 schrieb lakel:
hello;
I created a hierarchy with neo4j and I need to see it in a GUI.
how i should to make it with neo4j?
thank you.
--
View this
I ran Michael’s example test import program with the Map replacing the index
on my on more modestly configured machine to see whether the import scaling
problems I have reported previously using Batchinserter were reproduced. They
were – I gave the program 1G of heap and watched it run using
Aseem,
Josef's suggestion is pretty cool and very powerful.
I would start simple by modeling the bookmark as a node and have the tag-events
only being
relationships (with properties) from the actual tag to the bookmark node.
In the end it all depends on your usage scenarios. What kind of
Please keep in mind that the HashMap of 10M strings - longs will take a
substantial amount of heap memory.
That's not the fault of Neo4j :) On my system it alone takes 1.8 G of memory
(distributed across the strings, the hashmap-entries and the longs).
So 3 GB of heap are sensible to run this,
Thank you Aaron,
I am trying to build the the latest bindings but I get an error regarding a
file called: jcc_d.lib
I installed jcc successfully and I have the Visual Studio Compilers of
2008. The error I get is:
LINK : fatal error LNK1181: cannot open input file
'C:\Python26\lib\site-package
Hi,
I am trying to build the latest version of neo4jpy for JCC in windows. I
have successfully installed JCC but I keep getting the following error:
LINK : fatal error LNK1181: cannot open input file
'C:\Python26\lib\site-package
s\jcc-2.8-py2.6-win32.egg\jcc\jcc_d.lib'
error: command
hello;
I have developed with JBuilder
I can import into JBuilder neoclipse for display my hierarchy !
thank you.
--
View this message in context:
http://neo4j-user-list.438527.n3.nabble.com/neo4j-and-GUI-tp3045627p3046218.html
Sent from the Neo4J User List mailing list archive at Nabble.com.
No,
Neoclipse is a standalone application.
There are lots of other visualizations for graphs possible:
http://wiki.neo4j.org/content/Visualization_options_for_graphs
Cheers
Michael
Am 09.06.2011 um 23:46 schrieb lakel:
hello;
I have developed with JBuilder
I can import into JBuilder
We seem to be encountering a lot of issues when attempting to do lots of
reads/writes/deletes of nodes in a collection scenario, where the members of
the collection (each a node w/properties) are linked to their collection (also
a node) via a relationship. This creates a hot spot and
Hello,
I'm getting an error I cannot seem to repair.
Here's the line of code popping up the error :
private static IndexNode people = index.forNodes( people );
I've checked my classpath and tried with both lucene-core-3.1.0.jar
and lucene-core-3.0.1.jar.
Stack trace follows, thanks for any
Hi Ian,
Is neo4j-lucene-index-${version}.jar on the classpath?
That is the jar file that contains the lucene integration for Neo4j, this
needs to be on the classpath along with lucene-core.
If it is, and things are still not working, could you please answer these
questions:
Which version of
Thanks for the quick answer, here's the config :
JVM 1.6.0_24
I am compiling through GWT, which might somewhat impact the build,
although I doubt it.
Classpath, which answers some of your questions itself :
?xml version=1.0 encoding=UTF-8?
classpath
classpathentry kind=src path=src/
But you're not trying to run Neo4j in the gwt client side code but rather on
the server?
How exactly do you start-up your application?
The classpath you supplied is imho the build-classpath and not necessarily the
run-classpath? Can you verify that?
you can get the runtime classpath by using
Hi,
I am currently using the latest version of Neo4J. However, when I run:
curl -v http://localhost:7474/db/data/
I get this response for extensions:
extensions : {
}
And when I look in System\Lib, I can see gremlin-0.9.jar.
So, how do I register or configure the server to enable gremlin.
Romiko,
the gremlin plugin is currently separate from the Neo4J-Server it will be
included with one of the next releases.
Until then please go to.
https://github.com/neo4j/neo4j-gremlin-plugin
build the jar using maven and then copy that to your servers plugins directory.
The gremlin file you
Hi All,
Noob question here:
Say that I am a node on the graph as are 3 of my other friends. No let's say
that ice cream is a node and pizza is a node. Two of us like pizza, where
like is the relationship (edge), and 3 of us like ice cream. I would like to
know who likes ice cream and who likes
Definitely on server side code.
I start up the application directly in eclipse with the built in web server.
C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program
Files
Can you please try to remove the lucene-core-3.0.1. It is possible that mixing
two versions of lucene at the classpath messes things up.
Cheers
Michael
Am 10.06.2011 um 02:27 schrieb Ian Bussières:
Definitely on server side code.
I start up the application directly in eclipse with the
New buildpath, same problem.
C:\Users\Ian\Dev\PFE\pfe\src;C:\Users\Ian\Dev\PFE\pfe\lib;C:\Users\Ian\Dev\PFE\pfe\test-classes;C:\Users\Ian\Dev\PFE\pfe\war\WEB-INF\classes;C:\Program
Files
Hi Jim,
The REST API returns a 201 when creating a node.
It should be noted that the URLs returned from the REST API are all absolute
('self' references, etc). My understanding is that this is the expected
behaviour.
-- Tatham
-Original Message-
From: user-boun...@lists.neo4j.org
Ian,
is that web-server a stock tomcat or jetty or something running an OSGi
environment?
So do you see something about OSGi containers being started in your console
output (felix, equinox)?
Could you have a look at the messages.log file in your graphdb directory if it
shows anything
Tatham,
what version of neo4j-server are you running, and can you please post the
content of the conf/neo4j-server.properties file?
Thanks
Michael
Am 07.06.2011 um 04:20 schrieb Tatham Oddie:
Howdy!
Neo4j n00b here ...
My /webadmin/ console loads but doesn't let me create nodes,
The web server is slightly ambiguous, because it's a GWT eclipse
plugin that is used to run. I do believe it to be a Tomcat server. I'm
trying to find a source that confirms that.
Nothing about OSGi, no... The messages.log looks ok, apart from a few
non clean shutdowns but successful recoveries.
Hey,
I got errors when building plugin:
~/Documents/_GraphDatabases/Neo4j/neo4j-gremlin-plugin$ mvn clean package
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for
Hey,
I've seen that before. You are building with Maven3 and the pom.xml of the
Neo4j Server Gremlin plugin is done with Maven2. Its a simple fix -- basically,
some aspects of the pom.xml are not respected, just need to be updated.
Peter?
Marko.
http://markorodriguez.com
On Jun 9, 2011, at
Hi all,
we will do a Hackathon in Friedrichshafen and we have some ideas for Neo4j
projects as well (see
http://lcgtug.mixxt.de/networks/wiki/index.graphdb_project_proposals).
So who ever is located at Lake Constance in Germany and is interested in
Neo4j (-Spatial) is invited to attend :-)
More
Sorry if this is covered somewhere, I couldn't find it in the docs. I was
wondering if its possible to create unique indexes with the
LuceneIndexProvider?
-Matt
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
Ian,
can you share your project somehow at least config and the startup class? What
are eclipse and gwt plugin versions?
M
Sent from my iBrick4
Am 10.06.2011 um 03:33 schrieb Ian Bussières ian.bussie...@gmail.com:
The web server is slightly ambiguous, because it's a GWT eclipse
plugin
Not quite. What I am saying is that it is best to define the
questions you want to answer before picking a solution and building a
model.
Look at Josef scenarios, a tagging table with fields
[user_id][tag_id][bookmark_id][created_at] gives you tag activity
streams and is not complex at all.
I
72 matches
Mail list logo