commit | author | age
|
bf6fbe
|
1 |
|
L |
2 |
|
|
3 |
PUT /sfc_media |
|
4 |
|
|
5 |
{ |
|
6 |
"settings": { |
|
7 |
"number_of_shards": "5", |
|
8 |
"number_of_replicas": "1" |
|
9 |
}, |
|
10 |
"aliases": { |
|
11 |
"sfc_media_1": {}, |
|
12 |
|
|
13 |
}, |
|
14 |
"mappings": { |
|
15 |
"dynamic": "strict", |
|
16 |
"dynamic_date_formats": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis", |
|
17 |
"properties": { |
|
18 |
"fileName": { |
|
19 |
"type": "text", |
|
20 |
"analyzer": "ik_max_word", |
|
21 |
"search_analyzer": "ik_max_word" |
|
22 |
}, |
|
23 |
"description": { |
|
24 |
"type": "text", |
|
25 |
"analyzer": "ik_max_word", |
|
26 |
"search_analyzer": "ik_smart" |
|
27 |
}, |
|
28 |
"title": { |
|
29 |
"type": "text", |
|
30 |
"analyzer": "ik_max_word", |
|
31 |
"search_analyzer": "ik_max_word" |
|
32 |
}, |
|
33 |
|
|
34 |
"videoText": { |
|
35 |
"type": "text", |
|
36 |
"analyzer": "ik_max_word", |
|
37 |
"search_analyzer": "ik_smart" |
|
38 |
}, |
|
39 |
|
|
40 |
"tags": { |
|
41 |
"type": "keyword" |
|
42 |
}, |
|
43 |
|
|
44 |
"personTags": { |
|
45 |
"type": "keyword" |
|
46 |
}, |
|
47 |
|
|
48 |
"labelTags": { |
|
49 |
"type": "keyword" |
|
50 |
}, |
|
51 |
|
|
52 |
"deptId": { |
|
53 |
"type": "keyword" |
|
54 |
}, |
|
55 |
"storeType": { |
|
56 |
"type": "integer" |
|
57 |
}, |
|
58 |
"id": { |
|
59 |
"type": "integer" |
|
60 |
}, |
|
61 |
|
|
62 |
|
|
63 |
"typeId": { |
|
64 |
"type": "integer" |
|
65 |
}, |
|
66 |
|
|
67 |
"createTime": { |
|
68 |
"format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis", |
|
69 |
"type": "date" |
|
70 |
}, |
|
71 |
|
|
72 |
|
|
73 |
"groupId": { |
|
74 |
"type": "integer" |
|
75 |
}, |
|
76 |
"status": { |
|
77 |
"type": "integer" |
|
78 |
}, |
|
79 |
"uploadStatus": { |
|
80 |
"type": "integer" |
|
81 |
}, |
|
82 |
"duration": { |
|
83 |
"type": "integer" |
|
84 |
}, |
|
85 |
"height": { |
|
86 |
"type": "integer" |
|
87 |
}, |
|
88 |
"width": { |
|
89 |
"type": "integer" |
|
90 |
}, |
|
91 |
|
|
92 |
"dirId": { |
|
93 |
"type": "integer" |
|
94 |
}, |
|
95 |
"videoBitrate": { |
|
96 |
"type": "integer" |
|
97 |
}, |
|
98 |
|
|
99 |
|
|
100 |
"fileMd5": { |
|
101 |
"type": "keyword" |
|
102 |
}, |
|
103 |
|
|
104 |
|
|
105 |
"programId": { |
|
106 |
"type": "integer" |
|
107 |
}, |
|
108 |
|
|
109 |
"videoId": { |
|
110 |
"type": "integer" |
|
111 |
}, |
|
112 |
"userId": { |
|
113 |
"type": "keyword" |
|
114 |
}, |
|
115 |
"userName": { |
|
116 |
"type": "keyword" |
|
117 |
}, |
|
118 |
|
|
119 |
"size": { |
|
120 |
"type": "long" |
|
121 |
}, |
|
122 |
"cateId": { |
|
123 |
"type": "integer" |
|
124 |
}, |
|
125 |
|
|
126 |
"cateIdLeaf": { |
|
127 |
"type": "integer" |
|
128 |
}, |
|
129 |
"mediaStatus": { |
|
130 |
"type": "integer" |
|
131 |
}, |
|
132 |
|
|
133 |
"decodeStatus": { |
|
134 |
"type": "integer" |
|
135 |
}, |
|
136 |
"isCollect": { |
|
137 |
"type": "integer" |
|
138 |
}, |
|
139 |
|
|
140 |
|
|
141 |
|
|
142 |
"fps": { |
|
143 |
"type": "integer", |
|
144 |
"index": false |
|
145 |
}, |
|
146 |
"audioBitrate": { |
|
147 |
"type": "integer", |
|
148 |
"index": false |
|
149 |
}, |
|
150 |
"previewUrl": { |
|
151 |
"type": "text", |
|
152 |
"index": false |
|
153 |
}, |
|
154 |
"originalFile": { |
|
155 |
"type": "text", |
|
156 |
"index": false |
|
157 |
}, |
|
158 |
"coverUrl": { |
|
159 |
"type": "text", |
|
160 |
"index": false |
|
161 |
}, |
|
162 |
"format": { |
|
163 |
"type": "text", |
|
164 |
"index": false |
|
165 |
}, |
|
166 |
"videoCodec": { |
|
167 |
"type": "text", |
|
168 |
"index": false |
|
169 |
}, |
|
170 |
"audioCodec": { |
|
171 |
"type": "text", |
|
172 |
"index": false |
|
173 |
} |
|
174 |
|
|
175 |
|
|
176 |
|
|
177 |
|
|
178 |
} |
|
179 |
} |
|
180 |
} |