[Neo4j] Indexing on relationships

2014-04-11 Thread Reihane Boghrati
Hi, I have a Neo4j database with two different nodes and four different relationships. I have index on the id of each node. But I was wondering if it's possible to define index on relationships attributes as well? -- You received this message because you are subscribed to the Google Groups "

Re: [Neo4j] Neo4j-End of file from server exceptoin

2014-04-07 Thread Reihane Boghrati
) > Learn Online <http://neo4j.org/learn/online_course>, > Offline<http://www.neo4j.org/events> or > Read a Book <http://graphdatabases.com/> (in Deutsch<http://bit.ly/das-buch> > ) > We're trading T-shirts for cool Graph Models <http://bit.ly/graphgist> &g

[Neo4j] Neo4j Already in use Exception

2014-04-07 Thread Reihane Boghrati
Hi, I'm writing a client for Neo4j. I'm using java-rest binding API and Neo4j version 2.0.1. The client and server are on two different machines, client: windows 2012 data center (64-bit) and server: windows 2003 server(64-bit). When retrieving nodes, I get the following exception, is there a

[Neo4j] Neo4j-End of file from server exceptoin

2014-04-07 Thread Reihane Boghrati
Hi, I encounter an exception (shown at end of this message) with java-rest binding API of Neo4j 2.0.1 verson using a PC with Windows 2012 data center edition. My database is 10 Gigabytes in size. My workload retrieves nodes and the number of relationships per node. The way I open and close the

[Neo4j] Issue with sudden drop down in system throughput

2014-03-20 Thread Reihane Boghrati
Hi, I am running experiments with different kinds of workloads using Neo4j client-server architecture. When I run the system with actions that query the database, my observed throughput is constant throughout the experiment. However, with a mix of read (query) and write (update to nodes and ed

[Neo4j] Re: A bug? Unexpected end of file from server

2014-03-19 Thread Reihane Boghrati
Hi Cheng, I think I may have the same problem, I'm wondering if you found any solution for that? On Monday, December 10, 2012 11:29:37 PM UTC-8, ChengQian wrote: > > I may know the reason. When I use some queries which may take much space > in memory or even result in outofmemory exception. Th

Re: [Neo4j] Unable to connect to neo4j shell remotely (windows)

2014-03-17 Thread Reihane Boghrati
; You can always connect to a running server either with the http api or the > shell, > > you could also do something like this: > > > http://jexp.de/blog/2014/02/on-using-neo4j-shell-with-basic-auth-over-http-on-a-remote-server/ > > Am 16.03.2014 um 03:23 schrieb Reihane Bog

Re: [Neo4j] Unable to connect to neo4j shell remotely (windows)

2014-03-15 Thread Reihane Boghrati
is not at all for RestGraphDatabase > > it is for the command line tool, that you can use with > > bin/neo4j-shell -host -port xxx > > if you cannot connect to your server from your client, check your firewall > rules > > > > Am 16.03.2014 um 02:02 schrieb Reihane Boghrati

Re: [Neo4j] Unable to connect to neo4j shell remotely (windows)

2014-03-15 Thread Reihane Boghrati
gt; > Am 15.03.2014 um 20:56 schrieb Reihane Boghrati > > >: > > Hi, > > I have my server and client running on two different machine. I use > java-rest binding to connect to server. > When I start Neo4j with Neo4j Community I can connect to server by this > cod

[Neo4j] Unable to connect to neo4j shell remotely (windows)

2014-03-15 Thread Reihane Boghrati
Hi, I have my server and client running on two different machine. I use java-rest binding to connect to server. When I start Neo4j with Neo4j Community I can connect to server by this code: restgraphDb = new RestAPIFacade("http://serverip:7474/db/data";); But when I start Neo4j in command promp

Re: [Neo4j] Loading Neo4j Client-Server

2014-03-15 Thread Reihane Boghrati
Technology > [ skype: mr.chrisvest, twitter: chvest ] > > > On 14 Mar 2014, at 23:39, Reihane Boghrati > > wrote: > > Thanks Chris, I'll check that. > One thing more, since the number of cores is 4, but the number of virtual > cores is 8, what is the max number of th

Re: [Neo4j] Loading Neo4j Client-Server

2014-03-14 Thread Reihane Boghrati
it of a black art, I’m afraid. > > -- > Chris Vest > System Engineer, Neo Technology > [ skype: mr.chrisvest, twitter: chvest ] > > > On 14 Mar 2014, at 20:53, Reihane Boghrati > > wrote: > > Hi, > > I'm using java-rest binding API to load my database. >

Re: [Neo4j] Neo4j number of server threads

2014-03-14 Thread Reihane Boghrati
e_course>, > Offline<http://www.neo4j.org/events> or > Read a Book <http://graphdatabases.com> (in Deutsch<http://bit.ly/das-buch> > ) > We're trading T-shirts for cool Graph Models <http://bit.ly/graphgist> > > > > > > > > Am

[Neo4j] Loading Neo4j Client-Server

2014-03-14 Thread Reihane Boghrati
Hi, I'm using java-rest binding API to load my database. My client and server are on two different machines. The sever has 4 cores (8 virtual cores). I want to load the database with 100K user nodes, and 100 resource nodes. Each resource node has a "create" and a "createdfor" relationship with u

[Neo4j] Re: Neo4j number of server threads

2014-03-11 Thread Reihane Boghrati
I want to add that the operating system is Windows 2012 Datacenter. On Monday, March 10, 2014 3:25:18 PM UTC-8, Reihane Boghrati wrote: > > > Hi, > > I'm running a workload and I'm observing a low CPU and network utilization > on the PC hosting my Neo4j server. >

[Neo4j] Neo4j number of server threads

2014-03-10 Thread Reihane Boghrati
Hi, I'm running a workload and I'm observing a low CPU and network utilization on the PC hosting my Neo4j server. The disk queue is less than 1 element long; 0.04 is a typical value. I have increased the impose load several hundred folds and see no improvement. Is the default number of server t

Re: [Neo4j] Running Neo4j with multiple process

2014-03-07 Thread Reihane Boghrati
Thursday, March 6, 2014 2:07:39 PM UTC-8, Reihane Boghrati wrote: > > Creating users and resources and their relationship and the properties, is > random. Each time program calls insert entity with properties, it creates a > node or relationship (based on inputs). I'm not

Re: [Neo4j] Running Neo4j with multiple process

2014-03-06 Thread Reihane Boghrati
ting-data-in-neo4j-blog-series/ > > Michael > > > Am 06.03.2014 um 07:18 schrieb Reihane Boghrati > > >: > > I use multiple threads (200 threads). > I have 10,000 users, 4 friends per user and 10 resource per users. The > relations are like: > (users) -[firn

Re: [Neo4j] Running Neo4j with multiple process

2014-03-05 Thread Reihane Boghrati
m I doing something wrong? On Wednesday, March 5, 2014 10:03:13 PM UTC-8, Michael Hunger wrote: > > Why? > > You can load them in less than a second > > Or use multiple threads > > Sent from mobile device > > Am 06.03.2014 um 05:41 schrieb Reihane Boghrati > >

Re: [Neo4j] Running Neo4j with multiple process

2014-03-05 Thread Reihane Boghrati
me can access the storage files. > > What do you want to do? > > Michael > > Am 06.03.2014 um 01:03 schrieb Reihane Boghrati > > >: > > Hi, > > How can I load my database with multiple processes? > > This is my init function: > > static GraphDatab

[Neo4j] Running Neo4j with multiple process

2014-03-05 Thread Reihane Boghrati
Hi, How can I load my database with multiple processes? This is my init function: static GraphDatabaseService graphDb; private static final String DB_PATH = "C:/Users/Reihane/Documents/Neo4j/default.graphdb"; public boolean init() throws DBException { if (graphDb == null) graphDb = new GraphDa

Re: [Neo4j] Neo4j Deadlock

2014-02-28 Thread Reihane Boghrati
On Wednesday, February 26, 2014 4:31:38 PM UTC-8, Michael Hunger wrote: > > If a tx has not succeed, you get an exception at commit > (rollback-exception, rolledback-exception) or earlier > (deadlock-exception) > > Would be cool if you could reproduce the condition. > >

Re: [Neo4j] Neo4j Deadlock

2014-02-26 Thread Reihane Boghrati
> Can you share the exception stacktrace? > > Thanks, > > Michael > > Am 26.02.2014 um 02:19 schrieb Reihane Boghrati > > >: > > Thanks Michael :) > > Actually the reason I'm doing so, is that: > I have 11 functions (each doing a special social networking

Re: [Neo4j] Find relationship between two specific nodes

2014-02-25 Thread Reihane Boghrati
erNode1 already before that > > Michael > > Am 26.02.2014 um 01:54 schrieb Reihane Boghrati > > >: > > Hi, > > I have two specific nodes (say usernode1 and usernode2) and I want to get > the relationship between these two. So far I have this code: (which goes > thr

[Neo4j] Find relationship between two specific nodes

2014-02-25 Thread Reihane Boghrati
Hi, I have two specific nodes (say usernode1 and usernode2) and I want to get the relationship between these two. So far I have this code: (which goes through all relationships of one of the nodes to find the appropriate relationship) Iterable relIterable = userNode1.getRelationships(MyRelati

[Neo4j] Re: Alternative Index provider for Neo4j

2014-02-20 Thread Reihane Boghrati
WHERE u.userid=? AND uu.userid=? CREATE (u) -(:Friends{status:{1}})-> (uu) Best, Reihane On Thursday, February 13, 2014 11:49:57 AM UTC-8, Reihane Boghrati wrote: > > I may need to rephrase my sentence, for example we can have a user with > userid = 10 in our database, and when

[Neo4j] Re: Alternative Index provider for Neo4j

2014-02-13 Thread Reihane Boghrati
social networks (which is the focus of BG benchmark). I heard about this issue in Lucene indexing service from Prof. Ghandeharizadeh at USC DBLAB. if you wish you can contact him directly. On Wednesday, February 12, 2014 10:54:46 AM UTC-8, Reihane Boghrati wrote: > > Hi, > > I'm

Re: [Neo4j] Alternative Index provider for Neo4j

2014-02-12 Thread Reihane Boghrati
t exact lookups? > > On Wed, Feb 12, 2014 at 10:43 PM, Reihane Boghrati > > > wrote: > > Thanks, I really appreciate your help. > > > > Reihane > > > > On Wednesday, February 12, 2014 1:42:04 PM UTC-8, Chris Vest wrote: > >> > >&g

Re: [Neo4j] Alternative Index provider for Neo4j

2014-02-12 Thread Reihane Boghrati
performance. > > -- > Chris Vest > System Engineer, Neo Technology > [ skype: mr.chrisvest, twitter: chvest ] > > > On 12 Feb 2014, at 22:35, Reihane Boghrati > > wrote: > > Thank you so much, I'll try that and I'll let you know :) > I have one more question

Re: [Neo4j] Alternative Index provider for Neo4j

2014-02-12 Thread Reihane Boghrati
orrectness. They should only be about > performance. > > -- > Chris Vest > System Engineer, Neo Technology > [ skype: mr.chrisvest, twitter: chvest ] > > > On 12 Feb 2014, at 19:54, Reihane Boghrati > > wrote: > > Hi, > > I'm writing a client for Ne

[Neo4j] Alternative Index provider for Neo4j

2014-02-12 Thread Reihane Boghrati
Hi, I'm writing a client for Neo4j to evaluate that with BG benchmark. As far as I know, Neo4j is using Lucene for indexing nodes and the Cypher query for creating index is something like : CREATE INDEX ON :Users(userid) I believe that Lucene retrieval is not 100% accurate, meaning that if it do

Re: [Neo4j] Neo4j Multi threading (evaluating with BG benchmark)

2014-02-05 Thread Reihane Boghrati
ly one reference to GraphDatabaseService in your application, > that reference is threadsafe and should be shared. > > Just make sure to shut down the db cleanly when you shut down your > application. E.g. with a shutdown hook. > > Michael > > > Am 05.02.2014 um 19:09 schrieb Re

[Neo4j] Neo4j Multi threading (evaluating with BG benchmark)

2014-02-05 Thread Reihane Boghrati
Hello, I've started implementing Client for Neo4j to evaluate that with *BG benchmark* . It was working well with 1 thread, but when I was trying to load the database with more than 1 thread, it threw an exception: java.lang.RuntimeException: Error star