Thanks Michael for this creative idea.
But is it possible to query for _all_ objects in a Lucene index? As I
understand it, I need at least the name of an index key field, e.g. 'title',
right? What I would like to do is basically query for * (without knowing
_anything_ but the index name,
We remove nodes from the index with index.remove(node). The index is
initialized at startup with
IndexNode index = graphDb.index().forNodes(fulltextAllNodes,
MapUtil.stringMap(provider, lucene, type, fulltext));
Removing the node from the index before executing node.delete() avoids
the
Dear Graphistas,
today we would like to ask for your contribution in our efforts to create an
introductional reference card for Neo4j.
We would like to publish it as a 6 page DZone Ref-Card but also include the
content in our distribution / website.
We feel many people are overwhelmed when it
Does this problem occur with automatic node indexing?
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
Hi I have some problems with the new build of Neo4j Spatial. First if I
checkout and try to build the following error occurs [ERROR]
spatial\src\main\java\org\neo4j\gis\spatial\indexprovider\SpatialIndexProvider.java:[38,0]
error: Internal error: java.io.FileNotFoundException:
Does this problem occur with automatic node indexing?
We're not using auto indexing, so I can't say.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
Peter, I think its not possible because [ and ] are reserved for Scalas
type declarations.
The String (fe. KNOWS) is implicitly converted
into DynamicRelationshipType.withName(KNOWS).
What would be possible to get something like this (which is actually just a
change of method names):
start -
I added the following to my .sbt file and everything appears to work fine so
far..
libraryDependencies ++= Seq(
org.neo4j.app % neo4j-server % 1.5,
org.neo4j.app % neo4j-server % 1.5 classifier static-web
from
Daniel,
Could you send over the full console output of a
mvn clean install -DskipTests
?
On Nov 17, 2011 12:55 PM, danielb danielbercht...@gmail.com wrote:
Hi I have some problems with the new build of Neo4j Spatial. First if I
checkout and try to build the following error occurs [ERROR]
Great,
Thanks for sharing it! Would love to see this in some public place to be
able to refer to it. Gut it on Github somewhere?
On Nov 17, 2011 1:35 PM, g-eorge geo...@wearewalter.com wrote:
I added the following to my .sbt file and everything appears to work fine
so
far..
Eric,
Maybe we can connect over Skype and get it working? I am somewhat of a
fixing things expert :-)
On Nov 17, 2011 11:26 AM, Eric Liang eric.l.2...@gmail.com wrote:
On 11/17/2011 02:46 PM, Anders Nawroth wrote:
Hi!
From the discussion ( http://neo4j.org/forums/#nabble-td3217906 ),
On 11/17/2011 08:44 PM, Peter Neubauer wrote:
Eric,
Maybe we can connect over Skype and get it working? I am somewhat of a
fixing things expert :-)
OK. I can share the screen but talk much since my colleagues are still
working. :D
Anyway, is your skype peter.neubauer and what time is
Hi there! I've being playing around with neo4j for a few weeks now. I'm
using embedded graph db, and the data lives inside my developer machine.
But now I need to turn things into a more production like stage.
Coming from a traditional SQL world where we have our clusters of DB
running in some
Sure, here are the files, first after the checkout directly and then after I
add the missing entry (maybe you can correct this on the repository?).
http://dl.dropbox.com/u/18693700/git.txt
http://dl.dropbox.com/u/18693700/meta-inf_fixed.txt
--
View this message in context:
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
After I finally figured out that one of my main problems was with the
version of jersey used (I upgraded to 1.10),
I copied over the static web dependency to the lib folder and it worked as well.
But your approach is much nicer. Will give it a try.
On Thu, Nov 17, 2011 at 1:40 PM, Peter
2011/11/17 Axel Morgner a...@morgner.de
We remove nodes from the index with index.remove(node). The index is
initialized at startup with
It cannot be only that. By the looks of it some part of your code uses
Node#hasProperty after Node#delete, which is illegal and that's what's
causing it.
If you're using spring you can also look into Spring Data Neo4j
(http://spring.neo4j.org)
(see the docs here:
http://static.springsource.org/spring-data/data-graph/snapshot-site/reference/html/#reference:neo4j-server)
and its use of the SpringRestGraphDatabase and/or the java-rest-binding
Sure, no problem.
Here you go: https://gist.github.com/1373211
On 17 Nov 2011, at 12:41, Peter Neubauer [via Neo4j Community Discussions]
wrote:
Great,
Thanks for sharing it! Would love to see this in some public place to be
able to refer to it. Gut it on Github somewhere?
On Nov 17,
Thanks for the great reply Michael, the RESTDataService is
SpringRestGraphDatabase , sorry, I was away from docs, and was the best
approximation of the real name I had :P
Thanks a lot for clarification. I guess I'm just assuming REST will not be
enough before even trying, it may not be an
Dear all,
This concerns gremlin plugin and the script engine.
Maybe there's an explanation for this behavior:
1) gremlin x = [];
g.v(1).out(from).out(to).aggregate(x).loop(3){it.loops 4};
gremlin x;
== v[7]
== v[3]
== v[5]
2) gremlin x = [];
Hey,
It might be a little too soon to bring it up, but early December, we are
releasing Gremlin Scala in Gremlin 1.4 which will allow you to import Gremlin
into your Scala project (e.g. Neo4j-Scala Wrapper) and evaluate Gremlin queries
natively.
Hey Alfredas,
Be sure to iterate your pipeline
x = []; g.v(1).out(from).out(to).aggregate(x).loop(3){it.loops
4}.iterate(); x
* NOTE: You can also do:
g.v(1).out(from).out(to).aggregate(x).loop(3){it.loops 4} -1
but the convention is no longer with us in Gremlin
This is using 1.5 GA.
I think I found a bug (or unsupported feature) in how regular
expressions used in where clauses work in Cypher queries.
It doesn't look like having multiple regular expression conditions
in a where clause back to back works too well.
Here's an example that works:
start n
Another regular expression related issue in Cypher. 1.5 GA.
I'm using repositories extensively in my application. I'm extending the
queries defined by the repository interfaces with my own using the @Query
annotation.
It seems as if using parametrized regular expressions in these queries
isn't
Thanks!
What exactly does iterate() do?
A
On Thu, Nov 17, 2011 at 4:07 PM, Marko Rodriguez okramma...@gmail.com wrote:
Hey Alfredas,
Be sure to iterate your pipeline
x = []; g.v(1).out(from).out(to).aggregate(x).loop(3){it.loops
4}.iterate(); x
* NOTE: You can also do:
It iterates.
Sorry, couldn't resist. ;-)
-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of Alfredas Chmieliauskas
Sent: Thursday, November 17, 2011 12:31 PM
To: Neo4j user discussions
Subject: Re: [Neo4j] Gremlin plugin and script
What exactly does iterate() do?
A Gremlin expression yields a Pipeline and
PipelineS,E implements IteratorS,E
Thus, a Gremlin expression doesn't return the results of a traversal, only a
lazy iterator for .next()'ing results. For people doing a traversal to yield a
sideEffect (e.g.
It cannot be only that. By the looks of it some part of your code uses
Node#hasProperty after Node#delete, which is illegal and that's what's
causing it.
Yes, that's right. The exception is expected behaviour. But why the
node's still in the index?
I think it's just a timing problem in our
How about some time during tomorrow CET working hours?
On Nov 17, 2011 2:29 PM, Eric Liang eric.l.2...@gmail.com wrote:
On 11/17/2011 08:44 PM, Peter Neubauer wrote:
Eric,
Maybe we can connect over Skype and get it working? I am somewhat of a
fixing things expert :-)
OK. I can share the
Got it. Thanks!
Rick -1
A
On Thu, Nov 17, 2011 at 6:36 PM, Marko Rodriguez okramma...@gmail.com wrote:
What exactly does iterate() do?
A Gremlin expression yields a Pipeline and
PipelineS,E implements IteratorS,E
Thus, a Gremlin expression doesn't return the results of a
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 11/18/2011 02:34 AM, Peter Neubauer wrote:
How about some time during tomorrow CET working hours?
Fine, see you then. Thanks in advance for your time.
Eric
--
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/CS/E/MU/P d+(-) s: a- C++ UL$ P+++ L++ E++ W++ N+ o+++ K+++ w !O
M-(+) V-- PS+
@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 either be provided through a parameter, or
inlined in the query. You are
Great,
thanks a lot George! Will include it in the setup section in the
manual,
http://docs.neo4j.org/chunked/snapshot/server-embedded.html#_getting_the_libraries
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn
We have an Spring Data Graph implementation that is currently working great
with the embedded neo4j database. We want to try out the HA setup and my
understanding is you can run HA in embedded mode.
Assuming you have the HA configuration setup, would configuring the
graphDatabaseService bean to
Actually,
it might be an idea to look at this kind of DSL for Cypher, much along
the (Scala) lines of Rickards Java-DSL,
http://rickardoberg.wordpress.com/2011/11/14/creating-a-dsl-for-cypher-graph-queries/
instead of trying to mimic literal Cypher Strings.
WDYT?
Cheers,
/peter neubauer
GTalk:
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,
Deleting a node doesn't remove it from its indexes because there's no hard
link between a node and its indexes so it would be a costly operation. It
merely hides it from IndexHits and puts it up for deletion later
(read-repair). Are you getting the exception in another thread and/or is
that node
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
Hi Karthik,
You have to do the normal Neo4j HA setup
(http://docs.neo4j.org/chunked/snapshot/ha.html).
* add the additional dependencies to your project org.neo4j:neo4j-ha:1.5
* running 3 coordinators (either download neo4j-enterprise and use
start-coordinator or start the zookeeper instances
There is also Adriano's Scala Cypher DSL:
https://github.com/adrianoalmeida7/cypher-typesafe-scala
Michael
Am 17.11.2011 um 22:00 schrieb Andres Taylor:
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
42 matches
Mail list logo