neo4j_server 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +20 -0
- data/README.rdoc +5 -0
- data/Rakefile +4 -0
- data/bin/neo4j_server +53 -0
- data/lib/neo4j_server/java.rb +8 -0
- data/lib/neo4j_server/server.rb +96 -0
- data/lib/neo4j_server/tasks.rb +18 -0
- data/lib/neo4j_server/version.rb +3 -0
- data/neo4j/CHANGES.txt +618 -0
- data/neo4j/LICENSE.txt +695 -0
- data/neo4j/LICENSES.txt +2614 -0
- data/neo4j/NOTICE.txt +220 -0
- data/neo4j/README.txt +62 -0
- data/neo4j/UPGRADE.txt +167 -0
- data/neo4j/conf/README.txt +16 -0
- data/neo4j/conf/logging.properties +73 -0
- data/neo4j/conf/neo4j-http-logging.xml +37 -0
- data/neo4j/conf/neo4j-server.properties +85 -0
- data/neo4j/conf/neo4j-wrapper.conf +38 -0
- data/neo4j/conf/neo4j.properties +30 -0
- data/neo4j/conf/windows-wrapper-logging.properties +73 -0
- data/neo4j/lib/README.txt +16 -0
- data/neo4j/lib/geronimo-jta_1.1_spec-1.1.1.jar +0 -0
- data/neo4j/lib/lucene-core-3.5.0.jar +0 -0
- data/neo4j/lib/neo4j-cypher-1.8.1.jar +0 -0
- data/neo4j/lib/neo4j-graph-algo-1.8.1.jar +0 -0
- data/neo4j/lib/neo4j-graph-matching-1.8.1.jar +0 -0
- data/neo4j/lib/neo4j-jmx-1.8.1.jar +0 -0
- data/neo4j/lib/neo4j-kernel-1.8.1.jar +0 -0
- data/neo4j/lib/neo4j-lucene-index-1.8.1.jar +0 -0
- data/neo4j/lib/neo4j-shell-1.8.1.jar +0 -0
- data/neo4j/lib/neo4j-udc-1.8.1.jar +0 -0
- data/neo4j/lib/org.apache.servicemix.bundles.jline-0.9.94_1.jar +0 -0
- data/neo4j/lib/scala-library-2.9.1-1.jar +0 -0
- data/neo4j/lib/server-api-1.8.1.jar +0 -0
- data/neo4j/plugins/README.txt +13 -0
- data/neo4j/system/README.txt +9 -0
- data/neo4j/system/lib/README.txt +7 -0
- data/neo4j/system/lib/antlr-2.7.7.jar +0 -0
- data/neo4j/system/lib/asm-3.1.jar +0 -0
- data/neo4j/system/lib/asm-analysis-3.2.jar +0 -0
- data/neo4j/system/lib/asm-commons-3.2.jar +0 -0
- data/neo4j/system/lib/asm-tree-3.2.jar +0 -0
- data/neo4j/system/lib/asm-util-3.2.jar +0 -0
- data/neo4j/system/lib/bcprov-jdk16-140.jar +0 -0
- data/neo4j/system/lib/blueprints-core-1.2.jar +0 -0
- data/neo4j/system/lib/blueprints-neo4j-graph-1.2.jar +0 -0
- data/neo4j/system/lib/commons-beanutils-1.8.0.jar +0 -0
- data/neo4j/system/lib/commons-beanutils-core-1.8.0.jar +0 -0
- data/neo4j/system/lib/commons-collections-3.2.1.jar +0 -0
- data/neo4j/system/lib/commons-configuration-1.6.jar +0 -0
- data/neo4j/system/lib/commons-digester-1.8.1.jar +0 -0
- data/neo4j/system/lib/commons-io-1.4.jar +0 -0
- data/neo4j/system/lib/commons-lang-2.4.jar +0 -0
- data/neo4j/system/lib/commons-logging-1.1.1.jar +0 -0
- data/neo4j/system/lib/concurrentlinkedhashmap-lru-1.3.1.jar +0 -0
- data/neo4j/system/lib/gremlin-groovy-1.5.jar +0 -0
- data/neo4j/system/lib/gremlin-java-1.5.jar +0 -0
- data/neo4j/system/lib/groovy-1.8.5.jar +0 -0
- data/neo4j/system/lib/jackson-core-asl-1.9.7.jar +0 -0
- data/neo4j/system/lib/jackson-jaxrs-1.9.7.jar +0 -0
- data/neo4j/system/lib/jackson-mapper-asl-1.9.7.jar +0 -0
- data/neo4j/system/lib/janino-2.5.10.jar +0 -0
- data/neo4j/system/lib/jansi-1.5.jar +0 -0
- data/neo4j/system/lib/jcl-over-slf4j-1.6.1.jar +0 -0
- data/neo4j/system/lib/jersey-core-1.9.jar +0 -0
- data/neo4j/system/lib/jersey-multipart-1.9.jar +0 -0
- data/neo4j/system/lib/jersey-server-1.9.jar +0 -0
- data/neo4j/system/lib/jettison-1.3.jar +0 -0
- data/neo4j/system/lib/jetty-6.1.25.jar +0 -0
- data/neo4j/system/lib/jetty-util-6.1.25.jar +0 -0
- data/neo4j/system/lib/jsr311-api-1.1.2.r612.jar +0 -0
- data/neo4j/system/lib/logback-access-0.9.30.jar +0 -0
- data/neo4j/system/lib/logback-classic-0.9.30.jar +0 -0
- data/neo4j/system/lib/logback-core-0.9.30.jar +0 -0
- data/neo4j/system/lib/mimepull-1.6.jar +0 -0
- data/neo4j/system/lib/neo4j-cypher-plugin-1.8.1.jar +0 -0
- data/neo4j/system/lib/neo4j-gremlin-plugin-1.8.1.jar +0 -0
- data/neo4j/system/lib/neo4j-server-1.8.1-static-web.jar +0 -0
- data/neo4j/system/lib/neo4j-server-1.8.1.jar +0 -0
- data/neo4j/system/lib/pipes-1.0.jar +0 -0
- data/neo4j/system/lib/rrd4j-2.0.7.jar +0 -0
- data/neo4j/system/lib/servlet-api-2.5-20081211.jar +0 -0
- data/neo4j/system/lib/slf4j-api-1.6.2.jar +0 -0
- data/neo4j/system/lib/stax-api-1.0.1.jar +0 -0
- data/neo4j_server.gemspec +32 -0
- metadata +138 -0
data/neo4j/NOTICE.txt
ADDED
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
Neo4j
|
|
2
|
+
Copyright © 2002-2012 Network Engine for Objects in Lund AB (referred to
|
|
3
|
+
in this notice as "Neo Technology")
|
|
4
|
+
[http://neotechnology.com]
|
|
5
|
+
|
|
6
|
+
This product includes software ("Software") developed by Neo Technology.
|
|
7
|
+
|
|
8
|
+
The copyright in the bundled Neo4j graph database (including the
|
|
9
|
+
Software) is owned by Neo Technology. The Software developed and owned
|
|
10
|
+
by Neo Technology is licensed under the GNU GENERAL PUBLIC LICENSE
|
|
11
|
+
Version 3 (http://www.fsf.org/licensing/licenses/gpl-3.0.html) ("GPL")
|
|
12
|
+
to all third parties and that license, as required by the GPL, is
|
|
13
|
+
included in the LICENSE.txt file.
|
|
14
|
+
|
|
15
|
+
However, if you have executed an End User Software License and Services
|
|
16
|
+
Agreement or an OEM Software License and Support Services Agreement, or
|
|
17
|
+
another commercial license agreement with Neo Technology or one of its
|
|
18
|
+
affiliates (each, a "Commercial Agreement"), the terms of the license in
|
|
19
|
+
such Commercial Agreement will supersede the GPL and you may use the
|
|
20
|
+
software solely pursuant to the terms of the relevant Commercial
|
|
21
|
+
Agreement.
|
|
22
|
+
|
|
23
|
+
Full license texts are found in LICENSES.txt.
|
|
24
|
+
|
|
25
|
+
Third-party licenses
|
|
26
|
+
--------------------
|
|
27
|
+
|
|
28
|
+
ASM License
|
|
29
|
+
ASM Core
|
|
30
|
+
|
|
31
|
+
Academic Free License version 3.0
|
|
32
|
+
Pure Feature Detection Library (has.js)
|
|
33
|
+
|
|
34
|
+
Apache Software License, Version 2.0
|
|
35
|
+
Apache ServiceMix Bundles: jline-0.9.94
|
|
36
|
+
Commons BeanUtils
|
|
37
|
+
Commons BeanUtils Core
|
|
38
|
+
Commons Collections
|
|
39
|
+
Commons Configuration
|
|
40
|
+
Commons Digester
|
|
41
|
+
Commons IO
|
|
42
|
+
Commons Lang
|
|
43
|
+
Commons Logging
|
|
44
|
+
ConcurrentLinkedHashMap
|
|
45
|
+
Data Mapper for Jackson
|
|
46
|
+
ExplorerCanvas
|
|
47
|
+
Groovy
|
|
48
|
+
Jackson
|
|
49
|
+
jansi
|
|
50
|
+
JAX-RS provider for JSON content type
|
|
51
|
+
JCL 1.1.1 implemented over SLF4J
|
|
52
|
+
Jettison
|
|
53
|
+
Jetty Server
|
|
54
|
+
Jetty Utilities
|
|
55
|
+
JTA 1.1
|
|
56
|
+
Lucene Core
|
|
57
|
+
RRD4J
|
|
58
|
+
Servlet Specification API
|
|
59
|
+
StAX API
|
|
60
|
+
|
|
61
|
+
BSD - Scala License
|
|
62
|
+
Scala Library
|
|
63
|
+
|
|
64
|
+
BSD - seedrandom.js
|
|
65
|
+
seedrandom.js
|
|
66
|
+
|
|
67
|
+
BSD License
|
|
68
|
+
AntLR Parser Generator
|
|
69
|
+
ASM Analysis
|
|
70
|
+
ASM Commons
|
|
71
|
+
ASM Tree
|
|
72
|
+
ASM Util
|
|
73
|
+
Blueprints-Core
|
|
74
|
+
Blueprints-Neo4jGraph
|
|
75
|
+
Easing Equations (in easing.js)
|
|
76
|
+
Gremlin-Groovy: Gremlin for the Groovy Language
|
|
77
|
+
Gremlin-Java: Gremlin for the Java Language
|
|
78
|
+
Janino
|
|
79
|
+
Pipes: A Lazy Data Flow Framework
|
|
80
|
+
Pure Feature Detection Library (has.js)
|
|
81
|
+
|
|
82
|
+
Bouncy Castle License
|
|
83
|
+
Legion of the Bouncy Castle Java Cryptography APIs
|
|
84
|
+
|
|
85
|
+
Common Development and Distribution License Version 1.1
|
|
86
|
+
jersey-core
|
|
87
|
+
jersey-multipart
|
|
88
|
+
jersey-server
|
|
89
|
+
jsr311-api
|
|
90
|
+
MIME streaming extension
|
|
91
|
+
|
|
92
|
+
Creative Commons - Glyphish
|
|
93
|
+
Glyphish Icons Free
|
|
94
|
+
|
|
95
|
+
Eclipse Public License, Version 1.0
|
|
96
|
+
Jetty Server
|
|
97
|
+
Jetty Utilities
|
|
98
|
+
Logback Access Module
|
|
99
|
+
Logback Classic Module
|
|
100
|
+
Logback Core Module
|
|
101
|
+
|
|
102
|
+
GNU General Public License, version 2
|
|
103
|
+
Color picker
|
|
104
|
+
JQuery
|
|
105
|
+
jquery.hotkeys.js
|
|
106
|
+
jquery.putCursorAtEnd.js
|
|
107
|
+
jquery.sortable.js
|
|
108
|
+
|
|
109
|
+
GNU General Public License, version 2 with the Classpath Exception
|
|
110
|
+
jersey-core
|
|
111
|
+
jersey-multipart
|
|
112
|
+
jersey-server
|
|
113
|
+
jsr311-api
|
|
114
|
+
MIME streaming extension
|
|
115
|
+
|
|
116
|
+
GNU Lesser General Public License, Version 2.1
|
|
117
|
+
Java Native Access
|
|
118
|
+
JAX-RS provider for JSON content type
|
|
119
|
+
Logback Access Module
|
|
120
|
+
Logback Classic Module
|
|
121
|
+
Logback Core Module
|
|
122
|
+
Yet Another Java Service Wrapper
|
|
123
|
+
|
|
124
|
+
MIT License
|
|
125
|
+
arbor-graphics.js
|
|
126
|
+
arbor-tween.js
|
|
127
|
+
arbor.js
|
|
128
|
+
Color picker
|
|
129
|
+
Date Format
|
|
130
|
+
JQuery
|
|
131
|
+
jquery.colorhelpers.js
|
|
132
|
+
jquery.flot.js
|
|
133
|
+
jquery.hotkeys.js
|
|
134
|
+
jquery.putCursorAtEnd.js
|
|
135
|
+
jquery.sortable.js
|
|
136
|
+
Pure Feature Detection Library (has.js)
|
|
137
|
+
SLF4J API Module
|
|
138
|
+
Underscore.js
|
|
139
|
+
|
|
140
|
+
Public Domain - JSON2
|
|
141
|
+
JSON2
|
|
142
|
+
|
|
143
|
+
Public Domain - RGB Color
|
|
144
|
+
RGB Color
|
|
145
|
+
|
|
146
|
+
Public Domain - Tango
|
|
147
|
+
Tango Icons
|
|
148
|
+
|
|
149
|
+
Dependencies with multiple licenses
|
|
150
|
+
-----------------------------------
|
|
151
|
+
|
|
152
|
+
Color picker
|
|
153
|
+
GNU General Public License, version 2
|
|
154
|
+
MIT License
|
|
155
|
+
|
|
156
|
+
JAX-RS provider for JSON content type
|
|
157
|
+
Apache Software License, Version 2.0
|
|
158
|
+
GNU Lesser General Public License, Version 2.1
|
|
159
|
+
|
|
160
|
+
JQuery
|
|
161
|
+
GNU General Public License, version 2
|
|
162
|
+
MIT License
|
|
163
|
+
|
|
164
|
+
Jetty Server
|
|
165
|
+
Apache Software License, Version 2.0
|
|
166
|
+
Eclipse Public License, Version 1.0
|
|
167
|
+
|
|
168
|
+
Jetty Utilities
|
|
169
|
+
Apache Software License, Version 2.0
|
|
170
|
+
Eclipse Public License, Version 1.0
|
|
171
|
+
|
|
172
|
+
Logback Access Module
|
|
173
|
+
Eclipse Public License, Version 1.0
|
|
174
|
+
GNU Lesser General Public License, Version 2.1
|
|
175
|
+
|
|
176
|
+
Logback Classic Module
|
|
177
|
+
Eclipse Public License, Version 1.0
|
|
178
|
+
GNU Lesser General Public License, Version 2.1
|
|
179
|
+
|
|
180
|
+
Logback Core Module
|
|
181
|
+
Eclipse Public License, Version 1.0
|
|
182
|
+
GNU Lesser General Public License, Version 2.1
|
|
183
|
+
|
|
184
|
+
MIME streaming extension
|
|
185
|
+
Common Development and Distribution License Version 1.1
|
|
186
|
+
GNU General Public License, version 2 with the Classpath Exception
|
|
187
|
+
|
|
188
|
+
Pure Feature Detection Library (has.js)
|
|
189
|
+
Academic Free License version 3.0
|
|
190
|
+
BSD License
|
|
191
|
+
MIT License
|
|
192
|
+
|
|
193
|
+
jersey-core
|
|
194
|
+
Common Development and Distribution License Version 1.1
|
|
195
|
+
GNU General Public License, version 2 with the Classpath Exception
|
|
196
|
+
|
|
197
|
+
jersey-multipart
|
|
198
|
+
Common Development and Distribution License Version 1.1
|
|
199
|
+
GNU General Public License, version 2 with the Classpath Exception
|
|
200
|
+
|
|
201
|
+
jersey-server
|
|
202
|
+
Common Development and Distribution License Version 1.1
|
|
203
|
+
GNU General Public License, version 2 with the Classpath Exception
|
|
204
|
+
|
|
205
|
+
jquery.hotkeys.js
|
|
206
|
+
GNU General Public License, version 2
|
|
207
|
+
MIT License
|
|
208
|
+
|
|
209
|
+
jquery.putCursorAtEnd.js
|
|
210
|
+
GNU General Public License, version 2
|
|
211
|
+
MIT License
|
|
212
|
+
|
|
213
|
+
jquery.sortable.js
|
|
214
|
+
GNU General Public License, version 2
|
|
215
|
+
MIT License
|
|
216
|
+
|
|
217
|
+
jsr311-api
|
|
218
|
+
Common Development and Distribution License Version 1.1
|
|
219
|
+
GNU General Public License, version 2 with the Classpath Exception
|
|
220
|
+
|
data/neo4j/README.txt
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
Neo4j 1.8.1
|
|
2
|
+
=======================================
|
|
3
|
+
|
|
4
|
+
Welcome to Neo4j release 1.8.1, a high-performance graph database.
|
|
5
|
+
This is the community distribution of Neo4j, including everything you need to
|
|
6
|
+
start building applications that can model, persist and explore graph-like data.
|
|
7
|
+
|
|
8
|
+
In the box
|
|
9
|
+
----------
|
|
10
|
+
|
|
11
|
+
Neo4j runs as a server application, exposing a Web-based management
|
|
12
|
+
interface and RESTful endpoints for data access.
|
|
13
|
+
|
|
14
|
+
Here in the installation directory, you'll find:
|
|
15
|
+
|
|
16
|
+
* bin - scripts and other executables
|
|
17
|
+
* conf - server configuration
|
|
18
|
+
* data - database, log, and other variable files
|
|
19
|
+
* doc - more light reading
|
|
20
|
+
* lib - core libraries
|
|
21
|
+
* plugins - user extensions
|
|
22
|
+
* system - super-secret server stuff
|
|
23
|
+
|
|
24
|
+
Make it go
|
|
25
|
+
----------
|
|
26
|
+
|
|
27
|
+
To get started with Neo4j, let's start the server and take a
|
|
28
|
+
look at the web interface...
|
|
29
|
+
|
|
30
|
+
1. open a console and navigate to the install directory
|
|
31
|
+
2. start the server
|
|
32
|
+
* Windows: use `bin\Neo4j.bat`
|
|
33
|
+
* Linux/Mac: use `bin/neo4j start`
|
|
34
|
+
3. in a browser, open [webadmin](http://localhost:7474/webadmin/)
|
|
35
|
+
4. from any REST client or browser, open (http://localhost:7474/db/data)
|
|
36
|
+
in order to get a REST starting point, e.g.
|
|
37
|
+
`curl -v http://localhost:7474/db/data`
|
|
38
|
+
5. shutdown the server
|
|
39
|
+
* Windows: type Ctrl-C to terminate the batch script
|
|
40
|
+
* Linux/Mac: use `bin/neo4j stop`
|
|
41
|
+
|
|
42
|
+
Learn more
|
|
43
|
+
----------
|
|
44
|
+
|
|
45
|
+
There is a manual available in the `doc` directory, which includes tutorials
|
|
46
|
+
and reference material.
|
|
47
|
+
|
|
48
|
+
Out on the internets, you'll find:
|
|
49
|
+
|
|
50
|
+
* [Neo4j Home](http://neo4j.org)
|
|
51
|
+
* [Getting Started](http://docs.neo4j.org/chunked/1.8.1/introduction.html)
|
|
52
|
+
* [The Neo4j Manual (online)](http://docs.neo4j.org/chunked/1.8.1/)
|
|
53
|
+
* [Neo4j Components](http://components.neo4j.org)
|
|
54
|
+
|
|
55
|
+
For more links, a handy [guide post](doc/guide-post.html) in the `doc`
|
|
56
|
+
directory will point you in the right direction.
|
|
57
|
+
|
|
58
|
+
License(s)
|
|
59
|
+
----------
|
|
60
|
+
Various licenses apply. Please refer to the LICENSE and NOTICE files for more
|
|
61
|
+
detailed information.
|
|
62
|
+
|
data/neo4j/UPGRADE.txt
ADDED
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
|
|
2
|
+
---------------------------------------------------------------------
|
|
3
|
+
|
|
4
|
+
Upgrading
|
|
5
|
+
|
|
6
|
+
---------------------------------------------------------------------
|
|
7
|
+
---------------------------------------------------------------------
|
|
8
|
+
|
|
9
|
+
Table of Contents
|
|
10
|
+
|
|
11
|
+
1. Automatic Upgrade
|
|
12
|
+
2. Explicit Upgrade
|
|
13
|
+
3. Upgrade 1.7 --> 1.8
|
|
14
|
+
4. Upgrade 1.6 --> 1.7
|
|
15
|
+
5. Upgrade 1.5 --> 1.6
|
|
16
|
+
6. Upgrade 1.4 --> 1.5
|
|
17
|
+
|
|
18
|
+
A database can be upgraded from a minor version to the next, e.g. 1.1
|
|
19
|
+
--> 1.2, and 1.2 --> 1.3, but you can not jump directly from 1.1 -->
|
|
20
|
+
1.3. For version 1.8 in particular, it is possible to upgrade
|
|
21
|
+
directly from version 1.5.3 and later, as an explicit upgrade. The
|
|
22
|
+
upgrade process is a one way step; databases cannot be downgraded.
|
|
23
|
+
|
|
24
|
+
For most upgrades, only small changes are required to the database
|
|
25
|
+
store, and these changes proceed automatically when you start up the
|
|
26
|
+
database using the newer version of Neo4j.
|
|
27
|
+
|
|
28
|
+
However, some upgrades require more significant changes to the
|
|
29
|
+
database store. In these cases, Neo4j will refuse to start without
|
|
30
|
+
explicit configuration to allow the upgrade.
|
|
31
|
+
|
|
32
|
+
The table below lists recent Neo4j versions, and the type of upgrade
|
|
33
|
+
required.
|
|
34
|
+
|
|
35
|
+
Table 1. Upgrade process for Neo4j version
|
|
36
|
+
|
|
37
|
+
+---------------------------------+
|
|
38
|
+
|From |To |Upgrade |
|
|
39
|
+
|Version |Version |Type |
|
|
40
|
+
|-----------+---------+-----------|
|
|
41
|
+
|1.3 |1.4 |Automatic |
|
|
42
|
+
|-----------+---------+-----------|
|
|
43
|
+
|1.4 |1.5 |Explicit |
|
|
44
|
+
|-----------+---------+-----------|
|
|
45
|
+
|1.5 |1.6 |Explicit |
|
|
46
|
+
|-----------+---------+-----------|
|
|
47
|
+
|1.6 |1.7 |Automatic |
|
|
48
|
+
|-----------+---------+-----------|
|
|
49
|
+
|1.7 |1.8 |Automatic |
|
|
50
|
+
+---------------------------------+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
---------------------------------------------------------------------
|
|
54
|
+
|
|
55
|
+
1. Automatic Upgrade
|
|
56
|
+
|
|
57
|
+
---------------------------------------------------------------------
|
|
58
|
+
|
|
59
|
+
To perform a normal upgrade (for minor changes to the database
|
|
60
|
+
store):
|
|
61
|
+
|
|
62
|
+
1. download the newer version of Neo4j
|
|
63
|
+
2. cleanly shutdown the database to upgrade, if it is running
|
|
64
|
+
3. startup the database with the newer version of Neo4j
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
---------------------------------------------------------------------
|
|
68
|
+
|
|
69
|
+
2. Explicit Upgrade
|
|
70
|
+
|
|
71
|
+
---------------------------------------------------------------------
|
|
72
|
+
|
|
73
|
+
To perform a special upgrade (for significant changes to the database
|
|
74
|
+
store):
|
|
75
|
+
|
|
76
|
+
1. make sure the database you are upgrading has been cleanly shut
|
|
77
|
+
down
|
|
78
|
+
2. set the Neo4j configuration parameter "allow_store_upgrade=true"
|
|
79
|
+
in your neo4j.properties or embedded configuration
|
|
80
|
+
3. start the database
|
|
81
|
+
4. the upgrade will happen during startup and the process is done
|
|
82
|
+
when the database has been successfully started
|
|
83
|
+
5. "allow_store_upgrade=true" configuration parameter should be
|
|
84
|
+
removed, set to "false" or commented out
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
---------------------------------------------------------------------
|
|
88
|
+
|
|
89
|
+
3. Upgrade 1.7 --> 1.8
|
|
90
|
+
|
|
91
|
+
---------------------------------------------------------------------
|
|
92
|
+
|
|
93
|
+
There are no store format changes between these versions so upgrading
|
|
94
|
+
standalone instances simply consists of starting the database with
|
|
95
|
+
the newer version. In the case of High Availability (HA)
|
|
96
|
+
installations, the communication protocol and the master election
|
|
97
|
+
algorithm have changed and a new "rolling upgrade" feature has been
|
|
98
|
+
added, removing the need to shut down the entire cluster. For more
|
|
99
|
+
information, refer to the "Upgrading a Neo4j HA Cluster" chapter of
|
|
100
|
+
the HA section of the Neo4j manual.
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
---------------------------------------------------------------------
|
|
104
|
+
|
|
105
|
+
4. Upgrade 1.6 --> 1.7
|
|
106
|
+
|
|
107
|
+
---------------------------------------------------------------------
|
|
108
|
+
|
|
109
|
+
There are no store format changes between these versions, which means
|
|
110
|
+
there is no particular procedure you need to upgrade a single
|
|
111
|
+
instance.
|
|
112
|
+
|
|
113
|
+
In an HA environment these steps need to be performed:
|
|
114
|
+
|
|
115
|
+
1. shut down all the databases in the cluster
|
|
116
|
+
2. shut down the ZooKeeper cluster and clear the version-2
|
|
117
|
+
directories on all the ZooKeeper instances
|
|
118
|
+
3. start the ZooKeeper cluster again
|
|
119
|
+
4. remove the databases except the master and start the master
|
|
120
|
+
database with 1.7
|
|
121
|
+
5. start up the other databases so that they get a copy from the
|
|
122
|
+
master
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
---------------------------------------------------------------------
|
|
126
|
+
|
|
127
|
+
5. Upgrade 1.5 --> 1.6
|
|
128
|
+
|
|
129
|
+
---------------------------------------------------------------------
|
|
130
|
+
|
|
131
|
+
This upgrade changes lucene version from 3.1 to 3.5. The upgrade
|
|
132
|
+
itself is done by Lucene by loading an index.
|
|
133
|
+
|
|
134
|
+
In an HA environment these steps need to be performed:
|
|
135
|
+
|
|
136
|
+
1. shut down all the databases in the cluster
|
|
137
|
+
2. shut down the ZooKeeper cluster and clear the version-2
|
|
138
|
+
directories on all the ZooKeeper instances
|
|
139
|
+
3. start the ZooKeeper cluster again
|
|
140
|
+
4. start up the other databases so that they get a copy from the
|
|
141
|
+
master
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
---------------------------------------------------------------------
|
|
145
|
+
|
|
146
|
+
6. Upgrade 1.4 --> 1.5
|
|
147
|
+
|
|
148
|
+
---------------------------------------------------------------------
|
|
149
|
+
|
|
150
|
+
This upgrade includes a significant change to the layout of property
|
|
151
|
+
store files, which reduces their size on disk, and improves IO
|
|
152
|
+
performance. To achieve this layout change, the upgrade process takes
|
|
153
|
+
some time to process the whole of the existing database. You should
|
|
154
|
+
budget for several minutes per gigabyte of data as part of your
|
|
155
|
+
upgrade planning.
|
|
156
|
+
|
|
157
|
+
Warning
|
|
158
|
+
|
|
159
|
+
The upgrade process for this upgrade temporarily requires additional
|
|
160
|
+
disk space, for the period while the upgrade is in progress. Before
|
|
161
|
+
starting the upgrade to Neo4j 1.5, you should ensure that the machine
|
|
162
|
+
performing the upgrade has free space equal to the current size of of
|
|
163
|
+
the database on disk. You can find the current space occupied by the
|
|
164
|
+
database by inspecting the store file directory (data/graph.db is the
|
|
165
|
+
default location in Neo4j server). Once the upgrade is complete, this
|
|
166
|
+
additional space is no longer required.
|
|
167
|
+
|