首页 > 其他 > 详细

Neo4j

时间:2019-11-13 10:03:38      阅读:79      评论:0      收藏:0      [点我收藏+]
技术分享图片

Discover how graph databases can help you manage and query highly connected data — with O’Reilly’s definitive book on Graph Databases.

 

 

1. Install Neo4j
 
2. Open Neo4j Browser

技术分享图片

Start Up the Neo4j Browser

Visit: http://localhost:7474/

Once you create a new password for the ‘neo4j‘ user upon visiting the Neo4j Browser the first time, you‘ll have full access to the Neo4j database.

The Neo4j Browser is a tool for developers to explore their Neo4j database, execute Cypher queries and see results in tabular or graph form. You can even use the Browser to:

3. Explore Sample Datasets

Neo4j Sample Datasets

 
技术分享图片

Explore two sample datasets built into the Neo4j Browser using the following commands:
:play movie graph
:play northwind graph
Both datasets are easily accessible using the blue "Write Code" button under the "Jump into Code" section of the guides.

Neo4j is used by developers building applications for a wide range of use cases and industries. Graph databases are a great fit for any use case where a relationship-first approach is helpful, including content recommendations, network/IT analysis, fraud detection, Internet of Things(IoT) and more.  

Additional datasets

We‘re working on datasets for a variety of other uses cases. Are you looking for something in particular or have a suggestion? Reach out to devrel@neo4j.com.

4. Download Drivers

You‘ve already seen the Neo4j Browser - which is your developer interface to the Neo4j graph database. Now it‘s time to write code in your favorite programming language so you can start building your application.

Get the official drivers for Javascript, Java, .NET, and Python

Additionally, the community has built a wide variety of other drivers in languages like PHP, Ruby, Go, Haskell and more.

5. Create Your Data Model

Creating Your First Data Model

Start with a small data model and then build out from there - Neo4j is naturally adaptive, so you can add new node labels, relationships and properties on the fly.

Example Data Models

The developer community has provided example data models and queries for a variety of use cases outlined in Neo4j GraphGists.

Data Import

Do you have some existing data you‘d like to import? You can import your data from CSV files using the Cypher‘s LOAD CSV command. Learn more about import in the Neo4j Developer Manual: Load CSV and Importing CSV Data into Neo4j.

Of course, Neo4j believes in polyglot persistence as well - so we‘re happy if Neo4j is just one part of your overall architecture and storing your connected data, while your columnar, tabular and document data is stored elsewhere. Learn more about the various types of data integrations possible with Neo4j.

6. Get Help and Training

Neo4j

原文:https://www.cnblogs.com/sea520/p/11846962.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!