Hi there!
I was wondering if it was possible to add multiple key and value pairs
to the Neo4j via REST API? Something like posting a JSON array of node
URLs with keys and values to the index root.
POST /index/node/my_nodes
{
"http://neo:7474/db/data/node/52"; : {"key1" : "value1", "key2" : "val
Jose,
how did this work out, did you get into the Wiki?
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 - Your
Seeing that this was sent 11.53pm in Sweden - well done Andreas and Team!
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
Hi there,
why do you need that? If you want to load a file from within a plugin
in order to e.g. initialize something or load data, I would suggest to
use URIs (which can point to files on the filesystem, absolute or
relative) and let then your plugin load that file form the URI.
Is it a specific
I'm looking forward to it!
2011/3/25 Rick Bullotta
> Great, thanks! We'll do a test build using it and report back results.
>
> -Original Message-
> From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org]
> On Behalf Of Mattias Persson
> Sent: Friday, March 25, 2011 8:4
I think you could implement this using RELATIONSHIP_GLOBAL uniqueness, like
(from the top of my head):
Traversal.description().uniqueness( Uniqueness.RELATIONSHIP_GLOBAL )
.evaluator(new Evaluator() {
public Evaluation(Path path) {
return path.length() > 0 && endNod
Great, thanks! We'll do a test build using it and report back results.
-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of Mattias Persson
Sent: Friday, March 25, 2011 8:44 AM
To: Neo4j user discussions
Subject: Re: [Neo4j] LuceneTimel
Looking at the implementation it's bascially just one-liners wrapping a
lucene-backed Index so either way it's easy to implement/change API-wise on
your own if it would change in ways you wouldn't like. But I think it will
stick around and hopefully not change all that much.
2011/3/25 Rick Bullott
2011/3/25 Rick Bullotta
> I was referring to using custom relationships such as first/next/last to
> create what amounts to an ordered list of nodes, using relationships,
> instead of an external index. Then use traversals to navigate the "index".
>
> If you're cramming in such relationships jus
2011/3/25 Rick Bullotta
> Answering (part of) my own question, I found top(n) in QueryContext.
> Anyone have an example of its proper usage?
>
> Yes, that will limit the number of results you get back. There doesn't seem
to be examples of that. Take a look at
https://github.com/neo4j/graphdb/blo
I was referring to using custom relationships such as first/next/last to create
what amounts to an ordered list of nodes, using relationships, instead of an
external index. Then use traversals to navigate the "index".
-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-bo
2011/3/25 Rick Bullotta
> Easy question (I hope):
>
> For a simple, one key index, is it better (more performant on write and
> query) to use the indexing framework or to create your own index using
> relationships?
>
>
What do you mean by "your own index"? Using index for relationships is fast
f
Thanks, Mattias.
I suppose I should ask the question then as to whether or not this feature is
'experimental' and might be changed or removed in a future release?
Rick
-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of Mattias Perss
2011/3/25 孤竹
> Yes , This the answer I want :) As You said:
> "you can use the index to get the nodes as soon as you have added them in
> the same tx other tx get the nodes after commit"
>
>
> The real-time mean I add some nodes or relations in the index, I will get
> it as soon as In other tx.
2011/3/25 Guru GV
> Though I don't see a reason not to support it, but I did not understand the
> point of HA in a "embedded" mode. Would be interested in hearing couple of
> examples of what that would be...
>
> Embedded would mean - same VM - so replication and concurrency - do they
> really me
Great!
You could look at
https://github.com/neo4j/graphdb/blob/master/lucene-index/src/test/java/org/neo4j/index/timeline/TestTimeline.javaI
don't think there are public examples of it since it's a rather new
(and
rather small) implementation.
2011/3/25 Rick Bullotta
> Hi, Mattias.
>
>
>
> This
Hi all,
I would like to detect all cycles in a traversal.
I know the traversal framework has cycle avoidance built-in, but there
doesn't seem to be an API for cycle detection!
Has anyone already implemented a cycle detector for traversals?
Thanks in advance,
Wouter
_
Yes , This the answer I want :) As You said:
"you can use the index to get the nodes as soon as you have added them in the
same tx other tx get the nodes after commit"
The real-time mean I add some nodes or relations in the index, I will get it as
soon as In other tx.
I have see some docu
>> Also, that brings me to another question - is the Embedded version of Neo4j
>> concurrent for multiple threads ? Meaning can it have multiple simultaneous
>> connections/transactions ongoing ?
The embedded version of neo4j typically works *better* when there are multiple
threads interacting wi
Hi folks,
"Embedded" simply means running in your choice of JVM process. Most embedded
Neo4j instances aren't embedded in the hardware sense of embedded systems,
they're usually server applications that happen to use Neo4j as their database
(sensible choice!).
So imagine I have a Web app set t
If I've well understood, you can have only one connection to the database
for each VM. So, the service must be encapsulated in a singleton I guess.
How many transactions each connection can handle ?
2011/3/25 Guru GV
> Though I don't see a reason not to support it, but I did not understand the
21 matches
Mail list logo