{"id":54340,"date":"2022-09-05T11:00:38","date_gmt":"2022-09-05T02:00:38","guid":{"rendered":"https:\/\/www.creationline.com\/?p=54340"},"modified":"2022-09-05T11:17:46","modified_gmt":"2022-09-05T02:17:46","slug":"mongodb-%e3%81%ae%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92-neo4j-%e3%81%a7%e5%8f%af%e8%a6%96%e5%8c%96%e3%81%97%e3%81%a6%e3%81%bf%e3%82%8b-neo4j-mongodb-graph","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/data-management\/mongodb\/54340","title":{"rendered":"MongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3057\u3066\u307f\u308b #Neo4j #MongoDB #Graph"},"content":{"rendered":"<style>h1 {font-size:200%; font-weight:bold;color:#12408f;padding:15px 0 15px 0;font-family: \u30e1\u30a4\u30ea\u30aa}<\/style>\n<h1><span style=\"font-weight: 400;\">\u306f\u3058\u3081\u306b<\/span><\/h1>\n<p><span style=\"font-weight: 400;\">\u672c\u7a3f\u3067\u306f\u3001\u8868\u984c\u306e\u901a\u308a\u3001MongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3059\u308b \u2018\u9023\u643a\u2019 \u3092\u8a66\u3057\u3066\u307f\u307e\u3059\u3002MongoDB \u306e\u30c7\u30fc\u30bf\u306f JSON \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u30c6\u30ad\u30b9\u30c8\u3067\u3059\u304c\u3001Neo4j \u306e\u30b0\u30e9\u30d5\u7406\u8ad6\u3092\u3082\u3063\u3066\u30b0\u30e9\u30d5\u5316\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u30c7\u30fc\u30bf\u306e\u8868\u3059\u610f\u5473\u3092\u4eba\u9593\u304c\u76f4\u611f\u7684\u306b\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u304c\u76ee\u7684\u3067\u3059\u3002<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">MongoDB \u3068\u306f<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u578b\u306eNoSQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3059\u3002\u67d4\u8edf\u6027\u3068\u62e1\u5f35\u6027\u3092\u6301\u3061\u3001\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3088\u308a\u3082\u67d4\u8edf\u306b\u691c\u7d22\u3057\u305f\u308a\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u6d3b\u7528\u3057\u305f\u52b9\u7387\u7684\u306a\u30c7\u30fc\u30bf\u63a2\u7d22\u304c\u53ef\u80fd\u3067\u3059\u3002RDB \u306e\u30c6\u30fc\u30d6\u30eb\u306b\u76f8\u5f53\u3059\u308b\u3082\u306e\u304c \u2018\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u2019 \u306b\u306a\u308a\u3001\u30ec\u30b3\u30fc\u30c9\u306b\u76f8\u5f53\u3059\u308b\u3082\u306e\u304c \u2018\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u2019 \u3068\u306a\u308a\u307e\u3059\u3002\u8a73\u3057\u304f\u306f\u3001<\/span><a href=\"\/mongodb\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">\u3053\u3061\u3089<\/span><\/a><span style=\"font-weight: 400;\">\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Neo4j \u3068\u306f<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">\u95a2\u4fc2\u578b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u6027\u80fd\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u30012000\u5e74\u9803\u304b\u3089\u958b\u767a\u304c\u59cb\u307e\u3063\u305f\u30b0\u30e9\u30d5\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3059\u3002\u30b0\u30e9\u30d5\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u3001\u30b0\u30e9\u30d5\u3092\u63cf\u753b\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u30b0\u30e9\u30d5\u7406\u8ad6\u306e\u982d\u8133\u3092\u3082\u3063\u3066\u30c7\u30fc\u30bf\u51e6\u7406\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3001\u3068\u3066\u3082\u6c4e\u7528\u6027\u306e\u9ad8\u3044\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3059\u3002\u8a73\u3057\u304f\u306f\u3001<\/span><a href=\"\/neo4j\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">\u3053\u3061\u3089<\/span><\/a><span style=\"font-weight: 400;\">\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<h1><span style=\"font-weight: 400;\">\u672c\u7a3f\u3067\u4f7f\u7528\u3059\u308b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8 (MongoDB \u306e\u30c7\u30fc\u30bf)<\/span><\/h1>\n<p><span style=\"font-weight: 400;\">\u3068\u3042\u308b\u67b6\u7a7a\u30b7\u30b9\u30c6\u30e0\u306e \u201ccluster\u201d \u3068\u3001\u305d\u306e cluster \u306b\u5c5e\u3059\u308b \u201cnode\u201d \u306e\u95a2\u4fc2\u3092\u8868\u3057\u305f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/span><\/p>\n<h4><span style=\"font-weight: 400;\">node \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/span><\/h4>\n<pre><span style=\"font-weight: 400;\">{ id: \"n1\", type: \"Node\", name: \"Node-01\" }<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">node \u3092\u8868\u3057\u307e\u3059\u3002nodes \u3068\u3044\u3046\u540d\u524d\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/span><b>Neo4j \u3068\u9023\u643a\u3059\u308b\u3068\u304d\u3001id \u3068 type \u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u5185\u306b\u5fc5\u9808<\/b><span style=\"font-weight: 400;\">\u306a\u306e\u3067\u8ffd\u52a0\u3057\u3066\u304a\u304d\u307e\u3059\u3002id \u306f node \u3054\u3068\u306b\u4e00\u610f\u306e\u5024\u3067\u3042\u308a\u3001type \u306e\u5024\u306f \u2018Node\u2019 \u56fa\u5b9a\u3067\u3059\u3002\u305d\u308c\u4ee5\u5916\u306f\u3001\u540d\u524d\u3092\u8868\u3059 name \u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u3042\u308b\u3060\u3051\u306e\u30b7\u30f3\u30d7\u30eb\u306a\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u3059\u3002<\/span><\/p>\n<h4><span style=\"font-weight: 400;\">cluster \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/span><\/h4>\n<pre><span style=\"font-weight: 400;\">{ id: \"c3\", type: \"Cluster\", name: \"Cluster-03\", active_nodes: [ \"n1\", \"n5\" ], standby_nodes: [ \"n6\" ] }<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">cluster \u3092\u8868\u3057\u307e\u3059\u3002clusters \u3068\u3044\u3046\u540d\u524d\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002id, type, name \u306f node \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3068\u540c\u3058\u3067\u3001type \u306e\u5024\u306f \u2018Cluster\u2019 \u56fa\u5b9a\u3067\u3059\u3002active_nodes \u3068 standby_nodes \u306f\u3001\u3053\u306e cluster \u306b\u5c5e\u3059\u308b node \u3092 node \u306e id \u306e\u914d\u5217\u3068\u3057\u3066\u6307\u5b9a\u3057\u307e\u3059\u3002cluster \u3068 node \u306f\u30011:n \u306e\u95a2\u4fc2\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<h1><span style=\"font-weight: 400;\">\u691c\u8a3c\u74b0\u5883<\/span><\/h1>\n<p><span style=\"font-weight: 400;\">\u691c\u8a3c\u74b0\u5883\u306f docker \u30b3\u30f3\u30c6\u30ca\u3067\u4f5c\u6210\u3057\u307e\u3059\u3002\u7b46\u8005\u306e\u74b0\u5883\u3067\u306f\u3001docker \u30db\u30b9\u30c8\u3068\u3057\u3066 Ubuntu20.04 \u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n<\/span><span style=\"font-weight: 400;\">\u203bdocker \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u95a2\u3057\u3066\u306f\u8aac\u660e\u3092\u7701\u7565\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">\u5fc5\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u306e\u6e96\u5099<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">1. docker \u30db\u30b9\u30c8\u306e\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3001\u691c\u8a3c\u3067\u4f7f\u7528\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/span><\/p>\n<pre>~$ mkdir -p mongo\/db mongo\/initdb.d mongo\/configdb neo4j\/data neo4j\/plugins neo4j\/logs<\/pre>\n<p><span style=\"font-weight: 400;\">2. $HOME\/mongo\/initdb.d \u914d\u4e0b\u306b\u3001MongoDB \u306b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306e\u30b9\u30af\u30ea\u30d7\u30c8 init.js \u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002node \u00d7 6 \u53f0\u3068 cluster \u00d7 3 \u3064\u306e\u30c7\u30fc\u30bf\u3067\u3059\u3002<\/span> <span style=\"font-weight: 400;\">\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001MongoDB \u306e\u30b3\u30f3\u30c6\u30ca\u304c\u4f5c\u6210\u3055\u308c\u305f\u5f8c\u306b\u81ea\u52d5\u3067\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">db.createUser({\r\n \u00a0user: \"mongo\",\r\n \u00a0pwd: \"mongo\",\r\n \u00a0roles: [\r\n \u00a0\u00a0\u00a0{ role: \"readWrite\", db: \"sample\" }\r\n \u00a0]\r\n});\r\ndb.auth(\"mongo\", \"mongo\");\r\ndb = db.getSiblingDB(\"sample\");\r\ndb.nodes.insertMany([\r\n \u00a0{ id: \"n1\", type: \"Node\", name: \"Node-01\" },\r\n \u00a0{ id: \"n2\", type: \"Node\", name: \"Node-02\" },\r\n \u00a0{ id: \"n3\", type: \"Node\", name: \"Node-03\" },\r\n \u00a0{ id: \"n4\", type: \"Node\", name: \"Node-04\" },\r\n \u00a0{ id: \"n5\", type: \"Node\", name: \"Node-05\" },\r\n \u00a0{ id: \"n6\", type: \"Node\", name: \"Node-06\" }\r\n]);\r\ndb.clusters.insertMany([\r\n \u00a0{ id: \"c1\", type: \"Cluster\", name: \"Cluster-01\", active_nodes: [ \"n1\", \"n2\", \"n3\" ] },\r\n \u00a0{ id: \"c2\", type: \"Cluster\", name: \"Cluster-02\", active_nodes: [ \"n3\", \"n4\" ] },\r\n \u00a0{ id: \"c3\", type: \"Cluster\", name: \"Cluster-03\", active_nodes: [ \"n1\", \"n5\" ], standby_nodes: [ \"n6\" ] }\r\n]);<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">3. init.js \u306e\u6a29\u9650\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">~\/mongo\/initdb.d$ chmod o+rw init.js\u00a0<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">4. $HOME\/neo4j\/plugins \u914d\u4e0b\u306b\u3001MongoDB \u3068 Neo4j \u306e\u9023\u643a\u306b\u5fc5\u8981\u306a\u4ee5\u4e0b\u306e jar \u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">~\/neo4j\/plugins$ wget <\/span><span style=\"font-weight: 400;\">https:\/\/github.com\/neo4j-contrib\/neo4j-apoc-procedures\/releases\/download\/4.4.0.7\/apoc-4.4.0.7-all.jar <\/span><span style=\"font-weight: 400;\">&amp;&amp; \\<\/span>\r\n<span style=\"font-weight: 400;\">wget <\/span><span style=\"font-weight: 400;\">https:\/\/repo1.maven.org\/maven2\/org\/mongodb\/bson\/3.12.11\/bson-3.12.11.jar <\/span><span style=\"font-weight: 400;\">&amp;&amp; \\<\/span>\r\n<span style=\"font-weight: 400;\">wget <\/span><span style=\"font-weight: 400;\">https:\/\/repo1.maven.org\/maven2\/org\/mongodb\/mongo-java-driver\/3.12.11\/mongo-java-driver-3.12.11.jar <\/span><span style=\"font-weight: 400;\">&amp;&amp; \\<\/span>\r\n<span style=\"font-weight: 400;\">wget <\/span><span style=\"font-weight: 400;\">https:\/\/repo1.maven.org\/maven2\/org\/mongodb\/mongodb-driver\/3.12.11\/mongodb-driver-3.12.11.jar <\/span><span style=\"font-weight: 400;\">&amp;&amp; \\<\/span>\r\n<span style=\"font-weight: 400;\">wget <\/span><span style=\"font-weight: 400;\">https:\/\/repo1.maven.org\/maven2\/org\/mongodb\/mongodb-driver-core\/3.12.11\/mongodb-driver-core-3.12.11.jar <\/span><span style=\"font-weight: 400;\">&amp;&amp; \\<\/span>\r\n<span style=\"font-weight: 400;\">wget <\/span><span style=\"font-weight: 400;\">https:\/\/repo1.maven.org\/maven2\/com\/fasterxml\/jackson\/core\/jackson-annotations\/2.13.3\/jackson-annotations-2.13.3.jar <\/span><span style=\"font-weight: 400;\">&amp;&amp; \\<\/span>\r\n<span style=\"font-weight: 400;\">wget <\/span><span style=\"font-weight: 400;\">https:\/\/repo1.maven.org\/maven2\/com\/fasterxml\/jackson\/core\/jackson-core\/2.13.3\/jackson-core-2.13.3.jar <\/span><span style=\"font-weight: 400;\">&amp;&amp; \\<\/span>\r\n<span style=\"font-weight: 400;\">wget <\/span><span style=\"font-weight: 400;\">https:\/\/repo1.maven.org\/maven2\/com\/fasterxml\/jackson\/core\/jackson-databind\/2.13.3\/jackson-databind-2.13.3.jar<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">5. \u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u914d\u4e0b\u306b\u3001docker-compose.yml \u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u306f\u3001\u4ee5\u4e0b\u306e\u69d8\u306b\u3057\u307e\u3059\u3002<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">version: \"3.9\"<\/span>\r\n<span style=\"font-weight: 400;\">services:<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0mongo:<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0container_name: mongo-test<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0image: mongo:latest<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0ports:<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0- 27017:27017<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0volumes:<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0- $HOME\/mongo\/initdb.d:\/docker-entrypoint-initdb.d<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0- $HOME\/mongo\/db:\/data\/db<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0- $HOME\/mongo\/configdb:\/data\/configdb<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0environment:<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0TZ: Asia\/Tokyo<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0MONGO_INITDB_ROOT_USERNAME: \"root\"<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0MONGO_INITDB_ROOT_PASSWORD: \"example\"<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0MONGO_INITDB_DATABASE: \"sample\"<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0neo4j:<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0container_name: neo4j-test<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0image: neo4j:latest<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0ports:<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0- 7474:7474<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0- 7687:7687<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0volumes:<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0- $HOME\/neo4j\/data:\/data<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0- $HOME\/neo4j\/plugins:\/plugins<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0- $HOME\/neo4j\/logs:\/logs<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0environment:<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0NEO4J_apoc_export_file_enabled: \"true\"<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0NEO4J_apoc_import_file_enabled: \"true\"<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0NEO4J_apoc_import_file_use__neo4j__config: \"true\"<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">6. \u30d5\u30a1\u30a4\u30eb\u306e\u6e96\u5099\u5b8c\u4e86\u5f8c\u306f\u3001\u4ee5\u4e0b\u306e\u69d8\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">~$ tree<\/span>\r\n<span style=\"font-weight: 400;\">.<\/span>\r\n<span style=\"font-weight: 400;\">\u251c\u2500\u2500 docker-compose.yml<\/span>\r\n<span style=\"font-weight: 400;\">\u251c\u2500\u2500 mongo<\/span>\r\n<span style=\"font-weight: 400;\">\u2502 \u00a0 \u251c\u2500\u2500 configdb<\/span>\r\n<span style=\"font-weight: 400;\">\u2502 \u00a0 \u251c\u2500\u2500 db<\/span>\r\n<span style=\"font-weight: 400;\">\u2502 \u00a0 \u2514\u2500\u2500 initdb.d<\/span>\r\n<span style=\"font-weight: 400;\">\u2502 \u00a0 \u00a0 \u00a0 \u2514\u2500\u2500 init.js<\/span>\r\n<span style=\"font-weight: 400;\">\u2514\u2500\u2500 neo4j<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u251c\u2500\u2500 data<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u251c\u2500\u2500 logs<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u2514\u2500\u2500 plugins<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u251c\u2500\u2500 apoc-4.4.0.7-all.jar<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u251c\u2500\u2500 bson-3.12.11.jar<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u251c\u2500\u2500 jackson-annotations-2.13.3.jar<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u251c\u2500\u2500 jackson-core-2.13.3.jar<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u251c\u2500\u2500 jackson-databind-2.13.3.jar<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u251c\u2500\u2500 mongodb-driver-3.12.11.jar<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u251c\u2500\u2500 mongodb-driver-core-3.12.11.jar<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u2514\u2500\u2500 mongo-java-driver-3.12.11.jar<\/span><\/pre>\n<h2><span style=\"font-weight: 400;\">docker \u30b3\u30f3\u30c6\u30ca\u306e\u4f5c\u6210<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">\u5148\u7a0b\u4f5c\u6210\u3057\u305f docker-composey.yml \u304b\u3089\u3001\u30b3\u30f3\u30c6\u30ca\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">~$ docker-compose up -d<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">\u6b63\u5e38\u306b\u8d77\u52d5\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u69d8\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">~$ docker-compose ps<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0Name \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Command \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 State \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Ports\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>\r\n<span style=\"font-weight: 400;\">-----------------------------------------------------------------------------------------------------------------------------------<\/span>\r\n<span style=\"font-weight: 400;\">mongo-test \u00a0 docker-entrypoint.sh mongod\u00a0 \u00a0 \u00a0 Up\u00a0 \u00a0 \u00a0 0.0.0.0:27017-&gt;27017\/tcp,:::27017-&gt;27017\/tcp\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span>\r\n<span style=\"font-weight: 400;\">neo4j-test \u00a0 tini -g -- \/startup\/docker ... \u00a0 Up\u00a0 \u00a0 \u00a0 7473\/tcp, 0.0.0.0:7474-&gt;7474\/tcp,:::7474-&gt;7474\/tcp,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00.0.0.0:7687-&gt;7687\/tcp,:::7687-&gt;7687\/tcp<\/span><\/pre>\n<h2><span style=\"font-weight: 400;\">Neo4j \u30d6\u30e9\u30a6\u30b6<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Neo4j \u30d6\u30e9\u30a6\u30b6\u306f\u3001HTTP\/HTTPS \u3067 Neo4j \u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u3057\u3001\u5bfe\u8a71\u5f0f\u3067\u30b0\u30e9\u30d5\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u64cd\u4f5c\u3067\u304d\u308b GUI \u30c4\u30fc\u30eb\u3067\u3059\u3002\u3053\u306e Neo4j \u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3001MongoDB \u304b\u3089\u53d6\u5f97\u3057\u305f\u30c7\u30fc\u30bf\u3092\u57fa\u306b\u30b0\u30e9\u30d5\u3092\u63cf\u753b\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">1. Web \u30d6\u30e9\u30a6\u30b6\u30fc\u304b\u3089\u3001\u4ee5\u4e0b\u306e URL \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><strong><em>http:\/\/&lt;docker \u30db\u30b9\u30c8\u306e IP \u30a2\u30c9\u30ec\u30b9&gt;:7474\/browser\/<\/em><\/strong><\/p>\n<p><span style=\"font-weight: 400;\">2. \u63a5\u7d9a (\u30ed\u30b0\u30a4\u30f3) \u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/p>\n<p><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/001.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-54358 size-medium\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/001-360x173.png\" alt=\"\" width=\"360\" height=\"173\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/001-360x173.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/001.png 727w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">3. \u521d\u671f\u8a2d\u5b9a\u306f\u4ee5\u4e0b\u306e\u5024\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u306e\u3067\u3001[Connect] \u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u63a5\u7d9a\u3057\u307e\u3059\u3002<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">username: neo4j<\/span><\/li>\n<li><span style=\"font-weight: 400;\">password: neo4j<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">4. \u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5909\u66f4\u3092\u6c42\u3081\u3089\u308c\u308b\u306e\u3067\u3001\u4efb\u610f\u306e\u5024\u3092\u6307\u5b9a\u3057\u3066 [Change password] \u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/002.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-54359 size-medium\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/002-360x97.png\" alt=\"\" width=\"360\" height=\"97\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/002-360x97.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/002.png 722w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">5. \u5909\u66f4\u5f8c\u3001\u4ee5\u4e0b\u306e\u69d8\u306a\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<p><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/003.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-54360 size-medium\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/003-360x131.png\" alt=\"\" width=\"360\" height=\"131\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/003-360x131.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/003.png 416w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\" \/><\/a><\/p>\n<h1><span style=\"font-weight: 400;\">Neo4j APOC<\/span><\/h1>\n<p><span style=\"font-weight: 400;\">APOC \u306f \"A Package Of Component\" \u306e\u7565\u3067\u3001Neo4j \u306e\u6a5f\u80fd\u3092\u62e1\u5f35\u3059\u308b\u305f\u3081\u306e\u30a2\u30c9\u30aa\u30f3\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002APOC \u306e\u4e2d\u306b\u306f MongoDB \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3082\u542b\u307e\u308c\u3066\u304a\u308a\u3001\u3053\u308c\u3092\u4f7f\u7528\u3059\u308c\u3070\u3001 MongoDB \u306b\u63a5\u7d9a\u3057\u3066\u691c\u7d22\u306a\u3069\u306e\u30af\u30a8\u30ea\u3092\u9001\u4fe1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">MongoDB \u306b\u63a5\u7d9a\u3057\u3066\u30c7\u30fc\u30bf\u306e\u53d6\u5f97<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">\u5c11\u3005\u9577\u3044\u3067\u3059\u304c\u3001'neo4j$' \u3068\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/008.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-54375 size-medium\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/008-360x119.png\" alt=\"\" width=\"360\" height=\"119\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/008-360x119.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/008-1024x339.png 1024w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/008-768x254.png 768w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/008.png 1178w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\" \/><\/a><\/p>\n<pre><span style=\"font-weight: 400;\">call<\/span><span style=\"font-weight: 400;\"> apoc<\/span><span style=\"font-weight: 400;\">.<\/span><span style=\"font-weight: 400;\">mongo<\/span><span style=\"font-weight: 400;\">.<\/span><span style=\"font-weight: 400;\">aggregate<\/span><span style=\"font-weight: 400;\">(<\/span><span style=\"font-weight: 400;\">'mongodb:\/\/mongo:mongo@mongo-test\/sample.clusters'<\/span><span style=\"font-weight: 400;\">,<\/span>\r\n<span style=\"font-weight: 400;\">[<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0{ <\/span><span style=\"font-weight: 400;\">`$lookup`<\/span><span style=\"font-weight: 400;\">:<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400;\">{<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400;\">from<\/span><span style=\"font-weight: 400;\">:<\/span> <span style=\"font-weight: 400;\">'nodes'<\/span><span style=\"font-weight: 400;\">,<\/span><span style=\"font-weight: 400;\"> localField<\/span><span style=\"font-weight: 400;\">:<\/span> <span style=\"font-weight: 400;\">'active_nodes'<\/span><span style=\"font-weight: 400;\">,<\/span> <span style=\"font-weight: 400;\">foreignField<\/span><span style=\"font-weight: 400;\">:<\/span> <span style=\"font-weight: 400;\">'id'<\/span><span style=\"font-weight: 400;\">,<\/span> <span style=\"font-weight: 400;\">as<\/span><span style=\"font-weight: 400;\">:<\/span> <span style=\"font-weight: 400;\">'active_node'<\/span><span style=\"font-weight: 400;\">,<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0pipeline<\/span><span style=\"font-weight: 400;\">: [ { <\/span><span style=\"font-weight: 400;\">`$unset`<\/span><span style=\"font-weight: 400;\">:<\/span> <span style=\"font-weight: 400;\">[ <\/span><span style=\"font-weight: 400;\">'_id' <\/span><span style=\"font-weight: 400;\">] } ]<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400;\">}<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0},<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0<\/span><span style=\"font-weight: 400;\">{ <\/span><span style=\"font-weight: 400;\">`$lookup`<\/span><span style=\"font-weight: 400;\">:<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400;\">{<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400;\">from<\/span><span style=\"font-weight: 400;\">:<\/span> <span style=\"font-weight: 400;\">'nodes'<\/span><span style=\"font-weight: 400;\">,<\/span><span style=\"font-weight: 400;\"> localField<\/span><span style=\"font-weight: 400;\">:<\/span> <span style=\"font-weight: 400;\">'standby_nodes'<\/span><span style=\"font-weight: 400;\">,<\/span><span style=\"font-weight: 400;\"> foreignField<\/span><span style=\"font-weight: 400;\">:<\/span> <span style=\"font-weight: 400;\">'id'<\/span><span style=\"font-weight: 400;\">,<\/span> <span style=\"font-weight: 400;\">as<\/span><span style=\"font-weight: 400;\">:<\/span> <span style=\"font-weight: 400;\">'standby_node'<\/span><span style=\"font-weight: 400;\">,<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0pipeline<\/span><span style=\"font-weight: 400;\">: [ { <\/span><span style=\"font-weight: 400;\">`$unset`<\/span><span style=\"font-weight: 400;\">:<\/span> <span style=\"font-weight: 400;\">[ <\/span><span style=\"font-weight: 400;\">'_id' <\/span><span style=\"font-weight: 400;\">] } ]<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400;\">}<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0<\/span><span style=\"font-weight: 400;\">},<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0<\/span><span style=\"font-weight: 400;\">{ <\/span><span style=\"font-weight: 400;\">`$unwind`<\/span><span style=\"font-weight: 400;\">:<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0{<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400;\">path<\/span><span style=\"font-weight: 400;\">: <\/span><span style=\"font-weight: 400;\">'$standby_node'<\/span><span style=\"font-weight: 400;\">,<\/span><span style=\"font-weight: 400;\"> preserveNullAndEmptyArrays<\/span><span style=\"font-weight: 400;\">:<\/span> <span style=\"font-weight: 400;\">true<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400;\">}<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0},<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0<\/span><span style=\"font-weight: 400;\">{ <\/span><span style=\"font-weight: 400;\">`$unset`<\/span><span style=\"font-weight: 400;\">:<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400;\">[ <\/span><span style=\"font-weight: 400;\">'_id'<\/span><span style=\"font-weight: 400;\">,<\/span> <span style=\"font-weight: 400;\">'active_nodes'<\/span><span style=\"font-weight: 400;\">,<\/span> <span style=\"font-weight: 400;\">'standby_nodes' <\/span><span style=\"font-weight: 400;\">]<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0}<\/span>\r\n<span style=\"font-weight: 400;\">])<\/span> <span style=\"font-weight: 400;\">yield<\/span><span style=\"font-weight: 400;\"> value\r\n<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u7d50\u679c\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002APOC \u3067 MongoDB \u306b\u63a5\u7d9a\u3057\u3001\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002\u307e\u305f\u3001aggregate \u3092\u4f7f\u3063\u3066\u3001\u5c11\u3057\u8907\u96d1\u306a\u96c6\u8a08\u306e\u51e6\u7406\u3082\u554f\u984c\u306a\u304f\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/span><\/p>\n<p><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/004.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-54361 size-full\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/004.png\" alt=\"\" width=\"812\" height=\"378\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/004.png 812w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/004-360x168.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/004-768x358.png 768w\" sizes=\"auto, (max-width: 812px) 100vw, 812px\" \/><\/a><\/p>\n<h3><span style=\"font-weight: 400;\">\u30b3\u30de\u30f3\u30c9\u89e3\u8aac<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">call apoc.xxx \u3067\u3001APOC \u306e\u6a5f\u80fd\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4eca\u56de\u306f MongoDB \u306e\u96c6\u8a08\u51e6\u7406\u3092\u884c\u3046\u305f\u3081\u306b\u3001call apoc.mongo.<\/span><span style=\"font-weight: 400;\">aggregate \u3092\u5b9f\u884c\u3057\u307e\u3057\u305f\u3002\u4ee5\u5f8c\u306f MongoDB \u306e\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3 (\u51e6\u7406\u306e\u9023\u9396) \u306e\u66f8\u304d\u65b9\u306b\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u8a73\u3057\u304f\u306f<\/span><a href=\"https:\/\/www.mongodb.com\/docs\/manual\/reference\/method\/db.collection.aggregate\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">\u3053\u3061\u3089<\/span><\/a><span style=\"font-weight: 400;\">\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u2018mongodb:\/\/mongo:mongo@mongo-test\/sample.clusters\u2019 \u306f MongoDB \u3078\u306e\u63a5\u7d9a\u6587\u5b57\u5217\u3067\u3059\u3002mongo:mongo \u306f\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3001mongo-test \u306f docker \u30b3\u30f3\u30c6\u30ca\u306e\u30db\u30b9\u30c8\u540d\u3001sample.clusters \u306f\u3001sample \u3068\u3044\u3046\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e clusters \u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u64cd\u4f5c\u306e\u5bfe\u8c61\u306b\u3059\u308b\u3053\u3068\u3092\u8868\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u2018$\u2019 \u3067\u306f\u3058\u307e\u308b\u30d5\u30a3\u30fc\u30eb\u30c9\u306f \u201c\u30aa\u30da\u30ec\u30fc\u30bf\u201d \u3068\u8a00\u3044\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u64cd\u4f5c (\u51e6\u7406) \u5185\u5bb9\u3092\u8868\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u30b3\u30de\u30f3\u30c9\u306b\u4f7f\u7528\u3057\u305f\u5404\u30aa\u30da\u30ec\u30fc\u30bf\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/span><\/p>\n<table style=\"width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 10.3319%; text-align: center;\"><strong>\u30aa\u30da\u30ec\u30fc\u30bf<\/strong><\/td>\n<td style=\"width: 79.5002%; text-align: center;\"><strong>\u8a73\u7d30<\/strong><\/td>\n<td style=\"width: 9.39628%; text-align: center;\"><strong>\u53c2\u8003\u6587\u732e<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 10.3319%;\"><span style=\"font-weight: 400;\">$lookup<\/span><\/td>\n<td style=\"width: 79.5002%;\"><span style=\"font-weight: 400;\">RDB \u306e\u3088\u3046\u306b\u30012 \u3064\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u7d50\u5408\u3057\u307e\u3059\u3002<\/span><\/td>\n<td style=\"width: 9.39628%;\"><a href=\"https:\/\/www.mongodb.com\/docs\/manual\/reference\/operator\/aggregation\/lookup\/#mongodb-pipeline-pipe.-lookup\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">\u3053\u3061\u3089<\/span><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 10.3319%;\"><span style=\"font-weight: 400;\">$unset<\/span><\/td>\n<td style=\"width: 79.5002%;\"><span style=\"font-weight: 400;\">\u51fa\u529b\u6642\u306b\u3001\u4e0d\u8981\u306a\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u524a\u9664 (\u975e\u8868\u793a) \u3057\u307e\u3059\u3002<\/span><\/td>\n<td style=\"width: 9.39628%;\"><a href=\"https:\/\/www.mongodb.com\/docs\/manual\/reference\/operator\/aggregation\/unset\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">\u3053\u3061\u3089<\/span><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 10.3319%;\"><span style=\"font-weight: 400;\">$unwind<\/span><\/td>\n<td style=\"width: 79.5002%;\"><span style=\"font-weight: 400;\">preserveNullAndEmptyArrays \u304c true \u306e\u5834\u5408\u3001<\/span><span style=\"font-weight: 400;\">path \u3067\u6307\u5b9a\u3057\u305f\u30d5\u30a3\u30fc\u30eb\u30c9\u304c null \u3084\u7a7a\u306e\u914d\u5217\u3067\u3082\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u51fa\u529b\u3057\u307e\u3059\u3002\u3053\u306e\u3068\u304d\u3001path \u3067\u6307\u5b9a\u3057\u305f\u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u524a\u9664 (\u975e\u8868\u793a) \u3055\u308c\u307e\u3059\u3002\u30c7\u30fc\u30bf\u304c\u306a\u3044\u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u51fa\u529b\u306b\u542b\u3081\u305f\u304f\u306a\u3044\u5834\u5408\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/span><\/td>\n<td style=\"width: 9.39628%;\"><a href=\"https:\/\/www.mongodb.com\/docs\/manual\/reference\/operator\/aggregation\/unwind\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">\u3053\u3061\u3089<\/span><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><span style=\"font-weight: 400;\">MongoDB \u306e\u30c7\u30fc\u30bf\u3092\u30b0\u30e9\u30d5\u5316<\/span><\/h2>\n<p><b>\u672c\u7a3f\u306e\u6700\u7d42\u76ee\u6a19<\/b><span style=\"font-weight: 400;\">\u306b\u306a\u308a\u307e\u3059\u3002\u3055\u304d\u307b\u3069\u306e MongoDB \u306e\u51fa\u529b (JSON \u30c7\u30fc\u30bf) \u304b\u3089\u3001cluster \u3068 node \u306e\u95a2\u4fc2\u6027\u3092\u8868\u3059\u30b0\u30e9\u30d5\u3092\u63cf\u753b\u3057\u3066\u307f\u307e\u3059\u3002<br \/>\n<\/span><span style=\"font-weight: 400;\">\u3053\u306e\u51e6\u7406\u3082 APOC \u3092\u4f7f\u7528\u3057\u307e\u3059\u304c\u3001\u5148\u307b\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3067\u306f\u3001\u51fa\u529b\u3092\u53d7\u3051\u53d6\u308b\u5909\u6570 \u2018value\u2019 \u3092\u8a2d\u3051\u3066\u304a\u308a\u3001\u3053\u3053\u306b\u30c7\u30fc\u30bf\u304c\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3001\u53d6\u5f97\u3057\u305f value \u3092\u6e21\u3059\u3053\u3068\u306b\u3088\u308a\u3001\u300cMongoDB \u306e\u30c7\u30fc\u30bf\u304b\u3089 Neo4j \u3067\u30b0\u30e9\u30d5\u3092\u63cf\u304f\u300d\u3053\u3068\u304c\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u3053\u308c\u3082\u5c11\u3005\u9577\u3044\u3067\u3059\u304c\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u5148\u307b\u3069\u306e\u30b3\u30de\u30f3\u30c9\u306e\u4e0b\u306e\u884c ([Shift] + [Enter] \u3067\u6539\u884c\u3067\u304d\u307e\u3059) \u304b\u3089\u7d9a\u3051\u3066\u66f8\u304f\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<p><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/009.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-54377 size-medium\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/009-360x186.png\" alt=\"\" width=\"360\" height=\"186\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/009-360x186.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/009.png 686w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\" \/><\/a><\/p>\n<pre><span style=\"font-weight: 400;\">call<\/span><span style=\"font-weight: 400;\"> apoc<\/span><span style=\"font-weight: 400;\">.<\/span><span style=\"font-weight: 400;\">graph<\/span><span style=\"font-weight: 400;\">.<\/span><span style=\"font-weight: 400;\">fromDocument<\/span><span style=\"font-weight: 400;\">(<\/span><span style=\"font-weight: 400;\">value<\/span><span style=\"font-weight: 400;\">,<\/span><span style=\"font-weight: 400;\">\u00a0<\/span>\r\n<span style=\"font-weight: 400;\">{<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0write<\/span><span style=\"font-weight: 400;\">:<\/span> <span style=\"font-weight: 400;\">true<\/span><span style=\"font-weight: 400;\">,<\/span><span style=\"font-weight: 400;\"> skipValidation<\/span><span style=\"font-weight: 400;\">:<\/span> <span style=\"font-weight: 400;\">true<\/span><span style=\"font-weight: 400;\">,<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0mappings<\/span><span style=\"font-weight: 400;\">:<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0<\/span><span style=\"font-weight: 400;\">{<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0`$`<\/span><span style=\"font-weight: 400;\">:<\/span><span style=\"font-weight: 400;\">'Clusters{id,name}'<\/span><span style=\"font-weight: 400;\">,<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0`$.active_node`<\/span><span style=\"font-weight: 400;\">:<\/span><span style=\"font-weight: 400;\">'ActiveNodes{id,name}'<\/span><span style=\"font-weight: 400;\">,<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0`$.standby_node`<\/span><span style=\"font-weight: 400;\">:<\/span><span style=\"font-weight: 400;\">'StandbyNodes{id,name}'<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0<\/span><span style=\"font-weight: 400;\">}<\/span>\r\n<span style=\"font-weight: 400;\">})<\/span> <span style=\"font-weight: 400;\">yield<\/span><span style=\"font-weight: 400;\"> graph<\/span>\r\n<span style=\"font-weight: 400;\">return<\/span><span style=\"font-weight: 400;\"> graph<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u7d50\u679c\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002MongoDB \u306e JSON \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304b\u3089\u3001\u30b0\u30e9\u30d5\u3092\u63cf\u753b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002\u30b0\u30e9\u30d5\u306e\u898b\u65b9\u306b\u95a2\u3057\u3066\u306f\u3001<\/span><a href=\"https:\/\/neo4j.com\/developer\/neo4j-browser\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">\u3053\u3061\u3089<\/span><\/a><span style=\"font-weight: 400;\">\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<p><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/005.jpg\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-54362 size-full\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/005.jpg\" alt=\"\" width=\"752\" height=\"260\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/005.jpg 752w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/005-360x124.jpg 360w\" sizes=\"auto, (max-width: 752px) 100vw, 752px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u203b\u30b0\u30e9\u30d5\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u5de6\u306e\u30c4\u30fc\u30eb\u30d0\u30fc\u304b\u3089 [Graph] \u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">\u30b3\u30de\u30f3\u30c9\u89e3\u8aac<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">\u2018apoc.graph.fromDocument\u2019 \u306f\u3001JSON \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304b\u3089\u30b0\u30e9\u30d5\u3092\u63cf\u753b\u3057\u307e\u3059\u3002\u3067\u3059\u306e\u3067\u3001\u30c7\u30fc\u30bf\u304c JSON \u3067\u3042\u308b MongoDB \u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u306b\u6700\u9069\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">fromDocument \u306e\u8a73\u7d30\u306f\u3001<\/span><a href=\"https:\/\/neo4j.com\/labs\/apoc\/4.3\/overview\/apoc.graph\/apoc.graph.fromDocument\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">\u3053\u3061\u3089<\/span><\/a><span style=\"font-weight: 400;\">\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u3053\u3067\u306f\u3001mapping \u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002mapping \u306f\u3001\u30b0\u30e9\u30d5\u63cf\u753b\u6642\u306b\u8868\u793a\u3055\u308c\u308b\u95a2\u9023\u6027\u3084\u3001\u30ce\u30fc\u30c9\u30e9\u30d9\u30eb\u3001\u8868\u793a\u3057\u305f\u3044\u30ce\u30fc\u30c9\u30d7\u30ed\u30d1\u30c6\u30a3 (JSON \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5024) \u3092\u660e\u793a\u7684\u306b\u6307\u5b9a\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">`$` \u3084 `$.xxx` \u306f\u30b0\u30e9\u30d5\u306e \u3007 \u3092\u8868\u3057\u3001\u201d\u30ce\u30fc\u30c9\u201d \u3068\u8a00\u3044\u307e\u3059\u3002\u30ce\u30fc\u30c9\u306b\u5bfe\u3057\u3066\u3001\u30e9\u30d9\u30eb\u3084\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<br \/>\n<\/span><span style=\"font-weight: 400;\">\u203bNeo4j \u306e\u30ce\u30fc\u30c9\u3068\uff64\u672c\u7a3f\u3067\u4f7f\u7528\u3057\u3066\u3044\u308b\u30c7\u30fc\u30bf\u306e node \u3068\u306f\u5225\u7269\u3067\u3059\u3002\u3084\u3084\u3053\u3057\u304f\u3066\u3059\u307f\u307e\u305b\u3093\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u5c1a\u3001\u7d10\u3065\u3051\u306b\u95a2\u3057\u3066\u306f\u3001\u5272\u3068\u826f\u3057\u306a\u306b\u3084\u3063\u3066\u304f\u308c\u308b\u306e\u3067\u3001\u30e9\u30d9\u30eb\u540d\u306b\u3053\u3060\u308f\u308a\u304c\u306a\u304f\u3001\u30ce\u30fc\u30c9\u306e\u5168\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u8868\u793a\u3057\u3066\u826f\u3044\u5834\u5408\u306f\u3001mapping \u306f\u7701\u7565\u3057\u3066\u3082\u69cb\u3044\u307e\u305b\u3093\u3002<\/span><\/p>\n<table style=\"width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 6.01852%; text-align: center;\"><strong>\u30ce\u30fc\u30c9<\/strong><\/td>\n<td style=\"width: 58.3333%; text-align: center;\"><strong>\u6982\u8981<\/strong><\/td>\n<td style=\"width: 34.8765%; text-align: center;\"><strong>\u5024<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 6.01852%;\"><span style=\"font-weight: 400;\">`$`<\/span><\/td>\n<td style=\"width: 58.3333%;\"><span style=\"font-weight: 400;\">\u30eb\u30fc\u30c8\u30ce\u30fc\u30c9\u3092\u8868\u3057\u307e\u3059\u3002\u672c\u7a3f\u3067\u306f\u3001JSON \u30c7\u30fc\u30bf\u306e cluster \u306b\u8a72\u5f53\u3057\u307e\u3059\u3002<\/span><\/td>\n<td style=\"width: 34.8765%;\"><span style=\"font-weight: 400;\">'Clusters{id,name}'<br \/>\nClusters \u306f\u30ce\u30fc\u30c9\u30e9\u30d9\u30eb\u3001{ } \u5185\u306e\u5024\u306f\u30ce\u30fc\u30c9\u30d7\u30ed\u30d1\u30c6\u30a3<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 6.01852%;\"><span style=\"font-weight: 400;\">`$.xxx`<\/span><\/td>\n<td style=\"width: 58.3333%;\"><span style=\"font-weight: 400;\">\u30eb\u30fc\u30c8\u30ce\u30fc\u30c9\u3068\u95a2\u4fc2\u6027\u304c\u3042\u308b\u30ce\u30fc\u30c9\u3067\u3059\u3002xxx \u306e\u90e8\u5206\u306b\u306f\u3001JSON \u30c7\u30fc\u30bf\u306b\u542b\u307e\u308c\u308b\u3001\u30eb\u30fc\u30c8\u3068\u95a2\u9023\u6027\u306e\u3042\u308b\u30d5\u30a3\u30fc\u30eb\u30c9\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u672c\u7a3f\u3067\u306f\u3001active_node \u3068 standby_node \u304c\u8a72\u5f53\u3057\u3001\u305d\u308c\u305e\u308c cluster \u306b\u5c5e\u3059\u308b node \u3092\u8868\u3057\u307e\u3059\u3002<\/span><\/td>\n<td style=\"width: 34.8765%;\"><span style=\"font-weight: 400;\">'ActiveNodes{id,name}'<br \/>\n'StandbyNodes{id,name}'<br \/>\n\u30e9\u30d9\u30eb\u3068\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u95a2\u4fc2\u306f `$` \u3068\u540c\u3058<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-weight: 400;\">mapping \u306b\u3064\u3044\u3066\u306f\u3001<\/span><a href=\"https:\/\/neo4j.com\/labs\/apoc\/4.4\/virtual\/virtual-graph\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">\u3053\u3061\u3089<\/span><\/a><span style=\"font-weight: 400;\">\u304c\u53c2\u8003\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/p>\n<h1><span style=\"font-weight: 400;\">\u3055\u3044\u3054\u306b<\/span><\/h1>\n<p><span style=\"font-weight: 400;\">MongoDB \u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304b\u3089\u3001Neo4j \u306e\u30b0\u30e9\u30d5\u306b\u3059\u308b\u76ee\u7684\u306f\u9054\u6210\u3057\u307e\u3057\u305f\u3002\u3055\u3044\u3054\u306b\u3001\u8868\u793a\u3055\u308c\u305f\u30b0\u30e9\u30d5\u3092\u6574\u5f62\u3057\u3066\u3001\u3082\u3046\u5c11\u3057\u308f\u304b\u308a\u3084\u3059\u304f\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002node \u3092\u4e00\u5217\u306b\u6574\u5217\u3057\u3001cluster \u3068\u306e\u95a2\u9023\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u307e\u305f\u3001cluster \u30ce\u30fc\u30c9\u306e\u5186\u3092\u5927\u304d\u304f\u3057\u3001\u4e0a\u4f4d\u3067\u3042\u308b\u3053\u3068\u3092\u660e\u78ba\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u3042\u3068\u3001\u8272\u3082\u306a\u3093\u3068\u306a\u304f\u5909\u3048\u3066\u307f\u307e\u3057\u305f\u3002\u7d50\u679c\u3001\u4ee5\u4e0b\u306e\u69d8\u306a\u30b0\u30e9\u30d5\u306b\u4ed5\u4e0a\u304c\u308a\u307e\u3057\u305f\u3002<\/span><\/p>\n<p><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/006.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-54363 size-full\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/006.png\" alt=\"\" width=\"507\" height=\"385\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/006.png 507w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/006-360x273.png 360w\" sizes=\"auto, (max-width: 507px) 100vw, 507px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u5358\u306a\u308b JSON \u306e\u30c6\u30ad\u30b9\u30c8\u3067\u306f\u308f\u304b\u308a\u8f9b\u3044\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u3088\u3046\u306b\u30b0\u30e9\u30d5\u5316\u3057\u3066\u6574\u5f62\u3059\u308b\u3068\u3001<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Node-01 \u3068 Node-03 \u304c\u8907\u6570\u306e cluster \u3067\u88ab\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u3053\u3068<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Standby \u306f Node-06 \u3057\u304b\u306a\u304f Cluster-03 \u3057\u304b\u5099\u3048\u3066\u3044\u306a\u3044\u3053\u3068<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u4ed6\u3001cluster \u3084 node \u306e\u6570\u306a\u3069<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">\u3068\u3044\u3063\u305f\u95a2\u9023\u6027\u304c\u3001\u4e00\u76ee\u77ad\u7136\u3067\u308f\u304b\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u4ee5\u4e0a\u3088\u308a\u3001MongoDB \u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u3068\u3057\u3066 Neo4j \u306e\u30b0\u30e9\u30d5\u3092\u63cf\u753b (\u9023\u643a) \u3057\u3001\u53ef\u8996\u5316\u3067\u304d\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002<\/span><span style=\"font-weight: 400;\">MongoDB \u306e\u30c7\u30fc\u30bf\u306e\u95a2\u9023\u6027\u3092\u53ef\u8996\u5316\u3057\u305f\u3044\u5834\u5408\u306f\u3001 MongoDB \u3068 Neo4j \u3068\u306e\u9023\u643a\u3092\u662f\u975e\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<p>\u53c2\u8003: MongoDB \u306b\u306f \"<a href=\"https:\/\/www.mongodb.com\/docs\/charts\/\" target=\"_blank\" rel=\"noopener\">MongoDB Charts<\/a>\" \u3068\u3044\u3046\u30c4\u30fc\u30eb\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<style type=\"text\/css\">\r\n.ib { border: solid 1px black; }\r\n<\/style>\r\n<div align=\"center\" style=\"padding: 10px; margin: 0 auto; border-radius: 10px; width: 400px; height: 80px; background:linear-gradient(#F89174, #FFC778)\">\r\n  <div style=\"text-align: center; font-family:\u30e1\u30a4\u30ea\u30aa\">\r\n    <div style=\"font-size: 130%; color: blue; font-weight:bold\">\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3(\u682a) \u5bcc\u5c71\u4e8b\u696d\u6240<\/div>\r\n    <address style=\"margin-top: 5px\">\u3012939-8201 \u5bcc\u5c71\u770c\u5bcc\u5c71\u5e02\u82b1\u5712\u753a3-2-9 \u6c60\u7530\u30d3\u30eb 3F<\/address>\r\n    Twitter: <a href=\"https:\/\/twitter.com\/cl_toyama\" target=\"_blank\">CL_toyama<\/a>\r\n  <\/div>\r\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u672c\u7a3f\u3067\u306f\u3001\u8868\u984c\u306e\u901a\u308a\u3001MongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3059\u308b \u2018\u9023\u643a\u2019 \u3092\u8a66\u3057\u3066\u307f\u307e\u3059\u3002MongoDB \u306e\u30c7\u30fc\u30bf\u306f JSON \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u30c6\u30ad\u30b9\u30c8\u3067\u3059\u304c\u3001Neo4j \u306e\u30b0\u30e9\u30d5\u7406\u8ad6\u3092\u3082\u3063\u3066\u30b0\u30e9\u30d5\u5316 [&#8230;]<\/p>\n","protected":false},"author":14,"featured_media":54363,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[79,37,264],"tags":[],"class_list":["post-54340","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mongodb","category-neo4j","category-toyama"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>MongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3057\u3066\u307f\u308b #Neo4j #MongoDB #Graph - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"MongoDB, Neo4j, \u5bcc\u5c71\u4e8b\u696d\u6240 |\u306f\u3058\u3081\u306b \u672c\u7a3f\u3067\u306f\u3001\u8868\u984c\u306e\u901a\u308a\u3001MongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3059\u308b \u2018\u9023\u643a\u2019 \u3092\u8a66\u3057\u3066\u307f\u307e\u3059\u3002MongoDB \u306e\u30c7\u30fc\u30bf\u306f JSON\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.creationline.com\/tech-blog\/data-management\/mongodb\/54340\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3057\u3066\u307f\u308b #Neo4j #MongoDB #Graph - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"MongoDB, Neo4j, \u5bcc\u5c71\u4e8b\u696d\u6240 |\u306f\u3058\u3081\u306b \u672c\u7a3f\u3067\u306f\u3001\u8868\u984c\u306e\u901a\u308a\u3001MongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3059\u308b \u2018\u9023\u643a\u2019 \u3092\u8a66\u3057\u3066\u307f\u307e\u3059\u3002MongoDB \u306e\u30c7\u30fc\u30bf\u306f JSON\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/data-management\/mongodb\/54340\" \/>\n<meta property=\"og:site_name\" content=\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/creationline\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-05T02:00:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-05T02:17:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/006.png\" \/>\n\t<meta property=\"og:image:width\" content=\"507\" \/>\n\t<meta property=\"og:image:height\" content=\"385\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"ikeda\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@creationline\" \/>\n<meta name=\"twitter:site\" content=\"@creationline\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"ikeda\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/mongodb\\\/54340#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/mongodb\\\/54340\"},\"author\":{\"name\":\"ikeda\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/922784adae541b8780164bbfeb55dff5\"},\"headline\":\"MongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3057\u3066\u307f\u308b #Neo4j #MongoDB #Graph\",\"datePublished\":\"2022-09-05T02:00:38+00:00\",\"dateModified\":\"2022-09-05T02:17:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/mongodb\\\/54340\"},\"wordCount\":246,\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/mongodb\\\/54340#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/006.png\",\"articleSection\":[\"MongoDB\",\"Neo4j\",\"\u5bcc\u5c71\u4e8b\u696d\u6240\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/mongodb\\\/54340\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/mongodb\\\/54340\",\"name\":\"MongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3057\u3066\u307f\u308b #Neo4j #MongoDB #Graph - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/mongodb\\\/54340#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/mongodb\\\/54340#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/006.png\",\"datePublished\":\"2022-09-05T02:00:38+00:00\",\"dateModified\":\"2022-09-05T02:17:46+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/922784adae541b8780164bbfeb55dff5\"},\"description\":\"MongoDB, Neo4j, \u5bcc\u5c71\u4e8b\u696d\u6240 |\u306f\u3058\u3081\u306b \u672c\u7a3f\u3067\u306f\u3001\u8868\u984c\u306e\u901a\u308a\u3001MongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3059\u308b \u2018\u9023\u643a\u2019 \u3092\u8a66\u3057\u3066\u307f\u307e\u3059\u3002MongoDB \u306e\u30c7\u30fc\u30bf\u306f JSON\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/mongodb\\\/54340#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/mongodb\\\/54340\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/mongodb\\\/54340#primaryimage\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/006.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/006.png\",\"width\":507,\"height\":385},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/mongodb\\\/54340#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"MongoDB\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/mongodb\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"MongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3057\u3066\u307f\u308b #Neo4j #MongoDB #Graph\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/922784adae541b8780164bbfeb55dff5\",\"name\":\"ikeda\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/avatar.png\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/avatar.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/avatar.png\",\"caption\":\"ikeda\"},\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/ikeda\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3057\u3066\u307f\u308b #Neo4j #MongoDB #Graph - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"MongoDB, Neo4j, \u5bcc\u5c71\u4e8b\u696d\u6240 |\u306f\u3058\u3081\u306b \u672c\u7a3f\u3067\u306f\u3001\u8868\u984c\u306e\u901a\u308a\u3001MongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3059\u308b \u2018\u9023\u643a\u2019 \u3092\u8a66\u3057\u3066\u307f\u307e\u3059\u3002MongoDB \u306e\u30c7\u30fc\u30bf\u306f JSON","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.creationline.com\/tech-blog\/data-management\/mongodb\/54340","og_locale":"ja_JP","og_type":"article","og_title":"MongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3057\u3066\u307f\u308b #Neo4j #MongoDB #Graph - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"MongoDB, Neo4j, \u5bcc\u5c71\u4e8b\u696d\u6240 |\u306f\u3058\u3081\u306b \u672c\u7a3f\u3067\u306f\u3001\u8868\u984c\u306e\u901a\u308a\u3001MongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3059\u308b \u2018\u9023\u643a\u2019 \u3092\u8a66\u3057\u3066\u307f\u307e\u3059\u3002MongoDB \u306e\u30c7\u30fc\u30bf\u306f JSON","og_url":"https:\/\/www.creationline.com\/tech-blog\/data-management\/mongodb\/54340","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_published_time":"2022-09-05T02:00:38+00:00","article_modified_time":"2022-09-05T02:17:46+00:00","og_image":[{"width":507,"height":385,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/006.png","type":"image\/png"}],"author":"ikeda","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"ikeda","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"5\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/mongodb\/54340#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/mongodb\/54340"},"author":{"name":"ikeda","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/922784adae541b8780164bbfeb55dff5"},"headline":"MongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3057\u3066\u307f\u308b #Neo4j #MongoDB #Graph","datePublished":"2022-09-05T02:00:38+00:00","dateModified":"2022-09-05T02:17:46+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/mongodb\/54340"},"wordCount":246,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/mongodb\/54340#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/006.png","articleSection":["MongoDB","Neo4j","\u5bcc\u5c71\u4e8b\u696d\u6240"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/mongodb\/54340","url":"https:\/\/www.creationline.com\/tech-blog\/data-management\/mongodb\/54340","name":"MongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3057\u3066\u307f\u308b #Neo4j #MongoDB #Graph - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/mongodb\/54340#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/mongodb\/54340#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/006.png","datePublished":"2022-09-05T02:00:38+00:00","dateModified":"2022-09-05T02:17:46+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/922784adae541b8780164bbfeb55dff5"},"description":"MongoDB, Neo4j, \u5bcc\u5c71\u4e8b\u696d\u6240 |\u306f\u3058\u3081\u306b \u672c\u7a3f\u3067\u306f\u3001\u8868\u984c\u306e\u901a\u308a\u3001MongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3059\u308b \u2018\u9023\u643a\u2019 \u3092\u8a66\u3057\u3066\u307f\u307e\u3059\u3002MongoDB \u306e\u30c7\u30fc\u30bf\u306f JSON","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/mongodb\/54340#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/data-management\/mongodb\/54340"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/mongodb\/54340#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/006.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/006.png","width":507,"height":385},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/mongodb\/54340#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"\u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8","item":"https:\/\/www.creationline.com\/tech-blog\/data-management"},{"@type":"ListItem","position":3,"name":"MongoDB","item":"https:\/\/www.creationline.com\/tech-blog\/data-management\/mongodb"},{"@type":"ListItem","position":4,"name":"MongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3057\u3066\u307f\u308b #Neo4j #MongoDB #Graph"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/922784adae541b8780164bbfeb55dff5","name":"ikeda","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png","caption":"ikeda"},"url":"https:\/\/www.creationline.com\/tech-blog\/author\/ikeda"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/54340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=54340"}],"version-history":[{"count":39,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/54340\/revisions"}],"predecessor-version":[{"id":54393,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/54340\/revisions\/54393"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/54363"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=54340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=54340"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=54340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}