SHOW:
|
|
- or go back to the newest paste.
1 | { | |
2 | "metadatav3" : { | |
3 | "settings" : { | |
4 | "index" : { | |
5 | "analysis" : { | |
6 | "filter" : { | |
7 | "nGram" : { | |
8 | "type" : "nGram", | |
9 | "min_gram" : "3", | |
10 | "max_gram" : "4" | |
11 | } | |
12 | }, | |
13 | "char_filter" : { | |
14 | "kesha" : { | |
15 | "pattern" : "^([^$]+)\\$([^$]+)$", | |
16 | "type" : "pattern_replace", | |
17 | "replacement" : "$1s$2" | |
18 | }, | |
19 | "pink" : { | |
20 | "type" : "pattern_replace", | |
21 | "pattern" : "^([^$]+)\\!([^$]+)$", | |
22 | "replacement" : "$1i$2" | |
23 | }, | |
24 | "right_curly_quote_mark" : { | |
25 | "pattern" : "โ", | |
26 | "type" : "pattern_replace", | |
27 | "replacement" : "" | |
28 | }, | |
29 | "acute_accent" : { | |
30 | "type" : "pattern_replace", | |
31 | "pattern" : "ยด", | |
32 | "replacement" : "" | |
33 | }, | |
34 | "xfactor" : { | |
35 | "type" : "mapping", | |
36 | "mappings" : [ "-=>" ] | |
37 | }, | |
38 | "noSpace" : { | |
39 | "pattern" : " ", | |
40 | "type" : "pattern_replace", | |
41 | "replacement" : "" | |
42 | }, | |
43 | "grave_accent" : { | |
44 | "pattern" : "`", | |
45 | "type" : "pattern_replace", | |
46 | "replacement" : "" | |
47 | }, | |
48 | "left_curly_quote_mark" : { | |
49 | "type" : "pattern_replace", | |
50 | "pattern" : "โ", | |
51 | "replacement" : "" | |
52 | }, | |
53 | "quotes" : { | |
54 | "type" : "pattern_replace", | |
55 | "pattern" : "'", | |
56 | "replacement" : "" | |
57 | }, | |
58 | "sharp" : { | |
59 | "pattern" : "^([^$]+)\\#([^$]+)$", | |
60 | "type" : "pattern_replace", | |
61 | "replacement" : "$1h$2" | |
62 | } | |
63 | }, | |
64 | "analyzer" : { | |
65 | - | "nGram_no_whitespace_field" : { |
65 | + | |
66 | "filter" : [ "lowercase", "asciifolding", "nGram" ], | |
67 | - | "char_filter" : [ "kesha", "sharp", "pink", "xfactor", "grave_accent", "left_curly_quote_mark", "right_curly_quote_mark", "acute_accent", "quotes", "noSpace" ], |
67 | + | |
68 | "type" : "custom", | |
69 | - | "tokenizer" : "nGram_no_whitespace" |
69 | + | |
70 | }, | |
71 | "edge_nGram_no_split_small_field" : { | |
72 | "filter" : [ "lowercase", "asciifolding" ], | |
73 | "char_filter" : [ "kesha", "sharp", "pink", "xfactor", "grave_accent", "left_curly_quote_mark", "right_curly_quote_mark", "acute_accent", "quotes" ], | |
74 | "type" : "custom", | |
75 | "tokenizer" : "edge_nGram_no_split_small" | |
76 | }, | |
77 | "exact_music_field" : { | |
78 | "filter" : [ "lowercase", "asciifolding" ], | |
79 | "char_filter" : [ "kesha", "sharp", "pink", "xfactor" ], | |
80 | "type" : "custom", | |
81 | "tokenizer" : "keyword" | |
82 | }, | |
83 | "music_field" : { | |
84 | "filter" : [ "lowercase", "asciifolding" ], | |
85 | "char_filter" : [ "kesha", "sharp", "pink", "xfactor", "grave_accent", "left_curly_quote_mark", "right_curly_quote_mark", "acute_accent", "quotes" ], | |
86 | "type" : "custom", | |
87 | "tokenizer" : "standard" | |
88 | } | |
89 | }, | |
90 | "tokenizer" : { | |
91 | "edge_nGram_no_split_small" : { | |
92 | "type" : "edgeNGram", | |
93 | "min_gram" : "1", | |
94 | "max_gram" : "5" | |
95 | } | |
96 | } | |
97 | - | "nGram_no_whitespace" : { |
97 | + | |
98 | "number_of_shards" : "5", | |
99 | "version" : { | |
100 | "created" : "1030299" | |
101 | }, | |
102 | "uuid" : "qEXFlBiXTsq-54-xx6WagQ", | |
103 | "number_of_replicas" : "1" | |
104 | } | |
105 | } | |
106 | } | |
107 | } |