Re: [Neo4j] Sublime Text w/ Cypher

2014-10-22 Thread Alex Frieden
Save it as a cyp file and then run $bin/neo4j-shell -file myfile.cyp That will execute the file. On Wed, Oct 22, 2014 at 8:25 PM, Sarah West wrote: > I have been writing my queries in sublime text with a Cypher add-on > feature. How do I import these queries in the neo4j console. I'm confused >

Re: [Neo4j] Re: Sorry! Too many neighbours

2014-10-08 Thread Alex Frieden
This sounds like its not a problem with neo but a limitation on the browser. I.e. there is nothing to fix. On Wed, Oct 8, 2014 at 1:10 AM, Pavan Kumar wrote: > Can this problem get solved in coming versions of Neo4j?? > > On Thu, Sep 11, 2014 at 12:20 PM, Oskar Hane > wrote: > >> Hi Pavan, >>

[Neo4j] neo4j node.js

2014-09-26 Thread Alex Frieden
Hi everyone, I have a working neo4j express node.js application. However I want to add in authentication, does anyone have any working passport or such node-neo4j examples? I wasn't able to get it to work on my own. -- You received this message because you are subscribed to the Google Group

Re: [Neo4j] HTML Web Form that updates Neo4J database

2014-09-11 Thread Alex Frieden
remote system... if that makes a difference. We want something really > simple where people inputting data just have a few boxes to fill, such as > 'name', 'member of', stuff like that. Can you recommend a web framework > that would help us out? > > On Thursday, 11 Se

Re: [Neo4j] HTML Web Form that updates Neo4J database

2014-09-11 Thread Alex Frieden
Usually its done using one of many web frameworks. On Thu, Sep 11, 2014 at 10:28 AM, Philip Garnett wrote: > Hello, > > Does anyone have an example of a simple HTML web form that updates a Neo4J > database? > > Cheers, > Phil > > -- > You received this message because you are subscribed to the G

Re: [Neo4j] Sorry! Too many neighbours

2014-09-10 Thread Alex Frieden
Do you have an example of your graph? On Wed, Sep 10, 2014 at 2:11 AM, Pavan Kumar wrote: > Hi all, > > How to resolve "Sorry! Too many neighbors" in neo4j browser. > Any help would be greatly appreciated. > > -- > Thanks & Regards, > Pavan > > -- > You received this message because you are sub

Re: [Neo4j] Neo4j Monitoring Practices

2014-09-03 Thread Alex Frieden
Second that. JMX is very confusing and I am guessing doesn't give super useful neo metrics (obviously it has some) On Wed, Sep 3, 2014 at 1:19 PM, Avindra Goolcharan wrote: > Hi, > > Are there standard practices for monitoring Neo4j? JMX is quite > confusing... perhaps someone can point me to

Re: [Neo4j] http logging not working

2014-09-02 Thread Alex Frieden
havyw...@gmail.com: > > I am facing the same problem, any update on it ? > my version is 2.0.1 > Thanks! > > 在 2014年4月11日星期五UTC+8下午9时21分16秒,Alex Frieden写道: > >> os x 10.8.5 >> neo4j 2.0.0 community >> >> Haven't changed the neo4j-http-logging.xml >

Re: [Neo4j] 'Explain' equivalent in Neo4j

2014-08-05 Thread Alex Frieden
try using PROFILE at the beginning of your query. On Tue, Aug 5, 2014 at 9:55 AM, Mohana Krishna wrote: > Is there a better way to know the query execution plan in Neo4j? (an > equivalent of 'explain' command in SQL). 'profile' command is not giving > detailed plan and in most cases is not of a

Re: [Neo4j] access permissions to users in neo4j

2014-07-09 Thread Alex Frieden
You really need to do this at the application layer. We currently restrict access to the server and to the group able to connect to it then run the rest api just on localhost. One idea you can tinker with is add a group property to certain nodes then restrict on those in your application. On Fr

Re: [Neo4j] Ensuring data integrity in Neo4j - unique outgoing relationships

2014-07-04 Thread Alex Frieden
This is probably wrong, but can't you just merge a relationship between the nodes to insure the outgoing relationship is unique? Maybe I don't fully understand the use case. On Fri, Jul 4, 2014 at 4:22 PM, Michael Hunger < michael.hun...@neotechnology.com> wrote: > There is no way yet to enforc

Re: [Neo4j] Neo4j browser doesn't show my nodes.

2014-07-02 Thread Alex Frieden
Remember, NODE_NAME is just the label you have attached to that node, not a property of the node. i.e. you need to have attached the label of Person to the node, not the property of name to filter on using MATCH with Labels. On Wed, Jul 2, 2014 at 3:22 PM, Richard L. Burton III wrote: > Have

Re: [Neo4j] Neo4j Node.js what to use for users logging in

2014-06-24 Thread Alex Frieden
in the coffin as my contempt for them grew... > > But anyway, I'll ask you the same: why? > > - Lasse > > > > PS: these are the same jokers that said we shouldn't rely on HTTPS in the > cloud because uri and headers are sent in plaintext... > > > >

[Neo4j] Neo4j Node.js what to use for users logging in

2014-06-24 Thread Alex Frieden
I currently have an app in node.js with neo4j under the hood. I would like to allow users to log in. What have people done in the past? Use an additional database? Thanks! -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this g

Re: [Neo4j] graph pattern match via java api

2014-06-23 Thread Alex Frieden
Why not use cypher? On Mon, Jun 23, 2014 at 9:51 PM, Clark Richey wrote: > All, > I am writing server side extensions to neo4J. I need to be able to find > nodes that match a graph pattern similar to: > > node has property x=foo and y= bar and outgoing relationship of type > address to node

Re: [Neo4j] START VS WHERE clauses performance

2014-06-05 Thread Alex Frieden
Do a PROFILE before each in neo4j-shell. It should provide some incite into what neo4j was doing under the hood. However those should be the same. However that isn't comparing START vs WHERE. On Thu, Jun 5, 2014 at 5:49 PM, Michael Azerhad wrote: > Using Neo4J >= 2.0.0. > > Can I assert tha

Re: [Neo4j] Just wanted to say - Michael Hunger is a beast on this mailing list.

2014-06-04 Thread Alex Frieden
I'm fairly convinced at this point he doesn't sleep. Much props Michael. On Wed, Jun 4, 2014 at 2:17 PM, Richard L. Burton III wrote: > Next time Mike is in New York City, I'll grab him a beer or 4. Unless, > he'll be in SFO June 25-27, then I'll buy him a few SFO beers. > > > On Wed, Jun 4, 2

[Neo4j] node.js neo4j driver

2014-06-03 Thread Alex Frieden
Hi y'all, I know the java-rest-bindings is a bit slow due to it having to talk to the server back and forth over the wire. Is this also true with the node.js neo4j driver. If it is slow with the object mapper? Curious about others experience. Thanks! -- You received this message because yo

[Neo4j] neo4j and mongodb

2014-05-30 Thread Alex Frieden
Has anyone built any well supported frameworks (and have examples) of using neo4j 2 and mongodb together? Thanks! -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4

[Neo4j] Re: get first match

2014-05-29 Thread Alex Frieden
More particularly, I want all people, just the first city. On Thursday, May 29, 2014 10:52:40 AM UTC-4, Alex Frieden wrote: > > Hi I have the query: > MATCH (p:Person)--(c:City) RETURN p,c; > > However I just want to return the first one. How can I do that? Thanks! > --

[Neo4j] get first match

2014-05-29 Thread Alex Frieden
Hi I have the query: MATCH (p:Person)--(c:City) RETURN p,c; However I just want to return the first one. How can I do that? Thanks! -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, sen

[Neo4j] neo4j index

2014-05-29 Thread Alex Frieden
When I run CREATE INDEX ON :Person(UUID) What exactly is the database doing to index? All I see is that it is going much faster. -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send

Re: [Neo4j] Survey: which language do you use? (python, java, etc)

2014-05-21 Thread Alex Frieden
In general for neo4j I would stick to java. Embedded API is written in it, tons of web UIs written in it(RoR, grails, SDN), and the jdbc driver is very friendly for java (not sure if there is a python equivalent) On Wed, May 21, 2014 at 10:12 AM, wrote: > I'm new to the community and to graph

Re: [Neo4j] large datasets

2014-05-18 Thread Alex Frieden
you have an example of those? Could be interesting for some new > approaches that Jake is testing privately for global graph operations. > > > > On Sun, May 18, 2014 at 6:20 PM, Alex Frieden wrote: > >> Storing Variant Call data from next generation sequencers. Some of the >

Re: [Neo4j] large datasets

2014-05-18 Thread Alex Frieden
, Michael Hunger < michael.hun...@neotechnology.com> wrote: > If you can share your domain model and their use-cases again? > > Usually as long as you do graph-local queries the total size doesn't > matter that much. > > Michael > > > On Sun, May 18, 2014 at 6:06

[Neo4j] large datasets

2014-05-18 Thread Alex Frieden
Hi guys, My group is starting to get into pretty large datasets. I was wondering if users can take about their large datasets and how they handled dealing with. By large I am talking about a neo4j database over 1TB. However, any stories of scaling data would be useful. Thanks! -- You recei

Re: [Neo4j] neo4j-java-binding quetions

2014-05-13 Thread Alex Frieden
In general you will find it to be VERY slow. I would suggest going through cypher, it is much faster. What is your use case? On Tue, May 13, 2014 at 11:07 AM, Sotiris Beis wrote: > Hi, > I am trying to get more familiar with the java-rest-binding ( > https://github.com/neo4j/java-rest-binding

Re: [Neo4j] find node by label

2014-05-13 Thread Alex Frieden
Do you have any indexes or constraints set up? For instance create index on :Person(name) This creates an index on the Person label of the name property. You NEED to do this if you haven't already. On Tue, May 13, 2014 at 10:49 AM, dani wrote: > hey' > i have a db with 250,000,000 relations

Re: [Neo4j] one big favor for next release

2014-05-13 Thread Alex Frieden
That only comes up when you are disconnected from neo4j server. Are you disconnecting from it? On Tue, May 13, 2014 at 10:01 AM, wrote: > Hi, > > can I ask the developers to remove the popup div that appears saying > "Disconnected from Neo4j. Please check if the cord is unplugged." ? > I am wo

Re: [Neo4j] neo4j testing etl

2014-05-10 Thread Alex Frieden
Got an example? Not sure on what you mean On May 9, 2014 11:55 PM, "Michael Hunger" wrote: > You can use sampling queries from data samples of your input data and > check counts > > Sent from mobile device > > Am 09.05.2014 um 09:34 schrieb Alex Frieden : > &g

[Neo4j] neo4j testing etl

2014-05-09 Thread Alex Frieden
Definitely not a simple problem: I was wondering what others have done to test whether an ETL into neo4j is correct. While you can write unit tests against the impermanentgraphdatabase. However, our ETL uses cypher and the rest endpoint. Has anyone built out a way to test for this use case

Re: [Neo4j] Query : How to import JSON in to ne04j

2014-05-03 Thread Alex Frieden
Neo4j doesn't store json arrays per say. You can store them by breaking them apart into nodes and relationships. What is your use case On May 2, 2014 8:08 PM, "Dhaval Patel" wrote: > Hey folks, > I am very new to neo4j. Can you please suggest the way how > to import the followin

[Neo4j] neo4j property store

2014-05-02 Thread Alex Frieden
Is there a way to check how big the neo4j propertystore is? Thanks! -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more option

Re: [Neo4j] State of the java-rest-bind project

2014-05-02 Thread Alex Frieden
What version of neo4j are you running? In general I would recommend using the neo4j jdbc driver On May 2, 2014 7:39 AM, "Davide D'Alto" wrote: > Hi, > I need a java client to connect to Neo4j and I've seen the java-rest-bind > project on github. > The project is still using neo4j version 1.9.x a

Re: [Neo4j] When to use START vs MATCH

2014-04-29 Thread Alex Frieden
Start is definitely useful when you know the Id and want to anchor your query. On Apr 29, 2014 7:25 PM, "Spencer Kohan" wrote: > Using Neo4j 2.0.2 on JDK 8.1, OSX 10.9.2 > > So I've been working my way through the manual, and I'm a little unsure > what the best practice is regarding START and MAT

Re: [Neo4j] Best approach for syncing two databases?

2014-04-29 Thread Alex Frieden
Is it possible to do a restore on your server from the local one using the neo4j-backup tool? On Apr 29, 2014 7:25 PM, "Spencer Kohan" wrote: > So I'm working on an project where there's a local graph database which > will be modified offline, and then periodically synced with another > instance

Re: [Neo4j] How do you update multiple nodes in neo4j using cypher?

2014-04-29 Thread Alex Frieden
My guess is your match isn't returning anything. Try just returning them first and let me know how it goes. On Apr 29, 2014 7:25 PM, "William Sharp" wrote: > > I have products with dates I want to update in a batch operation. here is > part of the cypher I am using and it is not working: > > ma

Re: [Neo4j] Neo4j setup on Amazon EC2 and concurrent transactions.

2014-04-28 Thread Alex Frieden
nd I > am exploring the option of setting it up on an amazon ec2. I wanted to get > some recommendations on the configuration. Perhaps I was thinking going for > 64GB RAM and 40GB HDD. But then I wasn't sure how much should I set the > heap memory size. > > > > > > On Mo

Re: [Neo4j] Neo4j setup on Amazon EC2 and concurrent transactions.

2014-04-28 Thread Alex Frieden
Depends on your use case (and money you want to spend). Recommendations for JVM settings: http://docs.neo4j.org/chunked/stable/configuration-jvm.html Recommendations for Memory Mapped IO Settings: http://docs.neo4j.org/chunked/stable/configuration-io-examples.html What is your use case? On Mon,

[Neo4j] full backup, is it done?

2014-04-24 Thread Alex Frieden
Ran: $ current/bin/neo4j-backup -from single://localhost -to /data/neo4j/backup/ Performing full backup from 'single://localhost' Files copied 20 40 60 80 100 ..

Re: [Neo4j] Migrate from embedded server to a "real" server

2014-04-22 Thread Alex Frieden
I would use the cypher or transaction endpoint (depending on what you are doing) and then just use some type of rest client (I use httpbuilder in groovy and have some code examples if you are interested). I would stay away from the java-rest-bindings project. Its slow and not as good in my opinio

[Neo4j] taking advantage of cache

2014-04-22 Thread Alex Frieden
One thing I have noticed is if I run a query and limit the results to a small number then run it on the larger sets the time it takes goes from minutes down to under eight seconds. What has anyone done to take advantage of the warm cache. Obviously I would like to be able to get the fast quer

Re: [Neo4j] Re: Importing data in Neo4j

2014-04-17 Thread Alex Frieden
Any chance you can create a graphgist if you are using cypher or provide code if you are using the java api. Thanks! On Thu, Apr 17, 2014 at 8:07 PM, TC wrote: > Hi, I have the similar question here. > While my data is just two part: startnode and endnode. > They don't have such label properti

[Neo4j] Re: neo4j jdbc driver giving weird output

2014-04-15 Thread Alex Frieden
Looks like this is an already reported bug in the current 2.0.1 snapshot of the JDBC driver On Sunday, April 13, 2014 8:37:53 PM UTC-4, Alex Frieden wrote: > > Running in browser (Mac OS X, neo4j 2.0.1 community) > > MATCH (n:User) RETURN n.name > > gives: > name1 > name2

[Neo4j] augmenting cypher query

2014-04-14 Thread Alex Frieden
Currently I am a cypher query: MATCH (p:Person)--(c:City) RETURN p.name,c.name; Which returns p.name, c.name alex, boston alex, brooklyn adam, cambridge However, I would like to augment this query to have it return: name, city1, city2 alex, boston, brooklyn adam, cambridge, null How would I do

[Neo4j] neo4j jdbc driver giving weird output

2014-04-13 Thread Alex Frieden
Running in browser (Mac OS X, neo4j 2.0.1 community) MATCH (n:User) RETURN n.name gives: name1 name2 name3 name4 name5 name6 When I run this code in a groovy script (using neo4j-jdbc-2.0.1-SNAPSHOT-jar-with-dependencies.jar) *import java.sql.Connection* *import java.sql.DriverManager* *import

[Neo4j] http logging not working

2014-04-11 Thread Alex Frieden
os x 10.8.5 neo4j 2.0.0 community Haven't changed the neo4j-http-logging.xml In neo4j-server.properties org.neo4j.server.http.log.enabled=true org.neo4j.server.http.log.config=conf/neo4j-http-logging.xml It created: data/log/http.log However, I tried both running queries on the browser and run

Re: [Neo4j] best practice for upgrading neo 2.0.0 to 2.0.1

2014-04-10 Thread Alex Frieden
Its automatic? How can I tell if it has happened? On Thu, Apr 10, 2014 at 5:08 PM, Michael Hunger < michael.hun...@neopersistence.com> wrote: > The store is updated automatically > > Sent from mobile device > > Am 10.04.2014 um 17:18 schrieb Alex Frieden : > > C

Re: [Neo4j] Diferent permission to view a database graph

2014-04-10 Thread Alex Frieden
M, Claudia Morgado wrote: >> >>> Hello, >>> >>> Thanks for the feedback. >>> But as you forcing your requests to have username and passwords >>> associated? >>> >>> Tks, >>> Cláudia >>> >>> >>> 2014-0

[Neo4j] best practice for upgrading neo 2.0.0 to 2.0.1

2014-04-10 Thread Alex Frieden
Currently running CentOS Neo 2.0.0 Enterprise What is the best practice for upgrading to 2.0.1 Thanks! -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr

Re: [Neo4j] Diferent permission to view a database graph

2014-04-10 Thread Alex Frieden
Currently what we have done is just restrict the access to the server it is running on. Another option that worked was setting the configs to enable https and then forcing any requests to have username and passwords associated with them. If you are having trouble setting this up graphene.com inst

[Neo4j] Re: tableau with neo4j

2014-04-09 Thread Alex Frieden
Neo4j 2.0.0 stable stock everything On Wednesday, April 9, 2014 3:57:51 PM UTC-4, Alex Frieden wrote: > > Are there currently drivers for using tableau with neo4j? > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe

[Neo4j] tableau with neo4j

2014-04-09 Thread Alex Frieden
Are there currently drivers for using tableau with neo4j? -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more options, visit ht

[Neo4j] neo4j backup

2014-04-06 Thread Alex Frieden
As a quick and dirty backup, can I just copy the graph.db directory to a different drive then to restore shut down the database, remove the graph.db directory and replace with backed up one or is this not recommended. Thanks! -- You received this message because you are subscribed to the Goog

Re: [Neo4j] rest transaction endpoint seems a bit slow, is this normal?

2014-04-02 Thread Alex Frieden
slow (or at least that is my interpretation) On Wed, Apr 2, 2014 at 8:04 PM, Michael Hunger < michael.hun...@neotechnology.com> wrote: > What do your queries look like? > > And when do you actually commit? > > > On Wed, Apr 2, 2014 at 6:48 PM, Alex Frieden wrote: > >

[Neo4j] rest transaction endpoint seems a bit slow, is this normal?

2014-04-02 Thread Alex Frieden
Hi all, using neo community 2.0 stable release on my macbook pro fall 2013. All settings are default for both (OS X 10.8.5) I have written a script that takes one of our files that is about 40,000 rows and generates about 4 nodes per row (as well as about six relationships). I have used the

Re: [Neo4j] neo4j transaction size

2014-04-02 Thread Alex Frieden
t; > > On Wed, Apr 2, 2014 at 2:32 PM, Alex Frieden wrote: > >> As I understand it, neo4j 2.0 is optimized for the transaction endpoint >> being about 1-30,000 requests per transaction and each request can be about >> 100-1000 >> >> Given a transactionId, how

[Neo4j] neo4j transaction size

2014-04-02 Thread Alex Frieden
As I understand it, neo4j 2.0 is optimized for the transaction endpoint being about 1-30,000 requests per transaction and each request can be about 100-1000 Given a transactionId, how can I find out how many requests are in that transaction? Thanks! -- You received this message because you a

Re: [Neo4j] error with foreach in transaction endpoint

2014-03-31 Thread Alex Frieden
vcfFile),(sd)-[:COMES_FROM]->(vcfRecord),(sample)-[:HAS]->(sd), FOREACH ( a in {alleles} | MERGE (allele:Allele:Locus {contig:a.contig,lower:a.lower,upper:a.upper,pattern:a.pattern,lesion:a.lesion}),CREATE (sd)-[:HAS_ALLELE]->(allele));" ^]]] On Mon, Mar 31, 2014 at

[Neo4j] error with foreach in transaction endpoint

2014-03-31 Thread Alex Frieden
MATCH (vcfFile:VcfFile {name:{_vcfFileName}}) MERGE (s:Sample {name:{sample}.name}) CREATE (vcfRecord {vcfRecord}),(sd:SampleData {sampleData}),(vcfRecord)-[:IN_FILE]->(vcfFile),(sd)-[:COMES_FROM]->(vcfRecord),(sample)-[:HAS]->(sd), FOREACH ( a in {alleles} | MERGE (allele:Allele:Locus {contig

[Neo4j] neo4j rest API merge with properties

2014-03-29 Thread Alex Frieden
Tried: POST http://localhost:7474/db/data/cypher {"query":"MERGE (n:Person {name:{props}.name}) RETURN n","params": {"props":[{"name":"john"},{"name":"Jane"}]}} and got response - ==> 400 Bad Request - ==> { - ==> "message" : "Developer: Andres claims that: Need something with

[Neo4j] putting lots of cypher queries into one post request

2014-03-28 Thread Alex Frieden
Hi all, Currently I am using HttpBuilder and sending post requests to an open transaction. Per file, I am sending about 200,000 requests to the endpoint which is a lot. I would like to batch together the query and corresponding parameter map into each post request. However, I don't see any e

Re: [Neo4j] cypher traversal to same node

2014-03-27 Thread Alex Frieden
VES_IN]-(a:Person)-[:KNOWS]-(b:Person), > (a)-[:KNOWS]->(d:Person) > RETURN a,b,c,d > > Cheers, > > Michael > > > > On Thu, Mar 27, 2014 at 3:28 PM, Alex Frieden wrote: > >> give that a shot >> http://console.neo4j.org/r/3wgnza >> >>

Re: [Neo4j] cypher traversal to same node

2014-03-27 Thread Alex Frieden
give that a shot http://console.neo4j.org/r/3wgnza On Thu, Mar 27, 2014 at 10:13 AM, Wes Freeman wrote: > What's (d) supposed to be? > > Can you set up an example graph in console.neo4j.org, or a graphgist so > we can run queries against it. > > Wes > > On Thu,

[Neo4j] cypher traversal to same node

2014-03-27 Thread Alex Frieden
So I have a person ndoe and I want to know who is a friend of a friend from a city So what this looks like is: *MATCH (c:City)--(a:Person)--(b:Person)--(a)--(d:Person) RETURN a,b,c,d* So what this is modeling is a person (a) who has three relationships: b,c,d However, when I run this query, i

Re: [Neo4j] Re: Chyper query never ends!!

2014-03-25 Thread Alex Frieden
Can you create a graphgist? On Tue, Mar 25, 2014 at 11:44 AM, Antonio Grimaldi < antonio.grimaldim...@gmail.com> wrote: > no one can help me? > > Il giorno martedì 25 marzo 2014 09:20:19 UTC+1, Antonio Grimaldi ha > scritto: >> >> i tried to execute this cypher query : >> >> StringBuilder sb = n

[Neo4j] Re: node property as a json object

2014-03-20 Thread Alex Frieden
Oops I'm an idiot http://docs.neo4j.org/chunked/stable/rest-api-node-properties.html#rest-api-property-values-can-not-be-nested On Thursday, March 20, 2014 10:54:03 AM UTC-4, Alex Frieden wrote: > > Hi all, > I am trying to run: > > CREATE (n:Person {name:'alex',ki

[Neo4j] node property as a json object

2014-03-20 Thread Alex Frieden
Hi all, I am trying to run: CREATE (n:Person {name:'alex',kids:{first:'link',second:'zelda'}}) Now I would not structure people and kids like this in a graph database, but what I actually want to do I need to store a jsonarray in certain types of nodes. I am using neo 2.0.0 OS is redhat (n

[Neo4j] neo4j curating nodes by their id

2014-03-17 Thread Alex Frieden
Currently creating a website for a small team of people in my company that does not delete nodes but edits existing ones and adds new ones. I am currently using id of the node to edit it. Now I have heard this is a bad idea since the nodes are not unique over all time (i.e. if I delete a nod

Re: [Neo4j] Neo4j Cluster doesn't function well

2014-02-25 Thread Alex Frieden
Is the 7474 port open on the security group? On Feb 25, 2014 4:18 PM, "Michael Hunger" wrote: > Can you share the full config of all 3 servers with us as well as > data/log/console.log and data/graph.db/messages.log ? > > Thanks a lot > > Michael > > Am 25.02.2014 um 08:48 schrieb Or Tzabary : >

Re: [Neo4j] http rest endpoint

2014-02-20 Thread Alex Frieden
uggg dumb mistake, I was inputting into the query a StringBuilder not a String. On Thu, Feb 20, 2014 at 10:50 AM, Alex Frieden wrote: > I have tested a simple version of http hitting the cypher rest endpoint > and it works. I a doing a more complicated one now: I am getting back this &

[Neo4j] http rest endpoint

2014-02-20 Thread Alex Frieden
I have tested a simple version of http hitting the cypher rest endpoint and it works. I a doing a more complicated one now: I am getting back this value from the endpoint: fail![status:500, statusText:Server Error, headers:[[Content-Type:text/html; charset=ISO-8859-1], [Cache-Control:must-rev

[Neo4j] string with single and double quotes

2014-02-19 Thread Alex Frieden
One of the web interfaces I have has a free text field where users once in a while input single and double quotes. This breaks a number of cypher queries. Anyone have a suggestion on best practice for this? -- You received this message because you are subscribed to the Google Groups "Neo4j"

[Neo4j] import cypher file

2014-02-18 Thread Alex Frieden
Hi y'all, I am trying to import a cypher file of about 3000 lines. I am using the import script on neo4j 2.0.0's browser. All I am getting is an "Executing query..." for over 10 minutes. Should it be taking this long? Running 2.0.0 community on macbook OS X 10.8.5 Thanks! -- You received

Re: [Neo4j] view all transactions

2014-02-18 Thread Alex Frieden
t from mobile device > > Am 18.02.2014 um 18:09 schrieb Alex Frieden : > > Ya, I was wondering if there is a way to query all transactions. I know > "all" is limited by what is set in the config. Even just querying the last > 5 transactions. > > > On Tue,

Re: [Neo4j] view all transactions

2014-02-18 Thread Alex Frieden
fy what you mean by "display" and "all"? > > Sent from mobile device > > Am 18.02.2014 um 17:39 schrieb Alex Frieden : > > Does the web front end (or cypher) have a way of displaying all > transactions that have occurred? > > -- > You received this me

[Neo4j] view all transactions

2014-02-18 Thread Alex Frieden
Does the web front end (or cypher) have a way of displaying all transactions that have occurred? -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@go

Re: [Neo4j] hi,i need to load Json data in Neo4J

2014-02-13 Thread Alex Frieden
Try this: https://github.com/jexp/batch-import On Thu, Feb 13, 2014 at 10:50 AM, silhadi ismahane wrote: > Hi, > > I made a program that does extract streaming twitter data . each tweet > (json) is stored in a line on a .csv file. > > I would use this data to integrate into a database Neo4j dat

Re: [Neo4j] Is it possible to have an index based on 2 or more properties

2014-02-12 Thread Alex Frieden
Got an example of this for both creating and using the index On Feb 12, 2014 7:48 PM, "Michael Hunger" wrote: > Right now not, it's planned for later. > > As a workaround, you can concatenate the two properties to an uniquely > indexed one. > > Michael > > > Am 12.02.2014 um 23:13 schrieb Robert

Re: [Neo4j] neo4j where like on integer similar to string

2014-01-28 Thread Alex Frieden
Perfect thanks! On Tue, Jan 28, 2014 at 1:35 PM, Michael Hunger < michael.hun...@neopersistence.com> wrote: > MATCH (n:myLabel) WHERE str(n.age) =~ '.*2.*' RETURN n > > Sent from mobile device > > Am 28.01.2014 um 19:29 schrieb Alex Frieden : > > Hi all, &g

[Neo4j] neo4j where like on integer similar to string

2014-01-28 Thread Alex Frieden
Hi all, I can succesfully filter on not exact matches for strings: MATCH (n:myLabel) WHERE n.name =~ '.*Dav.*' RETURN n However I would like to be able to do this for strings: MATCH (n:myLabel) WHERE n.age =~ '.*2.*' RETURN n This doesn't work and complains obviously because of type mismat

Re: [Neo4j] HTTP cypher queries

2014-01-27 Thread Alex Frieden
> > On Mon, Jan 27, 2014 at 6:29 PM, Alex Frieden wrote: > > Hi all, > > I wanted to build some tests to do create statements. However I don't > want > > it to build out anything. Is there any endpoint that will toss any > > transaction you throw at it but re

[Neo4j] HTTP cypher queries

2014-01-27 Thread Alex Frieden
Hi all, I wanted to build some tests to do create statements. However I don't want it to build out anything. Is there any endpoint that will toss any transaction you throw at it but respond back with the proper notification? (such as 1 node created, 1 relationship created) -- You received th

Re: [Neo4j] Return all events that occurred between two dates, with hours included

2014-01-22 Thread Alex Frieden
got a graphgist or console? On Wed, Jan 22, 2014 at 9:04 PM, Michael Azerhad wrote: > Hi, > > I would like to know what would be a "best" practice to deal with range > dates. > > So, here my use case: > > I have a lot of events in my graph, I want to return all events that > occurred between two

Re: [Neo4j] cypher query with optional match

2014-01-21 Thread Alex Frieden
#x27; > })<-[:UPDATED_VARIANT*0..]-(v)--(a:Allele) > RETURN n,v,a > > In cases where no :UPDATED_VARIANT relationship exists, n and v will be > the same node. > > Wes > > On Tue, Jan 21, 2014 at 12:38 PM, Alex Frieden wrote: > >> Hi all, I have this graph. http:

[Neo4j] cypher query with optional match

2014-01-21 Thread Alex Frieden
Hi all, I have this graph. http://console.neo4j.org/r/2yadry (let me know if that doesn't work) create (_6:Allele {name:"allele1"}), (_7:Variant {name:"variant1"}), (_8:Variant {name:"variant2"}), _6-[:HAS_VARIANT]->_7, _7-[:UPDATED_VARIANT]->_8 I want to be able to get the allele from any v

[Neo4j] shut down web server

2014-01-17 Thread Alex Frieden
Is it possible to shut down the webserver and leave the rest endpoint up? -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more o

[Neo4j] webserver config for AWS

2014-01-16 Thread Alex Frieden
if I have an AWS VM with neo4j, can I use org.neo4j.server.webserver.address=0.0.0.0 instead of the VM's ip address? It seems to work to produce a front end at the server's public IP address. Just wanted to make sure it is the intended behavior and not something whacky going on. -- You re

Re: [Neo4j] help with query

2014-01-14 Thread Alex Frieden
Perfect thanks! On Tue, Jan 14, 2014 at 9:01 AM, Luanne Coutinho wrote: > Return goes before Order by? > > > MATCH (s:VcfRecord)--(v:VcfMeta) > WITH s,v,count(v) as mycount > WHERE mycount > 1 > RETURN id(s),v > ORDER BY id(s) DESC > LIMIT 100 > > > &g

[Neo4j] help with query

2014-01-14 Thread Alex Frieden
trying to run: *MATCH (s:VcfRecord)--(v:VcfMeta) WITH s,v,count(v) as mycount WHERE mycount > 1 ORDER BY id(s) DESC RETURN id(s),v LIMIT 100* Getting error: Caught: Invalid input 'D' (line 1, column 84) "MATCH (s:VcfRecord)--(v:VcfMeta) WITH s,v,count(v) as mycount WHERE mycount > 1 ORDER BY

[Neo4j] neo4j cluster on AWS or GCE

2014-01-10 Thread Alex Frieden
Hi all, We are looking to take our current local platform and bring it up to a cloud platform. I am currently on GCE. I was wondering if there are any blog posts on how to dynamically create an N node cluster on AWS or GCE for neo4j HA? I have tried neo4j-puppet but couldn't get it to work (

Re: [Neo4j] cache_type in neo4j 2.0

2014-01-07 Thread Alex Frieden
Woot thanks Wes! On Tue, Jan 7, 2014 at 11:32 AM, Wes Freeman wrote: > It goes in neo4j.properties > > http://docs.neo4j.org/chunked/milestone/kernel-configuration.html > > Wes > > On Tue, Jan 7, 2014 at 10:59 AM, Alex Frieden wrote: > >> Hi all, I want to ex

[Neo4j] cache_type in neo4j 2.0

2014-01-07 Thread Alex Frieden
Hi all, I want to experiment with some changing in cache_type. However I can't find it in any of the config files. Is it intentionally left out and if so out of which one? -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this gro

[Neo4j] changing configurations during import

2014-01-06 Thread Alex Frieden
Hi all, I have a bash file that is doing various embedded mode imports. What happens if I change the configs during that process (namely the cache file sizes). Thanks! -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group a

Re: [Neo4j] embedded API unique node creation using schema index

2014-01-02 Thread Alex Frieden
html#tutorials-java-embedded-unique-get-or-create > > > On Thu, Jan 2, 2014 at 9:36 AM, Alex Frieden wrote: > >> Hi all, >> I saw this: >> http://docs.neo4j.org/chunked/snapshot/tutorials-java-embedded-unique-nodes.html >> >> Is there a way to do this u

[Neo4j] embedded api create unique using schema index

2014-01-02 Thread Alex Frieden
Hi all, I saw this: http://docs.neo4j.org/chunked/snapshot/tutorials-java-embedded-unique-nodes.html Is there a way to do this using the schema index instead of the legacy index? I have set up schema indexes (so property per label). I want to use that for unique node creation. Any thoughts?

[Neo4j] embedded API unique node creation using schema index

2014-01-02 Thread Alex Frieden
Hi all, I saw this: http://docs.neo4j.org/chunked/snapshot/tutorials-java-embedded-unique-nodes.html Is there a way to do this using the schema index instead of the legacy index? I have set up schema indexes (so property per label). I want to use that for unique node creation. Any thoughts?

[Neo4j] fastest way to get back nodes

2013-12-30 Thread Alex Frieden
Hi y'all, I am trying to filter through nodes to connect to the right node. Currently I am doing this: ResourceIterable runNodes = GlobalGraphOperations.at(graphDb).getAllNodesWithLabel(Labels.Run); Then I filter in memory. (a for loop with a nesting of if loops) Server mode is embedded for

[Neo4j] dark queries

2013-12-25 Thread Alex Frieden
One suggestion has been made to be running dark queries constantly. From what I understand, these are fast asynchronous queries run in the background on the server to keep the cache warmed up. Has anyone written anything up about this or similar? I'd be curious on your experience. -- You

Re: [Neo4j] async http builder

2013-12-24 Thread Alex Frieden
t; you need to pass in the cypher query in the request's body and not as > query param. See https://gist.github.com/sarmbruster/8114445 for a > working example. > > Cheers, > Stefan > > > 2013/12/23 Alex Frieden > >> Hi all, >> >> Might be the wrong

  1   2   >