Skip to content

Instantly share code, notes, and snippets.

View jeesim2's full-sized avatar

Jihun No jeesim2

  • Naver
  • Seoul, Korea
View GitHub Profile
POST http://xxxxxxxx:9200/images/baby/_search
# 이미지만 검색. 잘 됨
{
"query": {
"image": {
"theme_image": {
"feature": "JCD",
"image": "/9j/2wBDAA ..... gGBgcGBK//9k="
}
POST /logstash-2014.11.24/_search
{
"query": {
"term": {
"_EventID_": "themepackage"
}
},
"size": 0,
"aggs": {
"country": {
### request
```
POST /logstash-2014.11.23/_log/_search
{
"size": 0,
"aggs": {
"country": {
"terms": {
"field": "Locale",
"size": 0
@jeesim2
jeesim2 / gist:8ddae34121bb1deddffc
Created December 4, 2014 09:22
따로 만들어서 테스트 하니 잘 되네 뭐가 문제일까.
1. 템플릿 추가
PUT /_template/template_test
{
"order": 0,
"template": "test-template-*",
"settings": {
"index.number_of_replicas": "1",
"index.number_of_shards": "5"
},
"mappings": {
http://164.125.36.75/PnuSpellerISAPI_201408/lib/check.asp
{
"timestamp": 1425879811770,
"name": "node001",
"transport_address": "inet[/]",
"host": "",
"ip": [
"inet[/]",
"NONE"
],
"indices": {
jstack 7339
2015-03-09 15:17:36
Full thread dump Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode):
"Attach Listener" daemon prio=10 tid=0x00007ff17c001000 nid=0x22ac waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"elasticsearch[node001][get][T#9]" daemon prio=10 tid=0x00007feea8104000 nid=0x1ff3 waiting on condition [0x00007feddf6bf000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="utf-8"?>
<data>
<campaign>
<name>D STYLE WEB</name>
<advertisement>
<name>アンケートモニター登録</name>
<id>23776</id>
<payment>3</payment>
<period>0</period>
<point>0</point>
[2015-07-24 16:26:19,379][DEBUG][action.search.type ] [node001] [logstash-2015.07.24][4]: Failed to execute [org.elasticsearch.action.search.SearchRequest@48c7227d] while moving to second phase
java.lang.ClassCastException
[2015-07-24 16:26:31,121][DEBUG][action.search.type ] [node001] [logstash-2015.07.24][4]: Failed to execute [org.elasticsearch.action.search.SearchRequest@615cd899] while moving to second phase
java.lang.ClassCastException