Skip to content
Vyacheslav Rusakov edited this page Oct 17, 2018 · 5 revisions

NOTE: all documentation was moved


Orient has some plugins by default (mail, backup, jmx etc) and few external plugins (studio, lucene, etc). With usual orient server, external plugins are simply put into $DISTRIBUTION_HOME/plugins folder. Orient monitors this folder and install plugins. If plugin contains only static files (studio, workbench) it is registered as virtual folder in server. If plugin requires integration, it is registered as handler.

So basically, manual plugin registration with handlers configuration is the same as using plugins folder (except static plugins, which may be registered only from plugins folder).

With embedded server, you can use both dynamic plugins and direct configuration.

Dynamic plugins

Dynamic plugins could be enabled through properties in configuration:

properties:
       - name: plugin.dynamic
         value: true
       - name: plugin.hotReload
         value: false

plugin.hotReload may be enabled to support hot plugin installation (when plugin is copied into plugins folder during runtime)

When plugin.dynamic is true, you can create plugins folder inside your files-path folder and put plugins there. It is useful for environment-specific plugins installation (e.g. install studio like plugin and not with webjar).

Static plugins

Static plugins are enabled by adding (if required) plugin jar into classpath and adding new handler.

For example, for lucene plugin:

com.orientechnologies:orientdb-lucene:2.0.5

And enabling in configuration

handlers:
    - clazz: com.orientechnologies.lucene.OLuceneIndexPlugin

Read more about plugins in orient docs

Clone this wiki locally