I'm pretty new to Neo4j and I have a rails application that will probably use
Neo4j. Some of the items in the DB are currently location-tagged so I can
perform spatial calculation.
Can this be done with the Heroku add-on? Better yet, can some one point me
to documentation/example of query records
Lots of thoughts,
I just want to add a side note on store "defragmentation".
Mattias and I wrote a little tool for a customer who was in need of recreation
of his
store with some properties/relationships omitted but using the original
node-ids.
We did that by iterating through the existing sto
Sorry for such a late response, I missed this mail.
I must first point out that it seems you are trying to use Neo4j-Spatial in
the standalone server version of Neo4j. That is possible, but not well
supported. We have only exposed a few of the functions in the server, and do
not test it regularly.
Hi all,
I am certainly behind on my emails, but I did just answer a related question
about OSM and fragmentation, and I think that might have answered some of
Daniels questions.
But I can say a little more about OSM and Neo4j here, specifically about the
issue of joins in postgres. Let me start b
Both possibilities we thought about.
Using special characters like description.de is a good idea.
Actually in one of our prototypes we have a global array
language=(de,en,sp,...) and the
properties are arrays where the values have the same order, so we could parse
the responsed REST Object int
Kan,
glad you sorted it out, was just about to answer something along these lines :)
Well done!
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter http://twitter.com/peterneubauer
I think Daniels questions are very relevant, but not just to OSM. Any large
graph (of which OSM is simply a good example) will be affected by
fragmentation, and that can affect performance. I recently was hit by
performance of GIS queries (not OSM) related to fragmentation of the index
tree. I will
found my solution
to remove relationships/edges
g.v(0).outE('friend').each{ g.removeEdge(it) }
to create relationships/edges
[1,2,3,4, etc...].each{ g.addEdge(g.v(0), g.v(it), 'friend') }
simple once you know the answer :)
--
View this message in context:
http://neo4j-community-discussion
I haven't found any lucene docs that describe the use of MUST_NOT in queries:
what I found was:
http://semeru2007.wordpress.com/2007/10/17/lucene-an-introduction/
which would applied to your query mean:
> StreetAddress:"Kurfürstendamm 41" AND City:"Zwickau" AND State:"SN" AND
> ZipCode:"08001"
the final query looks like
StreetAddress:"Kurfürstendamm 41" AND City:"Zwickau" AND State:"SN" AND
ZipCode:"08001" AND Country:"DE" AND UUID:MUST_NOT
"03df5826-5236-4075-86dd-1d121e127ade"
My nodes only have properties of type String
Original-Nachricht
> Datum: Fri, 7 Oct 2
What value is your uuid in that case? is it probably null or empty?
Can we see the final query string?
Am 07.10.2011 um 20:25 schrieb dieter_f...@gmx.net:
> Hi everybody,
>
> I want to query the Index with the Method query(String). Therefore, I build
> my query and execute the method:
>
> Str
Hi everybody,
I want to query the Index with the Method query(String). Therefore, I build my
query and execute the method:
StringBuffer query = new StringBuffer();
...
query.append(" AND ");
query.append("UUID:");
query.append("MUST_NOT ");
query.append("\"" + uuid + "\"");
IndexHits hits = nod
Thank you Jim!
Cheers,
From: Jim Webber
To: Neo4j user discussions
Sent: Friday, October 7, 2011 10:09 AM
Subject: Re: [Neo4j] template tool
Hi Andrew,
> I have a quick question regarding string template. When we create a node
> index the server returns a
Hi Andrew,
> I have a quick question regarding string template. When we create a node
> index the server returns a template
> http://localhost:7474/db/data/index/node/favorites/{key}/{value}
>
> Does Neo4J have any API similar to StringTemplate that can replace
> placeholders in the template w
Hello,
I have a quick question regarding string template. When we create a node index
the server returns a template
http://localhost:7474/db/data/index/node/favorites/{key}/{value}
Does Neo4J have any API similar to StringTemplate that can replace placeholders
in the template with the real
v
If you choose to use the server or if you choose the embedded database will
have a significant impact on how those results turn out. For performing
large queries, the server should not be much slower than the embedded
database. It will be significantly slower (more than two orders of
magnitude) on
Daniel,
for OSM data and GIS, have you looked at
https://github.com/neo4j/spatial, especially the OSM examples at
https://github.com/neo4j/spatial/blob/master/src/test/java/org/neo4j/gis/spatial/pipes/GeoPipesTest.java
and
https://github.com/neo4j/spatial/blob/master/src/test/java/org/neo4j/gis/sp
Hello Chris,
thanks for your postings, they are a great starting point for me to assume a
good performance of this database. However I have some questions left.
Lets say I have a node store and a property store. Both of them are
individual files. I am going to implement a GIS application which fet
Thanks again for the answer but my system is actually a benchmarking system!
In other words I am trying to find out if there are performance
difference between the 2 DBs not through an application.
On 10/7/11 1:36 PM, Jim Webber wrote:
> Hi Antriani,
>
>> Ok, but the REST API doesn't produce more
Property names can have special characters in them, so we use a pattern like:
Description
Description.EN
Description.DE
This way we can keep any number of localiz(able) expressions on a node. Based
on the user's language, we first try to get the value in the local language,
then the default.
It should, but in Guillaume's example they didn't differ by much, both were
slow.
It seems to be running with the default soft references cache which might turn
over if every node and property is just visited once and then only a second
time in the second run.
Michael
Am 07.10.2011 um 09:19 s
You mean something like internationalization?
I don't know if that itself is a responsibility of the datamode/graph.
You could probably use string arrays to store those.
Or do you mean multi-language property names?
Cheers
Michael, Dresden,Germany
Am 07.10.2011 um 09:24 schrieb Moootron:
> B
Hi Antriani,
> Ok, but the REST API doesn't produce more network overhead (i.e.
> HTTP...) compared to a driver implementation using sockets for access
> for example MySQL JDBC ?
I have no data to support this, but I'm going to make an educated guess and say
that the MySQL JDBC driver is over
Ok, but the REST API doesn't produce more network overhead (i.e.
HTTP...) compared to a driver implementation using sockets for access
for example MySQL JDBC ?
On 10/7/11 12:53 PM, Jim Webber wrote:
> Hi Antriani,
>
> Since Neo4j is an embedded database, the "equal" is quite legitimately to use
Hi Antriani,
Since Neo4j is an embedded database, the "equal" is quite legitimately to use
the Java APIs.
If you want to introduce network and serialisation overhead, then use the REST
API.
But I really believe that you should measure the performance of your *system*
not just your database. S
Ok,thanks!
Do you have any suggestions as to what is the best way to use neo4j to
benchmark it against a mysql database (with an "equal" in communication
overhead manner)?
On 10/7/11 12:23 PM, Jim Webber wrote:
> Hi,
>
> When using Neo4j in embedded mode, communication with the database is via
Hi,
When using Neo4j in embedded mode, communication with the database is via
in-process Java method calls* since the database resides in your process.
However when Neo4j is used in HA mode (irrespective of whether it is embedded
or server), then it will use sockets to maintain consistency of
Hi,
When using Neo4j as an embedded database in a Java Application how is the
communication made with the database i.e. via sockets? via Inter-process
with shared memory or remote procedure calls or something else?
Thanks,
a.
--
View this message in context:
http://neo4j-community-discussions.4
Updated.
http://docs.neo4j.org/chunked/snapshot/gremlin-plugin.html#rest-api-collect-multiple-traversal-results
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter http://twitter.com
not sure i understand what you mean...
pretty simple for me to reproduce this error
1) create a node
2) add relationship to node of type 'friend'
3) use gremlin to delete relationship
the command i use is:
post /db/data/ext/GremlinPlugin/graphdb/execute_script/ {"script":
"g.v(0).outE('friend'
Kan,
maybe you have created data before, and the IDs are ticking up?
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter http://twitter.com/peterneubauer
http://www.neo4j.org
Ok i think i have figured it out but there may be a bug
if i use the gremlin web console and send this command
g.v(0).outE('friend').sideEffect{g.removeEdge(it); }
it will only delete the first relationship
however
if i send the same command to the HTTP web console i receive the following
err
Hey,
> Am I really being that hyperbolic? The deployment tools we have are superb
> and simple to use. I just don't _want_ to do any prep work outside my
> project folder in order to test my code. The embedded db made me think it's
> possible (first time I'd ever dealt with one). (=
Understoo
using server 1.5-SNAPSHOT (revision: 1.5.M01-693-g712b557-dirty)
I would like to remove all relationship of type "friend". I tried but just
could not get removeEdge() to work. Is this supported? And is addEdge()
supported?
My specific issue is that i have a list of relationship IDs that i woul
Best Practice for multilanguage properties
Just a few month I am working with neo4j. We are modeling graphs for new
Applications combining ontologies and data for production data.
The most important thing actually is to have multi language properties for
nodes and relations with the following m
Also, is that the first run directly after a JVM start? The first time you
encounter a Node or Relationship it is loaded from disk into memory so that
the next time it's read from memory instead. The difference between two runs
can be order of magnitudes in difference.
2011/10/6 Michael Hunger
>
36 matches
Mail list logo