擴充套件Neo4j

jieforest發表於2012-11-30
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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章