I spent some time looking at what others are doing for inspiration.
I kind of like the Riak/Basho approach with multipart-chunks and the approach
of explictely creating a resource for the query that can be navigated (either
via pages or first,next,[prev,last] links) and expires (and could be
re
Sorry, I'm not sure to follow.
There is just the node.delete() operation, which is commited at the end of tx.
http://wiki.neo4j.org/content/Delete_Semantics
Do you mean you want to mark a node as to be removed? There is nothing like
that.
Or do you want a property that tells you that a node has
Hi list,
There is some property that when I delete a node you mark me as to be
removed to perform the operation to clear when the transaction is completed
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
El 22/04/11 13:51, Michael Hunger escribió:
> It is in principle possible but what is the issue of having an instance (ro
> or rw) of the second db that does the parsing of the store files for you?
hi michel
if I have the instance of the second bd means that I have is a reference
to the 2nd datab
Maven 2 solved the problem.
I submitted a pull request from https://github.com/kevmoo/community to
explain such in the readme.
On Thu, Apr 21, 2011 at 02:39, Jim Webber wrote:
> Hi Kevin,
>
> I can replicate your problem. The way I worked around this was to use Maven
> 2.2.1 rather than Maven 3
And you would want to reuse your connection so you don't have to pay this
penalty per request
Just asking how would duch a REST Resource iterator look like -URI, verbs,
request,response formats?
I assume then evety query (index,traversal) would just return the iterator URI
for later consumptio
I'll be happy to host the streaming rest api "summit". Ample amounts of beer
will be provided.;-)
- Reply message -
From: "Jim Webber"
Date: Fri, Apr 22, 2011 1:46 pm
Subject: [Neo4j] REST results pagination
To: "Neo4j user discussions"
Hi Georg,
It would at least have to be an iter
That would need to hold resources on the server (potentially for an
indeterminate amount of time) since it must be stateful. In general, stateful
apis do not scale well in cases of dynamic queries.
- Reply message -
From: "Georg Summer"
Date: Fri, Apr 22, 2011 1:25 pm
Subject: [Ne
It is in principle possible but what is the issue of having an instance (ro or
rw) of the second db that does the parsing of the store files for you?
Sent from my iBrick4
Am 22.04.2011 um 19:22 schrieb Jose Angel Inda Herrera
:
> Hi Jim,
> I am creating a package of algorithms to work in such
Sax (or stax) is an example of streaming with a higher level format, but there
are plenty of other ways as well. The *critical* performance element is to
*never* have to accumulate an entire intermediate document on either side (eg
json object or xml Dom) if you can avoid it. You end up requir
Hi Georg,
It would at least have to be an iterator over pages - otherwise the results
tend to be fine-grained and so horribly inefficient for sending over a network.
Jim
On 22 Apr 2011, at 18:24, Georg Summer wrote:
> I might be a little newbish here, but then why not an Iterator?
> The iterat
Hi Jose,
My apologies, I misunderstood your initial question.
It is possible to hold 2 separate graph structures in Neo4j.
But remember to keep a handle to each graph through an index, or through some
conventional root node, otherwise you'll end up doing an expensive trawl
through GraphDataba
I might be a little newbish here, but then why not an Iterator?
The iterator lives on the server and is accessible through the REST
interface, providing a advance and value method. It either operates on a
stored and once-created-stable result set or holds the query and evaluates
it on demand (issue
Hi Jim,
I am creating a package of algorithms to work in such databases NEO4J,
then for that I have two graphs (DB), and what you want to know is how
to obtain such a node in the graph G1 from G2, but without having an
instance of G1,
This can be done?
___
Hi Michael,
> Just in case we're not talking about the same kind of streaming --
> when I think streaming, I think "streaming uploads", "streaming
> downloads", etc.
I'm thinking "chunked" transfers. That is the server starts sending a response
and then eventually terminates it when the whole re
On Thu, Apr 21, 2011 at 5:00 PM, Michael Hunger
wrote:
> Really cool discussion so far,
>
> I would also prefer streaming over paging as with that approach we can give
> both ends more of the control they need.
Just in case we're not talking about the same kind of streaming --
when I think strea
Hi Jose,
> thanks you very much for your answer, but do not know where I can find
> some example about de HA.
The main wiki page is here:
http://wiki.neo4j.org/content/High_Availability_Cluster
And the (milestone) docs are here:
http://docs.neo4j.org/chunked/milestone/server-ha.html
Jim
Hi Michael,
On 2011-04-21, at 4:38 PM, Michael Hunger wrote:
> Bob,
>
> I don't know if you have already answered these questions.
>
> Which JDK (also version) are you using for that, what are the JVM memory
> settings?
Sun's java 1.6 patch level 24 (I think I'll have to confirm on Monday)
hello Jim
thanks you very much for your answer, but do not know where I can find
some example about de HA.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
On Thu, Apr 21, 2011 at 11:18 PM, Michael Hunger <
michael.hun...@neotechnology.com> wrote:
> Rick,
>
> great thoughts.
>
> Good catch, forgot to add the in-graph representation of the results to my
> mail, thanks for adding that part. Temporary (transient) nodes and
> relationships would really r
> Client side sorting makes sense if you know the domain well enough to
> know, for example, you will receive a small enough result set to 'fit'
> in the client, and want to give the user multiple interactive sort
> options without hitting the database again. But I agree that in general
>it makes s
>
> Good catch, forgot to add the in-graph representation of the results to my
> mail, thanks for adding that part. Temporary (transient) nodes and
> relationships would really rock here, with the advantage that with HA you
> have them distributed to all cluster nodes.
> Certainly Craig has to add
Hi Jose,
> 1-i have 2 database (graph), I need to get information from one database
> to another without having to take the target database instance of
> another database.
One reasonable way of doing this is to use the HA configuration. The HA
protocol will keep two (or many) instances of the
Hi Stephen,
I think the network IO you've measured is consistent with the rest of the
behaviour your've described.
What I'm thinking is that you're simply reaching the limits of create
transaction->create a node->complete transaction->flush to filesystem (that is,
you're basically testing dis
Thanks Michael,
Please, how can I retrieve the location of the indexed node by its index?
Kobla
> You can use the indexing part of the REST API.
> That means after creation you have to add the fields you are interested in to
> an index. Then you can retrieve the node(s) later.
>
> See http://com
I was storing this as an object because this field was acting as parameters
to different functions I was calling and functions had different parameter
types.
Would Generics help here ?
so that for my pojo I can have the following instead
T a
T getA(){
return a
}
I would just give that a qu
You can use the indexing part of the REST API.
That means after creation you have to add the fields you are interested in to
an index. Then you can retrieve the node(s) later.
See http://components.neo4j.org/neo4j-server/snapshot/rest.html#Add_to_index
HTH
Michael
Sent from my iBrick4
Am 22.
Hello,
I am new to this list and I have a question about Neo4j (I am just using
Neo4j).
I install neo4j server and Jersey Client (REST API) by which I
communicate with the Neo4j database. My problem is how do I look up a
node (get the location of this node : URI) knowing the value of one of
i
Why are you using
Object a
and not int a or Integer a
SDG uses the field type and not the current value type to provide conversions
for non primitive types.
As Object is such it is converted to a String. We will look into accomodating
for Object values in the future.
By then please use the co
29 matches
Mail list logo