suggest.yml 764 Bytes
index:
  analysis:
    tokenizer:
      simple_pinyin:
        type: pinyin
        first_letter: none
        padding_char: ''
    filter:
      pinyin_first_letter:
        type: pinyin
        first_letter: only
    analyzer:
      lowercase_keyword:
        type: custom
        tokenizer: keyword
        filter:
        - lowercase
        - trim
        - unique
      pinyin_analyzer:
        type: custom
        tokenizer: simple_pinyin
        filter:
        - standard
        - word_delimiter
        - lowercase
        - trim
        - unique
      pinyin_first_letter_keyword_analyzer:
        type: custom
        tokenizer: keyword
        filter:
        - pinyin_first_letter
        - lowercase

index.analysis.analyzer.default.type: keyword