- i test highlighting with my combine analyzer.
<nabble_img src="스크린샷_2014-06-25_오후_2.png" border="0"/>
but, Expected Doc Numbers id 9 is highlighting entire sentence.
it's wrong.
- i write this issue at combo analyzer plugin site
-
and i tested more.
curl -XGET 'http://10.101.57.97:10200/testindex/ITEM/9/_termvector?pretty=true'
"รองเท้า" : {
"term_freq" : 2,
"tokens" : [ {
"position" : 0,
"start_offset" : 0,
"end_offset" : 261
}, {
"position" : 0,
"start_offset" : 0,
"end_offset" : 261
} ]
}, -
it's tokens are below analyzer results.
"custom_foreign_languages_analyzer": {
"type": "custom",
"tokenizer": "keyword",
"filter": [
"compound_word",
"keep_word",
"thai_stop_custom",
"english_stop_custom",
"unique_token_filter"
]
},
"custom_foreign_languages_synonym_analyzer": {
"type": "custom",
"tokenizer": "keyword",
"filter": [
"compound_word",
"keep_word",
"thai_stop_custom",
"english_stop_custom",
"synonym",
"unique_token_filter"
]
}
is it impossible to highlighting with custom_foreign_languages_synonym_analyzer and custom_foreign_languages_analyzer?
please somebody help me please.