Skip to content

klay(Korean Language AnalzYer) plugin for elasticsearch

Notifications You must be signed in to change notification settings

ks-shim/klay-es-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

1. klay-es-plugin

klay(Korean Language AnalzYer) plugin for elasticsearch

  • 0.3 version : elasticsearch 6.5.0

2. Examples

2-1. 기본 사용

  • NNG, NNP, VV, VA, SL, SH, SN, NA 만 출럭합니다
PUT test_index
{
  "settings": {
    "analysis": {
      "analyzer": {
        "klay_analyzer":{
          "type": "klay_analyzer"
        }
      }
    }
  }
}

2-2. 모든 형태소를 출력할 경우

PUT test_index
{
  "settings": {
    "analysis": {
      "analyzer": {
        "klay_analyzer":{
          "type": "klay_analyzer",
          "usePosFilter":"false"
        }
      }
    }
  }
}

2-3. 특정 형태소만 출력할 경우

PUT test_index
{
  "settings": {
    "analysis": {
      "analyzer": {
        "klay_analyzer":{
          "type": "klay_analyzer",
          "usePosFilter":"true",
          "allowedPoses" : ["NNG","VV"]
        }
      }
    }
  }
}

About

klay(Korean Language AnalzYer) plugin for elasticsearch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published