Mapper Annotated Text Plugin

edit

This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.

The mapper-annotated-text plugin provides the ability to index text that is a combination of free-text and special markup that is typically used to identify items of interest such as people or organisations (see NER or Named Entity Recognition tools).

The elasticsearch markup allows one or more additional tokens to be injected, unchanged, into the token stream at the same position as the underlying text it annotates.

Installation

edit

This plugin can be installed using the plugin manager:

sudo bin/elasticsearch-plugin install mapper-annotated-text

The plugin must be installed on every node in the cluster, and each node must be restarted after installation.

This plugin can be downloaded for offline install from https://artifacts.elastic.co/downloads/elasticsearch-plugins/mapper-annotated-text/mapper-annotated-text-7.8.1.zip.

Removal

edit

The plugin can be removed with the following command:

sudo bin/elasticsearch-plugin remove mapper-annotated-text

The node must be stopped before removing the plugin.