Hi Ramon,
We faced a similar problem on our current project using neo4j.
Our requirements were:
* 64-bit integer
* mostly-sequential
* custom scopes so we could have URLs like /agencies/1/clients/1/addresses/1
* web farm friendly
* mostly decentralized
* no node-specific configuration
Hello Peter,
many thanks for the quick reply, this will help!
Regards Jure
--
View this message in context:
http://neo4j-community-discussions.438527.n3.nabble.com/REST-api-get-list-of-all-relationship-properties-unique-tp3458852p3458999.html
Sent from the Neo4j Community Discussions mailing li
Jure,
if you know the Lucene query in Java, you could write a Groovy/Java
script directly accessing the IndexAPI and thus do your own Lucene
magic, see
http://docs.neo4j.org/chunked/snapshot/gremlin-plugin.html#rest-api-send-an-arbitrary-groovy-script---lucene-sorting
for an example with custom so
Dear All,
I would like to extract a list of unique properties used for all
relationships using the REST API. I created a relationship index and indexed
all properties. When I query for * using the REST API for the lucene query,
I receive lots of relationships, so it's difficult to get a unique set
Hi Agelos
Regarding your 2nd point:
2) 2) The minor issue I have regards (the otherwise brilliant) @Query,
> due to its constraint of annotating (mainly) Iterable and NOT allowing Set,
> List etc (a runtime exception is thrown
> org.springframework.data.neo4j.conversion.QueryResultBuilder$1
Chris,
my servers are not in HA, i have two dev servers and one uat server all
running the community edition with one dev server running two services at
the same time. the issue was on the uat server.
i will send you the files you requested
i deleted the data directory because i had an is
You know me and my obsession for densely connected nodes :-)
> Date: Thu, 27 Oct 2011 17:37:07 +
> From: peter.neuba...@neotechnology.com
> To: user@lists.neo4j.org
> Subject: Re: [Neo4j] Function to check whether two nodes are connected?
>
> Good catch Niels, thanks - my brain is in jet lag
Hi,
Are the three servers members of an HA cluster? If yes, can you
provide details of your setup (the conf/ directory contents would do
nicely)?
Could you provide us with the messages.log files of the servers?
Contact me off list if you have concerns about sharing it publicly.
If you could provid
Good catch Niels, thanks - my brain is in jet lag mode :-\
On Oct 27, 2011 7:26 PM, "Niels Hoogeveen"
wrote:
>
> I see I made a bit of a mistake with this one. The gist of the solution
> remains, but I made a mistake dealing with the directions of relationship.
> It should be something like this.
I see I made a bit of a mistake with this one. The gist of the solution
remains, but I made a mistake dealing with the directions of relationship.
It should be something like this.
public boolean areConnected(Node n1,Node n2, RelationshipType relType,Direction
dir) {
Direction dir2 = null;
i
I gave a different approach in another post, but I am actually not sure if I
understand the problem correctly.
You give a signature: public boolean areConnected(Node n1,Node n2,Relationship
rel,Direction dir)
If you simply want to check if the given Relationship connects n1 and n2 with
the gi
There is one caveat to this method, you'd have to know which node is most
densely connected.
Suppose one of the nodes has 100,000 relationships (incoming and outgoing) and
the other node has only a few relationships, then you'd want to iterate over
the relationships of the second node.
A sol
Bruno,
Yes thus looks good. We should put thus into a utility function to start
with. Could you please raise an issue on Github?
On Oct 27, 2011 6:39 PM, "Bruno Paiva Lima da Silva"
wrote:
> Easy: just one.
>
> For now, I've written this, but I'm still not sure it is the simplest
> way to write i
Easy: just one.
For now, I've written this, but I'm still not sure it is the simplest
way to write it
public boolean areConnected(Node n1,Node n2,Relationship
rel,Direction dir) throws Exception {
Iterable relationships = n1.getRelationships(dir);
for (Relationship r : r
Yes,
+ 1 on contributions of useful rest plugins. I would like to see them listed
in the manual, and keep the docs somewhere central. Suggestions?
On Oct 27, 2011 12:35 PM, "Kristen Eisenberg"
wrote:
> Hi Ido,
>
> > How will you go about implement such change using REST interface?
>
> With the cu
Bruno,
There is no such function low level, but toy can use a Shortest path algo to
check this. What is the maximum length for a path between the nodes?
On Oct 27, 2011 6:14 PM, "Bruno Paiva Lima da Silva"
wrote:
> Hello there!
> First of all, thanks for the help in all my previous questions, all
Hello there!
First of all, thanks for the help in all my previous questions, all the
answers have been helping me to use Neo4j with success.
I have a very simple question, but I haven't found the answer yet...
I'd like to have a function, which signature would be more or less like
this:
public
The error messages indicates that the database is already open. Is Neoclipse
open or another instance of the server running? Or some code that is opening
the database in embedded mode?
-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behal
What JDK are you using ?
Where is the path
E:\document\neo4j\Neo4j\neo4j-advanced-1.5.M02\data\graph.db\neostore ?
Is that a network path as the error message looks a bit suspicious.
I do have Windows 7 64bit so can try it later.
--
View this message in context:
http://neo4j-community-discussio
I have posted the relevant code online, interested to see what people think.
like - man you just over-engineered that !
http://rbtech.blogspot.com/2011/10/neo4j-2nd-look-setting-primary-key-on.html
--
View this message in context:
http://neo4j-community-discussions.438527.n3.nabble.com/Primar
Hi,
I noted in playing with spring-data-neo4j that the Node's under neo4j Don't
have an ID key like typically we would in an RDBMS scenario.
My use case, in short is the application I will be building out will have, a
really simple Web Interface with REST type URLs. So .. for example, I will
be
Hi Ido,
> How will you go about implement such change using REST interface?
With the current default REST interface, you can't. But you can write an
extension (either in the managed framework, or if you're brave/desperate in the
unmanaged framework through JAX-RS) which can do this.
I imagine
Thank you Michael - wish you 'll have a great conference & we're all
looking forward for the online materials :-)
On Wed, Oct 26, 2011 at 8:14 PM, Michael Hunger <
michael.hun...@neotechnology.com> wrote:
> Angelos, I'm currently at SpringOne and quite swamped, I get back to you as
> soon as pos
23 matches
Mail list logo