|
@@ -18,10 +18,10 @@ |
|
@@ -18,10 +18,10 @@ |
18
|
"fields": {
|
18
|
"fields": {
|
19
|
"productSkn_ik": {
|
19
|
"productSkn_ik": {
|
20
|
"type": "text",
|
20
|
"type": "text",
|
21
|
- "analyzer": "ik_complex",
|
21
|
+ "analyzer": "keyword",
|
22
|
"search_analyzer": "ik_complex_search"
|
22
|
"search_analyzer": "ik_complex_search"
|
23
|
},
|
23
|
},
|
24
|
- "productSkn_ansj": {
|
24
|
+ "productSkn_spliter": {
|
25
|
"type": "text",
|
25
|
"type": "text",
|
26
|
"analyzer": "keyword",
|
26
|
"analyzer": "keyword",
|
27
|
"search_analyzer": "comma_spliter"
|
27
|
"search_analyzer": "comma_spliter"
|
|
@@ -32,19 +32,14 @@ |
|
@@ -32,19 +32,14 @@ |
32
|
"type": "integer"
|
32
|
"type": "integer"
|
33
|
},
|
33
|
},
|
34
|
"productName": {
|
34
|
"productName": {
|
35
|
- "type": "keyword",
|
|
|
36
|
- "index": "no",
|
35
|
+ "type": "text",
|
|
|
36
|
+ "analyzer": "ik_complex",
|
|
|
37
|
+ "search_analyzer": "ik_complex_search",
|
|
|
38
|
+ "fielddata": "true",
|
37
|
"copy_to": [
|
39
|
"copy_to": [
|
38
|
- "searchField"
|
|
|
39
|
- ],
|
|
|
40
|
- "fields": {
|
|
|
41
|
- "productName_ansj": {
|
|
|
42
|
- "type": "text",
|
|
|
43
|
- "analyzer": "ik_complex",
|
|
|
44
|
- "search_analyzer": "ik_complex_search",
|
|
|
45
|
- "fielddata": "true"
|
|
|
46
|
- }
|
|
|
47
|
- }
|
40
|
+ "searchField",
|
|
|
41
|
+ "searchField_pinyin"
|
|
|
42
|
+ ]
|
48
|
},
|
43
|
},
|
49
|
"phrase": {
|
44
|
"phrase": {
|
50
|
"type": "keyword",
|
45
|
"type": "keyword",
|
|
@@ -71,7 +66,8 @@ |
|
@@ -71,7 +66,8 @@ |
71
|
"analyzer": "comma_spliter",
|
66
|
"analyzer": "comma_spliter",
|
72
|
"search_analyzer": "ik_complex_search",
|
67
|
"search_analyzer": "ik_complex_search",
|
73
|
"copy_to": [
|
68
|
"copy_to": [
|
74
|
- "searchField"
|
69
|
+ "searchField",
|
|
|
70
|
+ "searchField_pinyin"
|
75
|
]
|
71
|
]
|
76
|
},
|
72
|
},
|
77
|
"isnew": {
|
73
|
"isnew": {
|
|
@@ -105,7 +101,8 @@ |
|
@@ -105,7 +101,8 @@ |
105
|
"type": "text",
|
101
|
"type": "text",
|
106
|
"analyzer": "comma_spliter",
|
102
|
"analyzer": "comma_spliter",
|
107
|
"copy_to": [
|
103
|
"copy_to": [
|
108
|
- "searchField"
|
104
|
+ "searchField",
|
|
|
105
|
+ "searchField_pinyin"
|
109
|
]
|
106
|
]
|
110
|
},
|
107
|
},
|
111
|
"firstShelveTime": {
|
108
|
"firstShelveTime": {
|
|
@@ -186,48 +183,27 @@ |
|
@@ -186,48 +183,27 @@ |
186
|
"analyzer": "ik_complex",
|
183
|
"analyzer": "ik_complex",
|
187
|
"search_analyzer": "ik_complex_search",
|
184
|
"search_analyzer": "ik_complex_search",
|
188
|
"copy_to": [
|
185
|
"copy_to": [
|
189
|
- "searchField"
|
|
|
190
|
- ],
|
|
|
191
|
- "fields": {
|
|
|
192
|
- "maxSort_pinyin": {
|
|
|
193
|
- "type": "text",
|
|
|
194
|
- "analyzer": "pinyin_analyzer",
|
|
|
195
|
- "search_analyzer": "ik_complex_search"
|
|
|
196
|
- }
|
|
|
197
|
- }
|
186
|
+ "searchField",
|
|
|
187
|
+ "searchField_pinyin"
|
|
|
188
|
+ ]
|
198
|
},
|
189
|
},
|
199
|
"middleSort": {
|
190
|
"middleSort": {
|
200
|
"type": "text",
|
191
|
"type": "text",
|
201
|
"analyzer": "ik_complex",
|
192
|
"analyzer": "ik_complex",
|
202
|
"search_analyzer": "ik_complex_search",
|
193
|
"search_analyzer": "ik_complex_search",
|
203
|
"copy_to": [
|
194
|
"copy_to": [
|
204
|
- "searchField"
|
|
|
205
|
- ],
|
|
|
206
|
- "fields": {
|
|
|
207
|
- "middleSort_pinyin": {
|
|
|
208
|
- "type": "text",
|
|
|
209
|
- "analyzer": "pinyin_analyzer",
|
|
|
210
|
- "search_analyzer": "ik_complex_search"
|
|
|
211
|
- }
|
|
|
212
|
- }
|
195
|
+ "searchField",
|
|
|
196
|
+ "searchField_pinyin"
|
|
|
197
|
+ ]
|
213
|
},
|
198
|
},
|
214
|
"smallSort": {
|
199
|
"smallSort": {
|
215
|
"type": "text",
|
200
|
"type": "text",
|
216
|
"analyzer": "ik_complex",
|
201
|
"analyzer": "ik_complex",
|
217
|
"search_analyzer": "ik_complex_search",
|
202
|
"search_analyzer": "ik_complex_search",
|
218
|
"copy_to": [
|
203
|
"copy_to": [
|
219
|
- "searchField"
|
|
|
220
|
- ],
|
|
|
221
|
- "fields": {
|
|
|
222
|
- "smallSort_pinyin": {
|
|
|
223
|
- "type": "text",
|
|
|
224
|
- "analyzer": "pinyin_analyzer",
|
|
|
225
|
- "search_analyzer": "ik_complex_search"
|
|
|
226
|
- },
|
|
|
227
|
- "smallSort_keyword": {
|
|
|
228
|
- "type": "keyword"
|
|
|
229
|
- }
|
|
|
230
|
- }
|
204
|
+ "searchField",
|
|
|
205
|
+ "searchField_pinyin"
|
|
|
206
|
+ ]
|
231
|
},
|
207
|
},
|
232
|
"brandId": {
|
208
|
"brandId": {
|
233
|
"type": "integer"
|
209
|
"type": "integer"
|
|
@@ -245,9 +221,6 @@ |
|
@@ -245,9 +221,6 @@ |
245
|
"analyzer": "ik_complex",
|
221
|
"analyzer": "ik_complex",
|
246
|
"search_analyzer": "ik_complex_search",
|
222
|
"search_analyzer": "ik_complex_search",
|
247
|
"fields": {
|
223
|
"fields": {
|
248
|
- "brandName_keyword": {
|
|
|
249
|
- "type": "keyword"
|
|
|
250
|
- },
|
|
|
251
|
"brandName_lowercase": {
|
224
|
"brandName_lowercase": {
|
252
|
"type": "text",
|
225
|
"type": "text",
|
253
|
"analyzer": "lowercase_keyword",
|
226
|
"analyzer": "lowercase_keyword",
|
|
@@ -262,14 +235,7 @@ |
|
@@ -262,14 +235,7 @@ |
262
|
"brandNameCn": {
|
235
|
"brandNameCn": {
|
263
|
"type": "text",
|
236
|
"type": "text",
|
264
|
"analyzer": "ik_complex",
|
237
|
"analyzer": "ik_complex",
|
265
|
- "search_analyzer": "ik_complex_search",
|
|
|
266
|
- "fields": {
|
|
|
267
|
- "brandNameCn_pinyin": {
|
|
|
268
|
- "type": "text",
|
|
|
269
|
- "analyzer": "pinyin_analyzer",
|
|
|
270
|
- "search_analyzer": "ik_complex_search"
|
|
|
271
|
- }
|
|
|
272
|
- }
|
238
|
+ "search_analyzer": "ik_complex_search"
|
273
|
},
|
239
|
},
|
274
|
"brandNameEn": {
|
240
|
"brandNameEn": {
|
275
|
"type": "text",
|
241
|
"type": "text",
|
|
@@ -396,7 +362,8 @@ |
|
@@ -396,7 +362,8 @@ |
396
|
"search_analyzer": "ik_complex_search",
|
362
|
"search_analyzer": "ik_complex_search",
|
397
|
"fielddata": "true",
|
363
|
"fielddata": "true",
|
398
|
"copy_to": [
|
364
|
"copy_to": [
|
399
|
- "searchField"
|
365
|
+ "searchField",
|
|
|
366
|
+ "searchField_pinyin"
|
400
|
]
|
367
|
]
|
401
|
},
|
368
|
},
|
402
|
"sizeIds": {
|
369
|
"sizeIds": {
|
|
@@ -409,7 +376,8 @@ |
|
@@ -409,7 +376,8 @@ |
409
|
"analyzer": "ik_complex",
|
376
|
"analyzer": "ik_complex",
|
410
|
"search_analyzer": "ik_complex_search",
|
377
|
"search_analyzer": "ik_complex_search",
|
411
|
"copy_to": [
|
378
|
"copy_to": [
|
412
|
- "searchField"
|
379
|
+ "searchField",
|
|
|
380
|
+ "searchField_pinyin"
|
413
|
]
|
381
|
]
|
414
|
},
|
382
|
},
|
415
|
"breakSizePercent": {
|
383
|
"breakSizePercent": {
|
|
@@ -456,29 +424,21 @@ |
|
@@ -456,29 +424,21 @@ |
456
|
"fielddata": "true"
|
424
|
"fielddata": "true"
|
457
|
},
|
425
|
},
|
458
|
"standardOnlyNames": {
|
426
|
"standardOnlyNames": {
|
459
|
- "type": "keyword",
|
427
|
+ "type": "text",
|
|
|
428
|
+ "analyzer": "ik_complex",
|
|
|
429
|
+ "search_analyzer": "ik_complex_search",
|
460
|
"copy_to": [
|
430
|
"copy_to": [
|
461
|
- "searchField"
|
|
|
462
|
- ],
|
|
|
463
|
- "fields": {
|
|
|
464
|
- "standardOnlyNames_ansj": {
|
|
|
465
|
- "type": "text",
|
|
|
466
|
- "analyzer": "ik_complex",
|
|
|
467
|
- "search_analyzer": "ik_complex_search"
|
|
|
468
|
- },
|
|
|
469
|
- "standardOnlyNames_pinyin": {
|
|
|
470
|
- "type": "text",
|
|
|
471
|
- "analyzer": "pinyin_analyzer",
|
|
|
472
|
- "search_analyzer": "ik_complex_search"
|
|
|
473
|
- }
|
|
|
474
|
- }
|
431
|
+ "searchField",
|
|
|
432
|
+ "searchField_pinyin"
|
|
|
433
|
+ ]
|
475
|
},
|
434
|
},
|
476
|
"attributeNames": {
|
435
|
"attributeNames": {
|
477
|
"type": "text",
|
436
|
"type": "text",
|
478
|
"analyzer": "ik_complex",
|
437
|
"analyzer": "ik_complex",
|
479
|
"search_analyzer": "ik_complex_search",
|
438
|
"search_analyzer": "ik_complex_search",
|
480
|
"copy_to": [
|
439
|
"copy_to": [
|
481
|
- "searchField"
|
440
|
+ "searchField",
|
|
|
441
|
+ "searchField_pinyin"
|
482
|
]
|
442
|
]
|
483
|
},
|
443
|
},
|
484
|
"defaultImages": {
|
444
|
"defaultImages": {
|
|
@@ -606,6 +566,11 @@ |
|
@@ -606,6 +566,11 @@ |
606
|
"analyzer": "lowercase_keyword_ngram",
|
566
|
"analyzer": "lowercase_keyword_ngram",
|
607
|
"search_analyzer": "ik_complex_search"
|
567
|
"search_analyzer": "ik_complex_search"
|
608
|
},
|
568
|
},
|
|
|
569
|
+ "searchField_pinyin": {
|
|
|
570
|
+ "type": "text",
|
|
|
571
|
+ "analyzer": "pinyin_analyzer",
|
|
|
572
|
+ "search_analyzer": "ik_complex_search"
|
|
|
573
|
+ },
|
609
|
"specialSearchField": {
|
574
|
"specialSearchField": {
|
610
|
"type": "text",
|
575
|
"type": "text",
|
611
|
"analyzer": "ik_complex",
|
576
|
"analyzer": "ik_complex",
|