Skip to content

ansjsun/elasticsearch-ansj-analysis-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

new version in https://github.com/NLPchina/elasticsearch-analysis-ansj

这个插件已经不再更新新版本访问上面地址获得

elasticsearch-ansj-analysis-plugin

ansj analysis elasticsearch plugin

In this feature, I added the stopword functionality to the ansj analyzer. To make the plugin runnable, what you should to is put your stopword library stopLibrary.dic (you should name it as stopLibrary.dic) under directory '%ES_HOME%/config/ansj/library/stop'.

At the same time, you may want to load user library, in order to do that, you can easily put your dic files under '%ES_HOME%/config/ansj/library/userLibrary', the plugin shall automatically load your dic files.

For the stopword dic file, you can write every line in the following format:

的 _stop 1000

和 _stop 1000

Words are separated using TAB(\t).

About

ansj analysis elasticsearch plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%