Skip to content

basis-technology-corp/elasticsearch-analysis-rosette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rosette Analysis for Elasticsearch

Introduction

The Rosette Analysis plugin integrates Basis Technology’s Lucene analysis modules into elasticsearch. These modules encapsulate the Rosette Linguistics Platform (Rosette). For more information, see Rosette Linguistics Platform Application Developer’s Guide: Lucene/Solr Connector.

Compatibility

The following table shows the versions of elasticsearch and Rosette used to build this plugin.

Rosette Analysis Plugin Elasticsearch Rosette
0.9.0 0.90.3 7.9.1

Installation

To install the plugin, simply run:

<es.home>/bin/plugin --install analysis-rosette --url http://download.basistech.com/httpFDL/elasticsearch-analysis-rosette/latest

where es.home is the root of your elasticsearch installation.

Using the plugin requires a licensed copy of Rosette. The plugin needs to know where to find the Rosette binaries. This is accomplished by creating the file <es.home>/config/bt/analysis-rosette-config.yml that contains the single line bt.root: <rosette.home>, e.g. bt.root: /opt/rlp_7.9.

Build Dependencies

If you choose to build the plugin from source, note the following dependencies, which are not publicly available. These are found in the Rosette SDK:

  • btrlp.jar
  • btutil.jar
  • common-20.jar
  • rlp-lucene-solr-43-7.9.jar
  • rlp-lucene-extra-7.9.jar

You can install these into your local maven repository by using the script mvn-install-rosette-artifacts.sh as follows:

sh mvn-install-rosette-artifacts.sh <rosette.home>

Once these dependencies are present in your maven repository, you can build the plugin as shown:

mvn -Dbt.root=<rosette.home> package

Note that -Dbt.root=<rosette.home> is required by the unit tests.