Skip to content

Commit 8c78c1b

Browse files
committed
5.0 dump file and guide, relate adjustments
1 parent 1575c09 commit 8c78c1b

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

data/pole-50.dump

4.39 MB
Binary file not shown.

documentation/pole.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ MATCH (l:Location {address: '1 Coronation Street', postcode: 'M5 3RW'})
111111
WITH point(l) AS corrie
112112
MATCH (x:Location)-[:HAS_POSTCODE]->(p:PostCode),
113113
(x)<-[:OCCURRED_AT]-(c:Crime)
114-
WITH x, p, c, distance(point(x), corrie) AS distance
114+
WITH x, p, c, point.distance(point(x), corrie) AS distance
115115
WHERE distance < 500
116116
RETURN x.address AS address, p.code AS postcode, count(c) AS crime_total, collect(distinct(c.type)) AS crime_type, distance
117117
ORDER BY distance

documentation/pole.neo4j-browser-guide

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
@import url("//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css");
88

9-
.imageblock .content img, .image img {max-width: 900px;max-height: 300px;}
9+
.imageblock .content img, .image img {max-width: 100%;}
1010
.deck h3, .deck h4 {display: block !important;margin-bottom:8px;margin-top:5px;}
1111
.listingblock {margin:8px;}
1212
.pull-bottom {position:relative;bottom:1em;}
@@ -54,7 +54,7 @@
5454
<br/>
5555
<div>
5656
<div class="col-lg-6">
57-
<img src="http://guides.neo4j.com/sandbox/pole/img/pole_model_visual.jpeg" class="img-responsive">
57+
<img src="https://guides.neo4j.com/sandbox/pole/img/pole_model_visual.jpeg" class="img-responsive">
5858
</div>
5959
<div class="col-lg-6">
6060
<div class="paragraph">
@@ -236,7 +236,7 @@ LIMIT 15<!--/code--></pre>
236236
WITH point(l) AS corrie
237237
MATCH (x:Location)-[:HAS_POSTCODE]-&gt;(p:PostCode),
238238
(x)&lt;-[:OCCURRED_AT]-(c:Crime)
239-
WITH x, p, c, distance(point(x), corrie) AS distance
239+
WITH x, p, c, point.distance(point(x), corrie) AS distance
240240
WHERE distance &lt; 500
241241
RETURN x.address AS address, p.code AS postcode, count(c) AS crime_total, collect(distinct(c.type)) AS crime_type, distance
242242
ORDER BY distance

relate.project-install.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,22 @@
44
"dbms": [
55
{
66
"dumpFile": "data/pole-35.dump",
7-
"targetNeo4jVersion":"3.5",
7+
"targetNeo4jVersion":">=3.5.0 <4.0.0",
88
"plugins": ["apoc", "graph-data-science"]
99
},
1010
{
1111
"dumpFile": "data/pole-40.dump",
12-
"targetNeo4jVersion": "4.0.* - 4.2.*",
12+
"targetNeo4jVersion": ">=4.0.0 <4.3.0",
1313
"plugins": ["apoc", "graph-data-science"]
1414
},
1515
{
1616
"dumpFile": "data/pole-43.dump",
17-
"targetNeo4jVersion": "^4.3",
17+
"targetNeo4jVersion": ">=4.3.0 <5.0.0",
18+
"plugins": ["apoc", "graph-data-science"]
19+
},
20+
{
21+
"dumpFile": "data/pole-50.dump",
22+
"targetNeo4jVersion": ">=5.0.0 <6.0.0",
1823
"plugins": ["apoc", "graph-data-science"]
1924
}
2025
]

0 commit comments

Comments
 (0)