Coder Social home page Coder Social logo

mavz49 / elasticsearch-analysis-morphology Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fooger/elasticsearch-analysis-morphology

0.0 0.0 0.0 11.2 MB

Morphological Analysis Plugin for ElasticSearch

License: Apache License 2.0

Shell 37.91% Java 62.09%

elasticsearch-analysis-morphology's Introduction

Morphological Analysis Plugin for ElasticSearch

The Morphological Analysis plugin integrates Russian and English morphology for java and lucene framework into elasticsearch. This plugin adds two new analyzers: “russian_morphology” and “english_morphology” and two token filters with the same names.

The demo.sh file shows a few examples of the analyzers behavior.

Switching to Hunspell

For Elasticsearch version 6.0 and above there is an officially supported hunspell token filter with russian dictionaries. But in my opinion it behaves much poorer than this plugin because of limited dictionary and no predefined behavior on unknown words.

Building
For building use latest gradle 6.2+ (https://gradle.org/install/#manually) and run

gradle build
.
Java SDK 13+ required.

Compatibility

Plugin is avaliable only for Elasticsearch 7.6.0.

Morphological Analysis Plugin Elasticsearch URL
7.6.0 7.6.0 build yourself: gradlew build

Installation

In order to install the plugin, simply run the following command in the elasticsearch home directory:


bin/elasticsearch-plugin install file:///C:\PROJECTS\elasticsearch-analysis-morphology\analysis-morphology-7.6.0.zip

where zip_file_path is full path to zip archive with builded plugin.
Also, if you not know how build the plugin, the compiled version is added (analysis-morphology-7.6.0.zip)

P.S. I am not java developer, and I do not know about any errors. I am not tested yet the plugin, only install.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.