Re: [Neo4j] Server startup using Bootstrapper

2014-03-10 Thread Kalidhakani J
I solved the version conflicts.. Now I can start neo4j server on my server startup.. But wen i try to access the database through URL, I get the following exception WARN [2014-03-11 12:07:36,888] ServletHandler: doHandle(): Error for /db/data/transaction/commit java.lang.NoSuchMethodError: org.neo

[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

[Neo4j] Fulltext property index Java API

2014-03-10 Thread Jaroslav Ramba
What is the best way to create a full text index on node properties? *Node has:* type, name, description etc. I need to search all of the properties node. I found several sources for recommendations on how create fulltext index in Neo4j Java API, but I'm a little confused, what is the best wa

[Neo4j] Alteration of Path algorithms

2014-03-10 Thread Ruby
I was just wondering if there is any way to alter the path finding algorithms? I would like to use a variation of Dijkstra algorithm whereby paths chosen have a higher count. I have posted my full question on stackoverflow

Re: [Neo4j] Strategies for indexing certain properties of all Nodes

2014-03-10 Thread Michael Hunger
Good question, You could also create an UID index for each of your node-labels. When you query for nodes via their UID do you know their type (i.e. main label) too? Then that would make sense. Otherwise the approach suggested by you (with a generic "Node") label would work if you need a generi

Re: [Neo4j] Help in Optional Match

2014-03-10 Thread Luanne Coutinho
Hi Sukaant, As Craig pointed out, the data is missing in the console. So it's hard to understand the context of node 0 and node 4. If you want nodes not at all related to 4 then again as Craig suggested, a NOT (m)-[:something]-(n) is perhaps what you're looking for. Could you add data or describe

[Neo4j] Strategies for indexing certain properties of all Nodes

2014-03-10 Thread brian
Hello, This question pertains to Neo4j 2.0+ I am generating a GUID property (and some other "standard" properties) for all Nodes when the Node is created.. This is done in a TransactionEventHandler plugin. Since many of our Node lookups are by GUID, I'd like to index that property for *all* N

Re: [Neo4j] Help in Optional Match

2014-03-10 Thread Sukaant Chaudhary
Hi Craig, I'm trying the following query with *node "0" and node "4"* START m=node(4) OPTIONAL MATCH (m)-[r:FOLLOWED_BY|CREATED_BY|FOLLOW_PENDING]->(n)-[l:LOCATION]->(t) WITH r, n, l, t WHERE has(n.timeBoardName) AND n.timeBoardName =~ "(?i).*" AND has(l.locationType) AND l.locationType = 'PERMANE

Re: [Neo4j] Help in Optional Match

2014-03-10 Thread Craig Taverner
That link has the query without a database to query, so it returns error. I note that you have a WITH between your OPTIONAL MATCH and your WHERE clause. Perhaps that is your mistake? Of course it depends on what you are actually trying to achieve, which is not very clear. Certainly your descriptio

Re: [Neo4j] Help in Optional Match

2014-03-10 Thread Sukaant Chaudhary
Hi Luanne, Please try the following URL: http://console.neo4j.org/?id=sg95kp -Sukaant Chaudhary [image: linkedinbutton] On Mon, Mar 10, 2014 at 6:58 PM, Luanne Coutinho wrote: > Sukaant, can we please have a GraphGist

Re: [Neo4j] Help in Optional Match

2014-03-10 Thread Luanne Coutinho
Sukaant, can we please have a GraphGist or data at http://console.neo4j.org indicating what kind of result you're expecting. Also please go through http://docs.neo4j.org/chunked/stable/query-optional-match.html to figure out whether optional match is suited for your

[Neo4j] Help in Optional Match

2014-03-10 Thread Sukaant Chaudhary
Hi, Here in Optional Match I'm getting only those values which are having following relations with node 4 but I want all the values which are not having these relations with node 4. Please help me. START m=node(4) OPTIONAL MATCH (m)-[r:FOLLOWED_BY|CREATED_BY|FOLLOW_PENDING]->(n)-[l:LOCATION]->(t)

Re: [Neo4j] Tuning/ performance / predictability

2014-03-10 Thread Tom Zeppenfeldt
no problem .. I figured out that I had to use the terms and the 1.2M went in under 2 minutes :) now back to our query match (j1:jurt)-[:HAS_TERM]->(t)<-[:HAS_TERM]-(j2) where j1.jurt_id = 'J7' AND j2 <> j1 RETURN j2,count(*) as commonterms order by commonterms desc limit 3; still over 4

Re: [Neo4j] Tuning/ performance / predictability

2014-03-10 Thread Michael Hunger
With the indexes set you must also use the labels in match, otherwise the indexes won't be used. Sorry that I didn't do a comprehensive example, something like this (the labels might be the wrong ones for the relationshiptype BT. Also either run against a server or make sure you've edited bin/n

Re: [Neo4j] Tuning/ performance / predictability

2014-03-10 Thread Tom Zeppenfeldt
perhaps needless to say that indexes are set Indexes ON :domain(id)ONLINE ON :instantie(id) ONLINE ON :jurt(jurt_id) ONLINE ON :rechter(id) ONLINE ON :term(id) ONLINE No constraints -- You received this message because you are subscribed to the Google Group

Re: [Neo4j] Tuning/ performance / predictability

2014-03-10 Thread Tom Zeppenfeldt
Hi Michael, explanation. doing import-cypher now. just wondering whether (on the 8 GB machine with specs at start of this thread, except for now working with Neo4j 2.0.1) performance for creating rels as below is "normal". Creating nodes is fast, but when i'm creating 1.2M rels I'm looking

Re: [Neo4j] HA backup don't load data

2014-03-10 Thread Michael Hunger
If you had the database still around that failed to restart from the back that would be really helpful. Cheers, Michael (michael}-[:SUPPORTS]->(YOU)-[:USE]->(Neo4j) Learn Online, Offline or Read a Book (in Deutsch) We're trading T-shirts for cool Graph Models Am 10.03.2014 um 12:20 s

Re: [Neo4j] HA backup don't load data

2014-03-10 Thread Juliano Baggio di Sopra
I´m refactored our Neo4j application on a empty server. If you want, I can share with you the database and the usage type of Neo servers, but on my part is no longer needed. grateful! 2014-03-06 4:28 GMT-03:00 Michael Hunger : > Can you share: > - versions, OS, > - the full messages.log of th

Re: [Neo4j] Re: What are the real benefits of using Neo4j with hadoop???

2014-03-10 Thread Michael Hunger
HDFS is not a general purpose file system, it is a special FS just for Hadoop and HBase. Neo4j uses normal Windows, Linux, Mac filesystems to store its files. Cheers, Michael (michael}-[:SUPPORTS]->(YOU)-[:USE]->(Neo4j) Learn Online, Offline or Read a Book (in Deutsch) We're trading T-shi

[Neo4j] Re: What are the real benefits of using Neo4j with hadoop???

2014-03-10 Thread Nishtha Singh
Thanks Michael for your reply. Also if I use hdfs for storing neo4j database, would it be of any help??? On Monday, 10 March 2014 16:03:01 UTC+5:30, Nishtha Singh wrote: > > I am working where we are planning to use Neo4j as database. I have read > some of the use cases for using Neo4j with Ha

Re: [Neo4j] What are the real benefits of using Neo4j with hadoop???

2014-03-10 Thread Michael Hunger
If you don't know what you would use Hadoop for I wouldn't bother. If you have use-cases for large scale batch-processing you'll know. People use Hadoop for instance to extract graph information out of flat data and store it in Neo4j to run ad-hoch analytics queries. Cheers, Michael (mic

[Neo4j] What are the real benefits of using Neo4j with hadoop???

2014-03-10 Thread Nishtha Singh
I am working where we are planning to use Neo4j as database. I have read some of the use cases for using Neo4j with Hadoop but it is not very clear when exactly to use Hadoop for Neo4j. I am new to both Neo4j and Hadoop. We are using Grails framework for our project and planning to use neo4j as

Re: [Neo4j] Tuning/ performance / predictability

2014-03-10 Thread Michael Hunger
Hi Tom, what I did was basically dumping the nodes and rels from the 2.1. database using the shell tools into a csv file and then importing it into 2.0 using the batch-importer (would also have worked with the shell tools but I was too lazy :) Could be that I missed some. I think you'd be fast

Re: [Neo4j] Tuning/ performance / predictability

2014-03-10 Thread Tom Zeppenfeldt
Hi Michael, Thanks for your reply. Basically you suggest not to overspecify the queries, by leaving out the labels or identifiers when not necessary. And I learned my lesson with regard to using snapshots :) BTW : Assuming that you are using the db that I shared with you and converted it to

[Neo4j] What are the real benefits of using Hadoop for Neo4j ???

2014-03-10 Thread Nishtha Singh
I have a project requirement where we have used Neo4j as database. I have read some of the use case for using Neo4j with Hadoop but it is not clear when exactly to use Hadoop for Neo4j. As I have created the data myself for the project so my query is whether to use Hadoop only when the data in t