扩展Neo4j

本文介绍如何通过插件和未管理扩展来扩展Neo4j的功能。具体包括Gremlin插件和空间插件等示例,以及如何配置和测试未管理扩展。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

One of the great things about Neo4j is how easy it is to extend it. You can extend Neo4j with Pluginsand Unmanaged Extensions. Two great examples of plugins are the Gremlin Plugin (which lets you use the Gremlin library with Neo4j) and the Spatial Plugin (which lets you perform. spatial operations like searching for data within specified regions or within a specified distance of a point of interest).

Plugins are meant to extend the capabilities of the database, nodes, or relationships. Unmanaged extensions are meant to let you do anything you want. This great power comes with great responsibility, so be careful what you do here. David Montag cooked up an unmanaged extension template for us to use on github so lets give it a whirl.

We are going to clone the project, compile it, download Neo4j, configure Neo4j to use the extension, test the extension and tweak it a bit.

Start by cloning the project:

CODE:

1.git clone git://github.com/dmontag/neo4j-unmanaged-extension-template.git
2.cd neo4j-unmanaged-extension-template

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/301743/viewspace-750354/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/301743/viewspace-750354/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值