productindex.yml
1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
index:
analysis:
tokenizer:
simple_pinyin:
type: pinyin
first_letter: none
padding_char: ''
ngram_1_to_3:
type: nGram
min_gram: 1
max_gram: 3
filter:
min2_length:
min: 2
max: 4
type: length
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_keyword:
type: custom
tokenizer: keyword
filter:
- lowercase
- trim
- unique
lowercase_keyword_ngram:
type: custom
tokenizer: ngram_1_to_3
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