일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- springboot
- zip 암호화
- Elasticsearch
- ELASTIC
- high level client
- License
- Test
- zip 파일 암호화
- aggs
- Java
- licence delete curl
- Python
- flask
- matplotlib
- license delete
- sort
- plugin
- query
- API
- 900gle
- TensorFlow
- MySQL
- Mac
- aggregation
- Kafka
- analyzer test
- 파이썬
- token filter test
- 차트
- docker
- Today
- Total
목록전체 글 (477)
개발잡부
#! The [edgeNGram] token filter name is deprecated and will be removed in a future version. Please change the filter name to [edge_ngram] instead. PUT doo_edge_ngram { "settings": { "analysis": { "filter": { "doo_edge_ngram_filter": { "type": "edge_ngram", "min_gram": 1, "max_gram": 4 } } } } } GET doo_edge_ngram/_analyze { "tokenizer": "keyword", "filter": [ "doo_edge_ngram_filter" ], "text": "..

NGram 을 검색에 이용해 보자 NGram unigram(유니그램 – 1글자) bigram(바이그램 - 2자) Elasticsearch는 NGram을 처리하는 토큰 필터를 제공하며 설정은 "type": "nGram" 으로 지정 #! The [nGram] token filter name is deprecated and will be removed in a future version. Please change the filter name to [ngram] instead. nGram 을 ngram 으로 해야 한다는.. PUT doo_ngram { "settings": { "analysis": { "filter": { "doo_ngram_filter": { "type": "ngram", "min_gram":..
GET hyper-item/_search { "_source": ["itemNm", "itemNo"], "from": 0, "size": 20, "timeout": "60s", "query": { "bool": { "filter": [ { "script": { "script": { "source": "(doc['rsvDocDispYn'].value == 'Y' && doc['itemStoreInfo.rsvSoldOutYn'].value == 'N' ) || (doc['docDispYn'].value == 'Y' && doc['itemStoreInfo.soldOutYn'].value == 'N')", "lang": "painless" } } }, { "range": { "saleStartDt": { "fr..

카테고리를 파이썬으로보내야 하나.. 애매하네 시간이 없어 급하게 작업하다 보니 문제가 생김 ecs 가 재실행하면서 노드의 키값이 바뀌다 보니... 죽을때 마다 매번 노가다를 import json import time from elasticsearch import Elasticsearch from elasticsearch.helpers import bulk from ssl import create_default_context import matplotlib.pyplot as plt from matplotlib.collections import EventCollection import numpy as np from hurry.filesize import size import threading import t..
차 용 증 채권자 성명 : (주민등록번호 : - ) 주소 : 연락처 : 채무자 성명 : (주민등록번호 : - ) 주소 : 연락처 : 차용금액 일금 : 금 ₩ 정 ( 원) 위 금원을 정히 차용하고 아래 조항을 이행할 것을 확약합니다. 이자는 년 약 %로 (월 이자금 원) 정하고 매월 일자에 채권자의 주소지에 지참변제 하거나 계좌입금을 하기로 한다. 원금의 변제는 년 월 까지로 하고 채권자의 주소지에 지참 변제하거나 계좌입금을 하기로 한다. 이자의 지급을 1회라도 연채할 때에는 채무자는 기한의 이익을 상실하고 채권자는 원리금 잔액을 청구하여도 이의 없이 변제하기로 함. 본 채무에 관한 분쟁의 재판관할은 채권자의 주소지를 관할하는 법원으로 정함 위 계약을 확실히 하기 위하여 이 증서를 작성하고 기명날인하여 각..
특정쿼리를 반복실행하여 elastic search node 들의 리소스 상태를 확인한다. #!/bin/bash cnt=0 while (("${cnt}" &1 >braze_"${cnt}"_$(date +%Y)-$(date +%m)-$(date +%d)_$(date +%H):$(date +%M):$(date +%S).txt & ((cnt = "${cnt}" + 1)) done echo "END" #!/bin/bash cnt=0 while (("${cnt}" < 500)); do echo "${cnt} data now : $(date +%Y)-$(date +%m)-$(date +%d) $(date +%H):$(date +%M):$(da..
Traceback (most recent call last): File "health.py", line 10, in from hurry.filesize import size ModuleNotFoundError: No module named 'hurry' pip install hurry.filesize print(size(data['nodes']['rqY3qvGvRGS2nVg_eygJAQ']['os']['mem']['total_in_bytes']))
# data = client.cat.shards('hyper-item') data = client.nodes.stats() print(data) # es.cat.indices(h='index', s='index').split() from elasticsearch import Elasticsearch from elasticsearch.helpers import bulk import numpy as np import matplotlib.pyplot as plt import pprint as ppr import json import time import threading def nodes_stats(): data = client.nodes.stats() return [data['nodes']['sZyeNvOx..
/Users/doo/opt/anaconda3/envs/doo/lib/python3.7/site-packages/urllib3/connectionpool.py:988: InsecureRequestWarning: Unverified HTTPS request is being made to host 'category-es-dev.homeplus.kr'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecureRequestWarning, import urllib3 urllib3.disable_warnings(urllib3..

https://github.com/elastic/rally GitHub - elastic/rally: Macrobenchmarking framework for Elasticsearch Macrobenchmarking framework for Elasticsearch. Contribute to elastic/rally development by creating an account on GitHub. github.com https://esrally.readthedocs.io/en/stable/docker.html Running Rally with Docker - Rally 2.7.0 documentation Previous Installation esrally.readthedocs.io