GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - orientechnologies/orientdb-elasticsearch: OrientDB Elastic Search Plugin

This repository was archived by the owner on Jul 6, 2023. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

14 Commits
14 Commits

Folders and files

NameName
Last commit message
Last commit date
src/main
src/main
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

Installation

This is the manual procedure to install Elastic Search plugin in OrientDB.

1. Compiles the plugin

mvn clean install

2. Copy libraries under OrientDB's lib directory.

Copy the generated orientdb-elasticsearch-*-dist.jar file is under the target directory into OrientDB lib directory.

3. Register the OrientDB Elastic Search plugin

In OrientDB's config/orientdb-config.xml file under the handlers (Handler is a plugin) tag, add this XML snippet:

<handler class="com.orientechnologies.es.plugin.es.OElasticSearchPlugin">
    <parameters>
        <parameter value="true" name="enabled"/>
    </parameters>
</handler>

4. Configure the synchronization

The Elastic Search plugin creates this file under databases/<your-db>/elastic-search-config.json:

{
  "es": {
    "host": "localhost",
    "port": 9220,
    "clusterName": "elasticsearch"
  },
  "include": {
    "classes": {
    },
    "clusters": {
    }
  },
  "exclude": {
    "classes": [],
    "clusters": []
  }
}

You can modify it to configure the synchronization.

5. Execute a synchronization

You can execute a synchronization of classes, clusters or even the output of a command:

  • classes
  • clusters
  • command

Example synchronizing the class "V":

curl -u admin:admin --data "{'classes':['V']}" http://localhost:2480/essync/GamesOfThrones
{"result":[{"@type":"d","@version":0,"value":"Synchronized 2261 records"}]}

Example synchronizing a query:

curl -u admin:admin --data "{'command':'select from V where age > 10'}" http://localhost:2480/essync/GamesOfThrones
{"result":[{"@type":"d","@version":0,"value":"Synchronized 23 records"}]}

About

OrientDB Elastic Search Plugin

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Security policy

Security policy
Activity
Custom properties

Stars

9 stars

Watchers

8 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.