Hi Francois,
Comments below.
On Tue, Sep 7, 2010 at 2:10 PM, Francois Kassis francois_kas...@hotmail.com
wrote:
Hi all,
1) How could I import data from a hierarchical csv data file into
neo4j.py using python.
It depends a little on what your data looks like. Care to share a few
Hi Francois,
When you do things inside of a transaction, it stays in memory until you
commit your transaction. If you commit smaller chunks, you won't run into
this problem. So instead of doing:
li_index = 0
*with graphdb.transaction:
for data in data_list:*
data[0] = unicode(data[0],
: IndexProvider question (Honnur Vorvoi)
5. java heep size in neo4j when importing huge data
(Francois Kassis)
6. Re: java heep size in neo4j when importing huge data
(Andres Taylor)
--
Message: 1
Hi Chris,
If you go to this page: http://components.neo4j.org/neo4j.py/
and scroll down to the part titled Indexes, you'll find some
documentation.
Let me know if you need more information.
Andrés
On Thu, Sep 23, 2010 at 12:18 PM, Chris Diehl di...@alumni.cmu.edu wrote:
Hi All,
I saw the
Hi there!
I thought that aggregation would be nice to have in neo4j, so that not
everyone has to do it manually... So I coded up what that could look like.
If this is something that interests you, please, take a look at
svn.neo4j.org/laboratory/components/aggregation/trunk
I'm specially
Hi Chris,
Absolutely awesome stuff you have written. As a new hire in Neo
Technologies, I'm reading your blog posts with great interest. I like how
you take code and make a story out of it - it's much easier to understand
the code after reading your posts on it. Thank you!
I have two wishes that
with the RelationshipType added. Does
this code work for you?
Cheers,
Andrés
On Fri, Oct 8, 2010 at 9:46 PM, Andres Taylor
andres.tay...@neotechnology.com wrote:
Hi there,
I've looked over your code, and it doesn't seem like you are doing anything
wrong, AFAICS.
It would be easier to help you if I could run
Hi Balazs,
We've been working on a new lucene-index module just these last days. The
new index module allows sorting, through the QueryContext-class. You can
look in svn https://svn.neo4j.org/components/lucene-index/trunk/, if you
are so inclined, or wait for the next milestone release
Hi Axel,
Looking forward to the launch of your app. Always nice to hear!
In regards to your database size problem, unfortunately, I can't offer a
clean and easy solution. The store files grow as more data is added, but
doesn't shrink when you remove data. There are technical reasons for this,
Hi Elena,
On Tue, Oct 26, 2010 at 10:54 AM, Elena Pechko elenapec...@gmail.comwrote:
Hi,
I have a related question: is it possible to determine a list of
indexed values?
Just to make sure I understand you, is this one way of expressing your need?
Given a node, I want to find what
Guys,
I'm trying to grokk the code. In a couple of places, there are indirections
that I don't understand. Like EmbeddedGraphDatabase, which is, as far as I
can see, mostly a thin wrapper around EmbeddedGraphDatabaseImpl. Why is
this?
Andrés
___
Neo4j
Hey guys,
If anyone follows the commits, you might have seen some
activityhttps://trac.neo4j.org/log/qa/load-testunder qa//load-test.
I thought I'd share what's been going on, and what I
found.
We want to keep the speed advantage Neo4j has, and to do that, we have to
measure, measure and
Again, Chris, thank you for the (obvious) hard work you have put into this.
You have created a valuable resource.
Andrés
On Thu, Nov 4, 2010 at 7:54 PM, Chris Gioran chris.gio...@gmail.com wrote:
Hi people,
the last part of my series:
Neo4j Internals: Transactions (Part 3) as a complete
It most often is. But he is so nice that we keep him around anyway... :)
Andrés
On Tue, Nov 9, 2010 at 11:09 PM, Marko Rodriguez okramma...@gmail.comwrote:
Hi,
However, I seem to be running into a bug where IndexHits.size() 0, but
I'm
not getting back what I indexed :( ... I will try
Hola Jose y Max!
Que lindo que podemos hablar un poquito en español! :)
Jose, queres saber que algoritmos usamos para guardar la information en el
disco duro, o que algoritmos usamos en GraphAlgo?
---
Hi Jose and Max,
How nice to be able to talk a bit in spanish! :)
Jose, do you want to know
Kalin (and list),
My lab project for a few weeks now has been an alternative shell to Neo4j.
Coming from a DBA background, I felt that we are lacking tools to do
DBA-work - import/export data, tune indexes, browse the data in an easy way,
and make backups. So that's been the focus for my shell.
On Tue, Dec 7, 2010 at 1:54 PM, Mattias Persson
matt...@neotechnology.comwrote:
The (new) integrated index API cleans up deleted nodes/relationships that
are left behind automatically and lazily (at least the lucene impl does) so
no worries for the index part at least.
Unless you are
On Mon, Dec 13, 2010 at 8:45 AM, Jim Webber j...@neotechnology.com wrote:
Hi Jose,
[warning: I wrote this code in my email client, it may not even compile,
but it should give you the right idea]
Rather than use inheritance to build your domain model, composition is
preferred. So:
class
+1 on the +1 for option 1
On Mon, May 16, 2011 at 2:49 PM, Pablo Pareja ppar...@era7.com wrote:
Hi,
definitely +1 for option 1
Pablo
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
Hi there,
You are using an old version of graph-matching.
You should not have to depend on graph-matching. Just depend on cypher, and
it will pull the correct version of graph-matching.
If you want to depend on graph-matching explicitly, make sure you depend on
either 1.4.M04, or 1.4-SNAPSHOT.
Hi Pierre,
On Tue, Jun 14, 2011 at 1:48 PM, Pierre De Wilde pierredewi...@gmail.comwrote:
start n=(1) return n
Nothing is returned...
Could you look in the logs for any clues? They are in neo4j install
dir/data/log
Andrés
___
Neo4j mailing list
No, this is executed through the console. No problem there.
On Tue, Jun 14, 2011 at 6:27 PM, noppanit noppani...@gmail.com wrote:
I think it might be you're mixing org.neo4j.cypher.javacompat and
org.neo4j.cypher together?
--
View this message in context:
On Wed, Jun 15, 2011 at 1:51 PM, Peter Neubauer
peter.neuba...@neotechnology.com wrote:
McKinley,
we are just in the process of adding index hits as starting points to
Cypher, which will then do exactly what you are asking. No ETA yet,
but that is high on the list and will show up in the
Could you check what the value of this is?
scala.util.Properties.versionString
Thanks,
Andrés
On Wed, Jun 15, 2011 at 11:41 AM, Pierre De Wilde
pierredewi...@gmail.comwrote:
HiAndrés,
I also suspect that it's a scala version issue, but unfortunately only
scala-library-2.8.1.jar is
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
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
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
Are you referring to what the implementation looks like? This is the source.
I haven't grokked it yet, so I can't give you a TL;DR;, sorry.
https://github.com/neo4j/community/tree/master/graph-matching
Cypher allows you to do graph-matching (internally, it uses the above
module), but adds a few
As part of the next milestone, which should come out tomorrow, we'll package
a Cypher-plugin, that allows you to do Gremlin queries over the wire:
http://docs.neo4j.org/chunked/1.4-SNAPSHOT/gremlin-plugin.html
If you are using a snapshot version, it should already be there.
Andrés
On Wed, Jun
On Wed, Jun 22, 2011 at 4:04 PM, Andres Taylor
andres.tay...@neotechnology.com wrote:
As part of the next milestone, which should come out tomorrow, we'll
package a* Cypher-plugin*, that allows you to do Gremlin queries over the
wire: http://docs.neo4j.org/chunked/1.4-SNAPSHOT/gremlin
Lots of questions in one mail. My answers are inline.
On Mon, Jun 27, 2011 at 10:55 PM, Adrian Stabiszewski
mynewslet...@nitegate.de wrote:
Hi!
I'm currently evaluating Neo4J for a project, but I'm not sure if it is the
right solution. Maybe you could help me by looking at my scenario. I
Hello graphistas,
Today we’re releasing the fifth and final milestone in our 1.4 “Kiruna Stol”
family. We’ve expanded our feature set to include Auto Indexing and paged
traversers for the REST API, the Cypher query language has seen some major
improvements and as always, we’ve squeezed more
On Tue, Jun 28, 2011 at 1:27 PM, Adrian Stabiszewski
mynewslet...@nitegate.de wrote:
Thanks for your answers. The correct quotation marks are working. Couldn't
find this in the docs.
It's under the return statement. I'll make it clearer. Thanks for the
pointer.
It is not possible now.
If the property op_type contains a Number, you can't compare it against a
string. Could that be the problem?
Andrés
On Wed, Jun 29, 2011 at 8:38 AM, Adrian Stabiszewski
mynewslet...@nitegate.de wrote:
Just tested my queries with M05. Now I get the result in 6.6sec instead of
10sec with M04.
On Wed, Jun 29, 2011 at 11:32 AM, Adrian Stabiszewski
mynewslet...@nitegate.de wrote:
If the property op_type contains a Number, you can't compare it against a
string. Could that be the problem?
Yes, op_type is a number property.
I'm wondering how to specify this in the query.
This is
Hi there,
Haven't tried it, but I would guess that you have to use the same version of
things. Use 1.4.M05 of neo4j-shell, or 1.4-SNAPSHOT of neo4j, and you should
be good to go.
Andrés
On Fri, Jul 1, 2011 at 5:57 PM, noppanit noppani...@gmail.com wrote:
And this is my pom.xml
We decided that we needed a meta-data character that wasn't :. Instead,
you now write: r~TYPE
Andrés
On Sun, Jul 3, 2011 at 12:44 AM, Peter Neubauer neubauer.pe...@gmail.comwrote:
Just pinged Andres on this. The r:TYPE is the culprit.
Sent from my phone.
On Jul 3, 2011 12:06 AM, Craig
Obrigado Adriano!
You are, of course, correct. My JVM inexperience shows...
I think I've made the
changeshttps://github.com/neo4j/community/commit/e4622cbbcad8210babb01d861a5ef9df823c054byou
suggested.
Thanks for your help!
Andrés
On Mon, Jul 4, 2011 at 4:35 PM, Adriano Henrique de Almeida
Yes, and yes.
Here's an example:
START a=(0)
MATCH a-[r]-b
WHERE r.length 10
RETURN r,b
Is that what you are looking for?
Andrés
On Thu, Jul 14, 2011 at 2:34 AM, anand an...@semanticvoid.com wrote:
Hey,
Is there a way in cypher to run a where clause on some properties of a
relationship?
On Sun, Aug 14, 2011 at 11:44 AM, Faster2B faste...@gmail.com wrote:
I had already read this,
but i can not find how to specify an intermediate node.
I am interested in finding a route between two cities crossing another
city that I will choose.
I don't think there's a direct way to do
Hi Aseem,
For various reasons, we've (so far) decided against allowing the id to be
something you can output. Could you tell me a bit more about why you would
like to return just the id?
It's not hard to do, but it would make future parts of Cypher harder to do.
If there are valid use cases
On Wed, Aug 24, 2011 at 5:44 PM, Aseem Kishore aseem.kish...@gmail.comwrote:
Here's my use case: I want to show my friends' comments and likes.
For comments, I can do e.g. (friend) -[:WROTE]- (comment), and for
likes,
I can do e.g. (friend) -[:LIKES]- (object), but is there a way I can
Forgot to mention it: We've changed ~TYPE to .TYPE. It's in out snapshot
version. Just a heads up.
Andrés
On Wed, Aug 24, 2011 at 6:02 PM, Andres Taylor
andres.tay...@neotechnology.com wrote:
On Wed, Aug 24, 2011 at 5:44 PM, Aseem Kishore aseem.kish...@gmail.comwrote:
Here's my use case
Good and valid requests, Aseem.
Consider them heard. We'll see how soon we can get it to you.
Andrés
On Thu, Aug 25, 2011 at 12:57 PM, Aseem Kishore aseem.kish...@gmail.comwrote:
Man, I am loving Cypher. Thanks so much guys for introducing it. I'm a bit
stuck on one query, though, and I
We finally decided that it should be added.
http://docs.neo4j.org/chunked/snapshot/query-function.html#functions-id
It's in snapshot, and will be part of our next stable release.
Andrés
On Thu, Aug 25, 2011 at 2:39 AM, Aseem Kishore aseem.kish...@gmail.comwrote:
Hey guys,
Is there any way
And now it's in code.
http://docs.neo4j.org/chunked/snapshot/query-match.html#match-optional-relationship
Hope that helps,
Andrés
On Thu, Aug 25, 2011 at 10:34 PM, Andres Taylor
andres.tay...@neotechnology.com wrote:
Good and valid requests, Aseem.
Consider them heard. We'll see how soon
On Mon, Sep 19, 2011 at 3:45 PM, F. De Haes fi...@nibewege.org wrote:
- Relation types give problems in Cypher when they contain a blank space.
Correct?
Not really. You can write like this:
START a = (0)
MATCH a-[:`Type with space`]-b
RETURN b
Does that help?
Andrés
...@nibewege.org wrote:
Hi Andrés,
$queryText = START n=(1) match a-[:'Staat in']-n return a;
0 results
$queryText = START n=(1) match n--a return a;
104 results
A bug in neo4jphp?
Greetings,
Filip
2011/9/19 Andres Taylor andres.tay...@neotechnology.com
On Mon, Sep 19, 2011 at 3
Hi there,
Answers inline.
On Wed, Sep 21, 2011 at 4:49 AM, iamyuanlong yuanlong1...@gmail.com wrote:
hi Peter,
This can get the result.But if I want to contain B's Friends too.Should I
use this?
http://neo4j-community-discussions.438527.n3.nabble.com/file/n3354221/follow%26friend.jpg
HI there,
Answers inline,
On Wed, Sep 21, 2011 at 8:16 PM, st.pa st...@web.de wrote:
Hi,
I've got a Cypher query with some 10k possible source nodes and some 10k
intended target nodes out of some 1M possible target nodes which looks
something like the following:
START source =
On Thu, Sep 22, 2011 at 5:23 PM, st.pa st...@web.de wrote:
but what about regexes in the START clause where lookup of some
nodeIndex with *-wildcard already takes place. this is obviously not
pure regex, and I did not find documentation on what other wildcards are
allowed or how to search for
no directed relationship
of the given type from sources to targets, or
START source = ...,
target = ...,
MATCH (source)-!-(target)
RETURN source,target
to get those pairs with no relationships at all?
ciao,
st.p.
23.09.2011 12:30, Andres Taylor wrote:
On Thu, Sep 22, 2011 at 5
On Sun, Sep 25, 2011 at 11:13 PM, Adriano Henrique de Almeida
adrianoalmei...@gmail.com wrote:
Hi Filip,
if you need only those nodes who have the Geemente property, you can
specify
it on the where clause. Example:
where a.Geemente and a.Geemente = 'Antwerpen'
Another alternative,
On Tue, Sep 27, 2011 at 11:29 AM, F. De Haes fi...@nibewege.org wrote:
Hi all,
I tried this cypher query both in the console of the stable and in the
milestone release, but it produces the same error:
start a=(123) match b-[:`Runs on`^1..3]-a return distinct b
I'm sure that variable
On Fri, Sep 30, 2011 at 10:37 AM, Andres Taylor
andres.tay...@neotechnology.com wrote:
Hey!
This is something that has been planned since the very first iteration of
Cypher, but no-one seemed to need it, so I have pushed it in front of me.
Now we seem to have an user that wants it, so I'll add
On Mon, Oct 10, 2011 at 9:10 PM, Tero Paananen tpp+ne...@iki.fi wrote:
Does Cypher support count(distinct) type of queries?
Tero,
No, it doesn't yet. It's planned for, but won't make it into 1.5.
Andrés
___
Neo4j mailing list
User@lists.neo4j.org
On Mon, Oct 10, 2011 at 9:42 PM, Andres Taylor
andres.tay...@neotechnology.com wrote:
On Mon, Oct 10, 2011 at 9:10 PM, Tero Paananen tpp+ne...@iki.fi wrote:
Does Cypher support count(distinct) type of queries?
Tero,
No, it doesn't yet. It's planned for, but won't make it into 1.5.
I
On Tue, Oct 11, 2011 at 10:00 PM, dieter_f...@gmx.net wrote:
Hi,
in my database I have different types of data (e.g. addresses, projects,
activities, milestones, documents) that are connected via relationships.
Now, I want to give the user of my application the possibilites to find
parts of
Thanks for the suggestion!
I took the liberty of opening an issue about it in github:
https://github.com/neo4j/community/issues/74
Andrés
On Tue, Oct 25, 2011 at 4:15 PM, F. De Haes fi...@nibewege.org wrote:
Hi,
A feature that would be nice to add to the Cypher language features AVG,
SUM,
Hi Tero,
This has changed because Cypher now supports parameters. SDN used to
hand-craft your query strings for you, but now it uses Cypher parameter
instead. And Cypher doesn't support params in these areas.
It definitely should.
Andrés
On Mon, Oct 24, 2011 at 9:41 PM, Tero Paananen
A number of people have asked for it, so
herehttps://github.com/neo4j/community/commit/95072e34baeca97c16fc65fe021e5a2981c5305bit
is. Column ordering in the execution result is the same as appears on
the
return list.
Andrés
___
Neo4j mailing list
Very cool!
Andrés
On Mon, Oct 31, 2011 at 9:24 AM, Nigel Small ni...@nigelsmall.name wrote:
Hi all
A quick note on the new command line additions to py2neo (which currently
aren't completely finialised but shouldn't change too much from here on
out).
---
usage: cypher.py [-h] [-u
I'm not sure cypher is the right name for this. It could be confusing...
On Mon, Oct 31, 2011 at 6:03 PM, Peter Neubauer
peter.neuba...@neotechnology.com wrote:
Very cool, good work!
I would like to have this packaged as a brew formula on OSX, do one cold do
brew install cypher
and be
You, something like Neo4js https://github.com/neo4j/neo4js? We've had
that since forever. Or do you mean something different?
Andrés
On Tue, Nov 1, 2011 at 5:06 PM, Peter Neubauer
peter.neuba...@neotechnology.com wrote:
Also,
there is another possibility: We are exposing a ECMA script
On Wed, Nov 2, 2011 at 12:01 PM, Jacob Hansson
jacob.hans...@neotechnology.com wrote:
Is there a complex reason why this is the case, and is it going to stay
this way? It feels a bit counter-intuitive..
Cypher has no way of expressing uniqueness today. I think it should. I
think the current
On Wed, Nov 2, 2011 at 11:56 AM, Jacob Hansson
jacob.hans...@neotechnology.com wrote:
On Wed, Nov 2, 2011 at 11:11 AM, Michael Hunger
michael.hun...@neotechnology.com wrote:
* custom traversals with complicated callbacks
This is really what my original question to Peter was about -
On Wed, Nov 2, 2011 at 11:54 AM, D. Frej dieter_f...@gmx.net wrote:
my use case is the following:
- a principal in a group has access to all other principals in a group
= therefore I need to go one level up to find the other principals in
the group
- additionally: if there is another group
Great suggestion. I'll add it to the backlog.
https://github.com/neo4j/community/issues/82
Andrés
On Thu, Nov 3, 2011 at 9:31 PM, Tero Paananen tpp.paana...@gmail.comwrote:
re:
http://docs.neo4j.org/chunked/snapshot/query-where.html#where-regular-expressions
Is there a way to use case
On Fri, Nov 4, 2011 at 7:11 AM, KanTube mich...@mkanner.com wrote:
i am just a little confused on this. are you going to still keep the
syntax
with a : for relationship ie.
START n=node(3)
MATCH (n)-[:BLOCKS]-(x)
RETURN x
and then if you wanted to have a more complex match you would do
Hi Johann,
There's a workaround that works, but it's not as nice as I'd like it to be.
What you can do is this:
START callee=node:node_auto_index('type:*Service')
MATCH p=(caller)-[r?:CALLS]-(callee)
WHERE r IS NULL
RETURN p
It solves your problem with optional relationships.
HTH,
Andrés
On
It's a known (and solved) problem. You can either update to snapshot, or
just reverse your path description:
MATCH p=(callee)-[r?:CALLS]-(caller)
Sorry about that...
Andrés
On Fri, Nov 4, 2011 at 1:42 PM, jschweigl johann.schwe...@gmail.com wrote:
Thanks Andres!
I already tried the
On Fri, Nov 4, 2011 at 2:57 PM, jschweigl johann.schwe...@gmail.com wrote:
Downloaded 1.5-SNAPSHOT (two times: the windows community and enterprise
flavor). No change, no matter if the relation points back or forth.
I just realized what the problem is. (It's my fault)
You are putting the
On Fri, Nov 4, 2011 at 7:04 PM, Peter Hunsberger peter.hunsber...@gmail.com
wrote:
One question, and I bet I won't be the only one asking it...
If SQL is the target to mimic, why not WHERE instead of PATTERN ?
PATTERN is a new construct, not replacing WHERE. WHERE is still in
On Fri, Nov 4, 2011 at 8:58 PM, KanTube mich...@mkanner.com wrote:
At first glance i like the new syntax. I am a bit confused on Andres
comment
that PATTERN is a new construct and is not replacing WHERE.
I'll use old-school Cypher to illustrate my the difference here. Cypher's
MATCH clause
On Fri, Nov 4, 2011 at 10:17 PM, maxdemarzi maxdema...@gmail.com wrote:
Tero Paananen wrote:
Additionally I don't find adding a join keyword to a query language that
queries a data store that has no joins better in any shape or form.
That is one way of looking at it, another way of
Did you try the query I gave you? The problem is not that you are returning
p, it's that you ask Cypher to create a path with nulls in it. Just remove
the p= in the beginning of the MATCH clause, and you should be good to go.
Andrés
On Sat, Nov 5, 2011 at 8:45 AM, jschweigl
On Nov 5, 2011 1:51 PM, Jim Webber j...@neotechnology.com wrote:
I really don't want Cypher to pander to SQL. Cypher is about graph
matching and should be awesome at it
PQL isn't any different in this aspect. Mattias' ascii-art is still the way
to describe your pattern. Cypher is already very
On Nov 6, 2011 10:55 AM, D. Frej dieter_f...@gmx.net wrote:
Hi,
Cypher allows to define multiple starting points. Example:
start n=(1, 2, 3) return n (taken from
http://docs.neo4j.org/chunked/stable/query-start.html#start-multiple-nodes-by-id
)
Can this only be done in the START clause or
On Sun, Nov 6, 2011 at 12:25 PM, Andres Taylor
andres.tay...@neotechnology.com wrote:
On Nov 6, 2011 10:55 AM, D. Frej dieter_f...@gmx.net wrote:
Hi,
Cypher allows to define multiple starting points. Example:
start n=(1, 2, 3) return n (taken from
http://docs.neo4j.org/chunked
Hi Hans,
First of - we have so far spent very little time so far making Cypher
awesome from a performance standpoint. Most of the energy has been put into
growing the syntax and expanding the feature set of Cypher.
The next version will hopefully involve a lot of performance work, and that
will
On Wed, Nov 9, 2011 at 9:28 AM, Hans Birkeland han...@funcom.com wrote:
Thanks for the quick reply! :)
This is the query: start n=node(159178) match n-[*1..4]-x return count(*)
Good to know.
The reason you are getting duplicates is because you'll get the same node
in x multiple time - there
On Fri, Nov 11, 2011 at 8:28 PM, D. Frej dieter_f...@gmx.net wrote:
Hi,
how can I put the condition relationship between two nodes in the
WHERE clause of a Cypher statement?
I have the following Cypher (simplified):
START p=...
MATCH p-...path...-(d1), p-...differentpath...-(d2)
and I
On Sat, Nov 12, 2011 at 3:23 PM, D. Frej dieter_f...@gmx.net wrote:
Hi,
what is the difference in specifying nodes in the MATCH clause with or
without ()?
There's no difference. Purely aesthetic.
Andrés
___
Neo4j mailing list
User@lists.neo4j.org
On Sat, Nov 12, 2011 at 3:32 PM, D. Frej dieter_f...@gmx.net wrote:
I recommend putting this into the documentation. As beginner to cypher,
I was puzzled because the some examples contain (), some not.
Of course. Don't know why I didn't do that earlier.
Is this OK you think?
, the whole path is null.
Makes sense?
Andrés
On Sun, Nov 13, 2011 at 1:11 PM, Mattias Persson
matt...@neotechnology.comwrote:
A Path with null in it doesn't make much sense to me. I'd prefer b) also.
Den lördagen den 12:e november 2011 skrev Andres Taylor
andres.tay...@neotechnology.com:
On Sat
On Tue, Nov 15, 2011 at 3:50 AM, gsingh93 gsingh_2...@yahoo.com wrote:
What version of Neo4j are you using? This query is valid syntax for 1.4.x
and 1.5.M01.
I'm using version 1.4.1
If possible, you should upgrade to 1.5.
Later you would want to use:
start
On Thu, Nov 17, 2011 at 1:21 PM, Christopher Schmidt
fakod...@googlemail.com wrote:
Cypher has some
similarities to SQL as a special query language. And to be honest, I think
using it programmatically will cause the same symtoms as SQL with respect
to runtime errors, type safety, abstraction
On Thu, Nov 17, 2011 at 6:14 PM, Tero Paananen tpp.paana...@gmail.comwrote:
@Query(value = start n = node(1) match (n)-[:KNOWS]-(c) where c.a =~
/.*?{foo}.*?/ return c, type = QueryType.Cypher)
PageFoo getConnectedNodes(@Param(foo) String foo, Pageable pageable);
The regular expression can
On Thu, Nov 17, 2011 at 9:55 PM, Peter Neubauer
peter.neuba...@neotechnology.com wrote:
Actually,
it might be an idea to look at this kind of DSL for Cypher, much along
the (Scala) lines of Rickards Java-DSL,
I've tried to reproduce this directly in Cypher, and through SDN, but I
haven't been able to. I will spend some more time on this tomorrow. If it's
possible for you to create a minimal test that reproduces the problem, it
would very helpful.
Andrés
On Thu, Nov 17, 2011 at 8:45 PM, Tero Paananen
On Fri, Nov 18, 2011 at 10:56 AM, D. Frej dieter_f...@gmx.net wrote:
Hi everybody,
what is the most performant way to get all directly related nodes? I
know that there are following possibilites:
- node.getRelationships()
- node.traverse(StopEvaluator.DEPTH_ONE)
- Cypher
In the first two
On Mon, Nov 21, 2011 at 3:22 AM, Aseem Kishore aseem.kish...@gmail.comwrote:
Hey guys,
If we put our app under a bit of load, creating and removing nodes and
relationships concurrently, sometimes we get back a 500 Internal Server
Error from the REST API when we do a traverse or Cypher query.
On Tue, Nov 22, 2011 at 10:20 AM, Peter Neubauer
peter.neuba...@neotechnology.com wrote:
Maybe,
but that means that every index needs to have the notion of sorting
and ordering?
I would be nice if we can introspect and see if the indexes available
support ordering.
Andrés
On Tue, Nov 22, 2011 at 6:21 PM, Peter Neubauer
peter.neuba...@neotechnology.com wrote:
Mmh,
if you have two different bound variables n and z, shouldn't n
automagically be different from z? Got a test case for this where n=z?
Yeah, you're right. I wouldn't expect to have the same node in
A recent thread prompted me to think about this again.
Today, Cypher guarantees that no two points in the matching pattern will
contain the same node or relationship. Given the pattern (a)--(b), in no
matched subgraph will a and b contain the same node.
The only exception to this is for variable
On Fri, Nov 25, 2011 at 1:40 AM, Stephen glur...@gmail.com wrote:
Is ANY() supposed to work with array properties? e.g. I have the following
WHERE clause in my query:
It is supposed to, but it doesn't yet.
Sorry about that...
Andrés
___
Neo4j
On Fri, Nov 25, 2011 at 8:57 AM, Stephen glur...@gmail.com wrote:
Ah, thanks, at least it's not user error :)
BTW, the Functions documentation
(http://docs.neo4j.org/chunked/1.5/query-function.html#functions-any)
could
use some better wording.
I absolutely agree. Do you have any
On Fri, Oct 28, 2011 at 12:57 PM, Andres Taylor
andres.tay...@neotechnology.com wrote:
Hi all!
I'm looking to make Cypher more consistent, and so less surprising. Cypher
today has two places where predicates are used, the WHERE clause, and for
the ALL/ANY/NONE/SINGLE functions.
It looks
Hey there,
That looks like a straight forward pattern matching problem, right?
START c=node(1)
MATCH a--b--c, d--c, d--b--c, e--f--c
RETURN a,d,e
This is assuming that you have the node id of c. If not, read up how you do
an index start point.
Does that help?
Andrés
On Wed, Nov 30, 2011 at
On Wed, Nov 30, 2011 at 9:13 AM, Michael Hunger
michael.hun...@neotechnology.com wrote:
what about
start c=node(1)
match path = c-[*]-n
return NODES(path)
Ouch... This is probably a rather slow query. It starts from 'c' and goes
all the way out to the end of the graph for, for every path
1 - 100 of 119 matches
Mail list logo