Book Image

Learning Neo4j 3.x - Second Edition

By : Jerome Baton
Book Image

Learning Neo4j 3.x - Second Edition

By: Jerome Baton

Overview of this book

Neo4j is a graph database that allows traversing huge amounts of data with ease. This book aims at quickly getting you started with the popular graph database Neo4j. Starting with a brief introduction to graph theory, this book will show you the advantages of using graph databases along with data modeling techniques for graph databases. You'll gain practical hands-on experience with commonly used and lesser known features for updating graph store with Neo4j's Cypher query language. Furthermore, you'll also learn to create awesome procedures using APOC and extend Neo4j's functionality, enabling integration, algorithmic analysis, and other advanced spatial operation capabilities on data. Through the course of the book you will come across implementation examples on the latest updates in Neo4j, such as in-graph indexes, scaling, performance improvements, visualization, data refactoring techniques, security enhancements, and much more. By the end of the book, you'll have gained the skills to design and implement modern spatial applications, from graphing data to unraveling business capabilities with the help of real-world use cases.
Table of Contents (24 chapters)
Title Page
Credits
About the Authors
Acknowledgement
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface

Installing APOC


The first step is to download the APOC version corresponding to your Neo4j version (same major and minor number), which can be seen in the Neo4j browser after clicking on the first tab in the upper-left corner of the screen. The next steps vary, depending on how you run Neo4j.

On a hardware server

If you have installed Neo4j on a hardware machine, whether it runs Windows, OS X, or Linux, stop your Neo4j server with the following command:

neo4j stop

Then copy the downloaded jar in the plugins subfolder and restart your server:

neo4j start

You can now jump to the paragraph Verifying APOC installation.

On a Docker container

First, you have to stop your container, as seen previously.

Then, providing you followed the instructions of the Chapter 2, Getting Started with Neo4j, cd into the neo4j folder you created and create a plugins directory:

cd ~/neo4j
mkdir plugins

In this new folder, copy the APOC JAR archive that you have downloaded.

Then, we will restart the container with a new file...