Please, help with elasticsearch result term


(Jongmin Kim) #1

Hi, I'm Jongmin from Korea.

I'm using elasticsearch with kibana to analyze my music providing service.

This is the type of log that indexed in elasticsearch.

{"cid":"163691","singer":"Brian
McKnight","stime":"2014-01-18T17:46:56","title":"One Last
Cry","_index":"music","_type":"mymusic","_id":"20140120_4943395"}

When I made a term panel in Kibana, and expected title records, and It
shows this.

https://lh5.googleusercontent.com/-y68-46NZWN8/Uu2dJgxV5hI/AAAAAAAAAR8/qQ5PmCPdmOI/s1600/스크린샷+2014-02-02+오전+10.19.12.png

It shows search result "One" "Last" "Cry" separately. I want a sentence
"One last cry" in one result.

I want to make a panel board with Top Music Titles and Top Singers.

I guess I have to setup elasticsearch TokenAnalyzer, but I'm very new with
ES and have no idea how to do it.

Please someone give me the guide how can I change the setting.

Thank you in advance.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/42c3b148-450c-4d43-b247-b495f5907b8f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Jun Ohtani) #2

Hi,

You should use "not_analyzed" to singer and title field "index" attribute
for using the field "TOP TITLE" panel.

You delete the index before you change the mapping.
And you re-index all data.

See:
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-core-types.html

I am hoping that it will be helpful for you.

Regards,
Jun
2014/02/02 10:25 "Jong Min Kim" kimjmin@gmail.com:

Hi, I'm Jongmin from Korea.

I'm using elasticsearch with kibana to analyze my music providing service.

This is the type of log that indexed in elasticsearch.

{"cid":"163691","singer":"Brian
McKnight","stime":"2014-01-18T17:46:56","title":"One Last
Cry","_index":"music","_type":"mymusic","_id":"20140120_4943395"}

When I made a term panel in Kibana, and expected title records, and It
shows this.

https://lh5.googleusercontent.com/-y68-46NZWN8/Uu2dJgxV5hI/AAAAAAAAAR8/qQ5PmCPdmOI/s1600/스크린샷+2014-02-02+오전+10.19.12.png

It shows search result "One" "Last" "Cry" separately. I want a sentence
"One last cry" in one result.

I want to make a panel board with Top Music Titles and Top Singers.

I guess I have to setup elasticsearch TokenAnalyzer, but I'm very new with
ES and have no idea how to do it.

Please someone give me the guide how can I change the setting.

Thank you in advance.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/42c3b148-450c-4d43-b247-b495f5907b8f%40googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPW8A5wK4NjmedSWT6oK3vTKCtpqT2vTiKTYJ5Q2qbq16jA0pw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Jongmin Kim) #3

Thanks a lot lot lot :slight_smile:

2014년 2월 2일 일요일 오전 10시 50분 52초 UTC+9, Jun Ohtani 님의 말:

Hi,

You should use "not_analyzed" to singer and title field "index" attribute
for using the field "TOP TITLE" panel.

You delete the index before you change the mapping.
And you re-index all data.

See:

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-core-types.html

I am hoping that it will be helpful for you.

Regards,
Jun
2014/02/02 10:25 "Jong Min Kim" <kim...@gmail.com <javascript:>>:

Hi, I'm Jongmin from Korea.

I'm using elasticsearch with kibana to analyze my music providing service.

This is the type of log that indexed in elasticsearch.

{"cid":"163691","singer":"Brian
McKnight","stime":"2014-01-18T17:46:56","title":"One Last
Cry","_index":"music","_type":"mymusic","_id":"20140120_4943395"}

When I made a term panel in Kibana, and expected title records, and It
shows this.

https://lh5.googleusercontent.com/-y68-46NZWN8/Uu2dJgxV5hI/AAAAAAAAAR8/qQ5PmCPdmOI/s1600/스크린샷+2014-02-02+오전+10.19.12.png

It shows search result "One" "Last" "Cry" separately. I want a sentence
"One last cry" in one result.

I want to make a panel board with Top Music Titles and Top Singers.

I guess I have to setup elasticsearch TokenAnalyzer, but I'm very new
with ES and have no idea how to do it.

Please someone give me the guide how can I change the setting.

Thank you in advance.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/42c3b148-450c-4d43-b247-b495f5907b8f%40googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/921ab5f5-d977-4b63-8717-c49782cc8b64%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4