tblbrand.yml 1.23 KB
index:
  analysis:
    tokenizer:
      simple_pinyin:
        type: pinyin
        first_letter: none
        padding_char: ''
    filter:
      dynamic_synonym:
        type: dynamic-synonym
        synonym_expand: true
        synonym_ignore_case: true
        synonym_analyzer: ik_smart
      dynamic_synonym_rewrite:
        type: dynamic-synonym-rewrite
        synonym_expand: true
        synonym_ignore_case: true
        synonym_analyzer: ik_smart
    analyzer:
      comma_spliter:
        type: pattern
        pattern: "[,|\\s]+"
      lowercase_standard:
        tokenizer: standard
        type: custom
        filter:
        - lowercase
        - trim
        - unique
      pinyin_analyzer:
        type: custom
        tokenizer: simple_pinyin
        filter:
        - standard
        - word_delimiter
        - lowercase
        - trim
        - unique
      ik_complex:
        type: custom
        tokenizer: ik_smart
        filter:
        - lowercase
        - dynamic_synonym
        - trim
        - unique
      ik_complex_search:
        type: custom
        tokenizer: ik_smart
        filter:
        - lowercase
        - dynamic_synonym_rewrite
        - trim
        - unique

index.analysis.analyzer.default.type: keyword