Skip to content

NLPIR-team/elasticsearch-analysis-ictclas

Repository files navigation

NLPIR ICTCLAS analysis for Elasticsearch

An analysis plugin for Elasticsearch by using ICTCLAS/NLPIR

Analyzer: ictclas_search, ictclas_index

Supported version:

  • 0.2.x: 8.2.0 ~ 7.14.2
  • 0.3.1: 8.3.0 ~ 8.7.1
  • 0.3.2: 8.7.1 ~ 8.13.4

Build

1. make config file gradle.properties

    elasticsearchVersion = 8.13.4

2. build

./gradlew build -x test

Install

elasticsearch-plugin install file://analysis-ictclas.zip

Config (MUST)

  1. Go to the plugin folder of elasticsearch
  2. Add NLPIR.user to Data folder
  3. Config the config.yml with licenseCode if your license need a license code
  4. If you don't have commercial license, use one month free license from https://github.com/NLPIR-team/NLPIR