Keyword custom analyzer with highlighting is not working


(이지홍) #1
  1. 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.

  1. i write this issue at combo analyzer plugin site
  1. 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
    } ]
    },

  2. 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.


(system) #2