'여행' 카테고리의 다른 글
[세부][숙소] 01. 숙소 별 가격 비교 (0) | 2019.10.06 |
---|---|
[푸켓] 3박 5일 전체 일정표 (0) | 2017.11.01 |
[푸켓] 3박5일 4일차 상세 일정 (5) | 2017.10.30 |
오사카 4일차 (0) | 2017.01.22 |
오사카 1일차 (0) | 2017.01.15 |
[세부][숙소] 01. 숙소 별 가격 비교 (0) | 2019.10.06 |
---|---|
[푸켓] 3박 5일 전체 일정표 (0) | 2017.11.01 |
[푸켓] 3박5일 4일차 상세 일정 (5) | 2017.10.30 |
오사카 4일차 (0) | 2017.01.22 |
오사카 1일차 (0) | 2017.01.15 |
logstash 9600 포트 죽이기
cmd 명령어 for /f "tokens=5" %p in (' netstat -ano ^| find ":9600" ') do taskkill /F /PID %p
>> cmd 에서는 잘 되나 bat 파일로 만들었을때 그냥 꺼지는 오류 발생, 아래와 같이 bat 파일 생성함
for /f "tokens=5" %%p in ('netstat -ano ^| find "9600"') do taskkill /F /PID %%p
자동완성 기능 설정 (0) | 2017.12.13 |
---|---|
벌크로 제이슨 파일 넣기 (0) | 2017.12.02 |
11.[Elasticsearch]/[ELK]. mecab 설치 (은전한닢), 윈도우 설치 [수정중 ...] (0) | 2017.11.06 |
mecab 설치 (0) | 2017.10.23 |
10.[Elasticsearch]/[ELK]. SCORE 검색 점수 (0) | 2017.10.20 |
참조 : http://c.tistory.com/243
PUT /cine21
{
"settings": {
"analysis": {
"analyzer": {
"korean_analyzer" : {
"type" : "custom",
"tokenizer": "korean_tokenizer",
"filter" : ["stop", "lowercase", "trim", "synonym"]
},
"ngram_analyzer" : {
"type" : "custom",
"tokenizer" : "ngram_tokenizer",
"filter" : ["lowercase", "trim","synonym"]
},
"edge_ngram_analyzer" : {
"type" : "custom",
"tokenizer" : "edge_ngram_tokenizer",
"filter" : ["lowercase", "trim","synonym"]
}
},
"tokenizer": {
"korean_tokenizer": {
"type": "mecab_ko_standard_tokenizer",
"compound_noun_min_length": 100
},
"ngram_tokenizer" : {
"type" : "nGram",
"min_gram" : "1",
"max_gram" : "5",
"token_chars": [ "letter", "digit", "punctuation", "symbol" ]
},
"edge_ngram_tokenizer" : {
"type" : "edgeNGram",
"min_gram" : "1",
"max_gram" : "5",
"token_chars": [ "letter", "digit", "punctuation", "symbol" ]
}
},
"filter": {
"synonym" : {
"type" : "synonym",
"synonyms" : [
"탐, 톰",
"플래이어, 플레이어"
]
}
}
}
},
"mappings": {
"movie" : {
"analyzer" : "korean_analyzer",
"index_analyzer" : "edge_ngram_analyzer",
"search_analyzer" : "edge_ngram_analyzer",
"properties": {
"title" : {
"type": "string",
"fields" : {
"h_pf" : {"type" : "string", "store" : "no", "index" : "not_analyzed", "omit_norms" : true, "index_options" : "offsets", "term_vector" : "with_positions_offsets", "include_in_all" : false, "boost": 20},
"h_ko" : {"type" : "string", "index_analyzer" : "korean_analyzer", "boost": 3},
"h_ng" : {"type" : "string", "index_analyzer" : "ngram_analyzer", "boost": 1},
"h_ed" : {"type" : "string", "index_analyzer" : "edge_ngram_analyzer", "boost": 2}
}
}
}
}
}
}
GET /cine21/_search
GET /cine21/_search
{
"query": {
"bool": {
"should": [
{"prefix": {
"title.h_pf": "창"
}},{"term": {
"title.h_ko": "창"
}},{"term": {
"title.h_ed": "창"
}},{"term": {
"title.h_ng": "창"
}}
],
"minimum_should_match": 1
}
}
}
출처: http://c.tistory.com/243 [coens TISTORY]
출처: http://c.tistory.com/243 [coens TISTORY]
출처: http://c.tistory.com/243 [coens TISTORY]
logstash - window 포트 죽이기 (0) | 2017.12.27 |
---|---|
벌크로 제이슨 파일 넣기 (0) | 2017.12.02 |
11.[Elasticsearch]/[ELK]. mecab 설치 (은전한닢), 윈도우 설치 [수정중 ...] (0) | 2017.11.06 |
mecab 설치 (0) | 2017.10.23 |
10.[Elasticsearch]/[ELK]. SCORE 검색 점수 (0) | 2017.10.20 |