Home / Documentation / Installation
Installation
Step 1. Install Elasticsearch
Download and install: https://www.elastic.co/downloads/elasticsearch
Step 2. Install zentity
Once you have installed Elasticsearch, you can install zentity from a remote URL or a local file.
Install from remote URL
- Browse the releases.
- Find a release that matches your version of Elasticsearch. Copy the name of the .zip file.
- Install the plugin using the
elasticsearch-plugin
script that comes with Elasticsearch.
Example:
elasticsearch-plugin install https://zentity.io/releases/zentity-1.8.3-elasticsearch-8.14.0.zip
Install from local file
- Browse the releases.
- Find a release that matches your version of Elasticsearch. Download the .zip file.
- Install the plugin using the
elasticsearch-plugin
script that comes with Elasticsearch.
Example:
elasticsearch-plugin install file:///path/to/zentity-1.8.3-elasticsearch-8.14.0.zip
Step 3. Verify installation
Example Request
GET http://localhost:9200/_zentity
Example Response
{
"name": "zentity",
"description": "Real-time entity resolution for Elasticsearch.",
"website": "http://zentity.io",
"version": {
"zentity": "1.8.3",
"elasticsearch": "8.14.0"
}
}
Step 4. Invoke the Setup API (Optional)
The Setup API creates the .zentity-models
index.
This is optional to invoke because zentity will create the index if it doesn't
already exist upon invoking the Models API.
Example Request
POST http://localhost:9200/_zentity/_setup
Example Response
{
"acknowledged": true
}
Installation on Elasticsearch Service
Elasticsearch Service is a hosted service offered by Elastic, the creators of Elasticsearch and the Elastic Stack. Elasticsearch Service supports the usage of custom Elasticsearch plugins such as zentity.
To install zentity on an Elasticsearch Service deployment:
- Browse the releases and download one of the .zip files.
- Sign in to Elasticsearch Service.
- Navigate to the Extensions tab.
- Click the "Create Extension" button.
- Name the extension "zentity" or anything else.
- Specify the version of your Elasticsearch deployment.
- Under plugin type, select "An installable plugin (Compiled, no source code)".
- Click the "Create plugin" button.
- Upload the .zip file under the "Plugin file" section.
- Create or restart your deployment. If creating a deployment, select the zentity extension under the list of custom plugins.
If you will be creating indices and performing entity resolution with data that has names of people or companies or other fields that often have data quality challenges, consider also selecting analysis-icu and analysis-phonetic from the list of plugins, which can help you index cleaner representations of that data.
Important
Amazon's Elasticsearch Service does not let you install community plugins. You will need to use the official Elasticsearch Service offered by Elastic. You can compare the services and then learn how to migrate from AWS to Elastic.
Sandbox
Just learning? Want to learn faster? Download and run the zentity sandbox development environment, which bundles Elasticsearch with zentity, analysis plugins, real data, and sample entity models.
Continue Reading
‹ | Contents | Basic Usage | › |
---|---|---|---|