· 9 years ago · Jul 14, 2017, 09:02 AM
1{
2 "facets": {
3 "appointment": [
4 {
5 "buckets": [
6 {
7 "doc_count": 16,
8 "key": "floor"
9 },
10 {
11 "doc_count": 14,
12 "key": "room"
13 },
14 {
15 "doc_count": 10,
16 "key": "1st"
17 },
18 {
19 "doc_count": 8,
20 "key": "conference"
21 },
22 {
23 "doc_count": 8,
24 "key": "hyderabad"
25 },
26 {
27 "doc_count": 5,
28 "key": "conf"
29 },
30 {
31 "doc_count": 4,
32 "key": "hyderbad"
33 },
34 {
35 "doc_count": 4,
36 "key": "lcd"
37 },
38 {
39 "doc_count": 4,
40 "key": "local"
41 },
42 {
43 "doc_count": 3,
44 "key": "w"
45 }
46 ],
47 "facetMeta": {
48 "aggQuery": {
49 "Appointment Location": {
50 "terms": {
51 "field": "appointmentLocation"
52 }
53 }
54 },
55 "dataType": "string",
56 "field": "appointmentLocation",
57 "name": "Appointment Location",
58 "type": "bucket-term"
59 }
60 },
61 {
62 "facetMeta": {
63 "aggQuery": {
64 "max": {
65 "max": {
66 "field": "startDate"
67 }
68 },
69 "min": {
70 "min": {
71 "field": "startDate"
72 }
73 }
74 },
75 "dataType": "date",
76 "field": "startDate",
77 "name": "Start Date",
78 "type": "metric-min-max"
79 },
80 "max": {
81 "value": 1483020000000,
82 "value_as_string": "12/29/2016 14:00:00"
83 },
84 "min": {
85 "value": 1378800000000,
86 "value_as_string": "09/10/2013 08:00:00"
87 }
88 }
89 ],
90 "email": [
91 {
92 "buckets": [
93 {
94 "doc_count": 3096,
95 "key": "tecnics.com"
96 },
97 {
98 "doc_count": 165,
99 "key": "elementblue.me"
100 },
101 {
102 "doc_count": 116,
103 "key": "basecamp.com"
104 },
105 {
106 "doc_count": 78,
107 "key": "elementblue.com"
108 },
109 {
110 "doc_count": 48,
111 "key": "gmail.com"
112 },
113 {
114 "doc_count": 40,
115 "key": "elementblue.in"
116 },
117 {
118 "doc_count": 36,
119 "key": "ega.rak.ae"
120 },
121 {
122 "doc_count": 31,
123 "key": "globalcitizen.org"
124 },
125 {
126 "doc_count": 31,
127 "key": "todoist.com"
128 },
129 {
130 "doc_count": 20,
131 "key": "hubspot.com"
132 }
133 ],
134 "facetMeta": {
135 "aggQuery": {
136 "Domain": {
137 "terms": {
138 "field": "domain"
139 }
140 }
141 },
142 "dataType": "string",
143 "field": "domain",
144 "name": "Domain",
145 "type": "bucket-term"
146 }
147 },
148 {
149 "facetMeta": {
150 "aggQuery": {
151 "max": {
152 "max": {
153 "field": "receivedDate"
154 }
155 },
156 "min": {
157 "min": {
158 "field": "receivedDate"
159 }
160 }
161 },
162 "dataType": "date",
163 "field": "receivedDate",
164 "name": "Received Date",
165 "type": "metric-min-max"
166 },
167 "max": {
168 "value": 1483584921000,
169 "value_as_string": "01/05/2017 02:55:21"
170 },
171 "min": {
172 "value": 1452790952000,
173 "value_as_string": "01/14/2016 17:02:32"
174 }
175 },
176 {
177 "buckets": [
178 {
179 "doc_count": 2359,
180 "key": "Inbox"
181 },
182 {
183 "doc_count": 773,
184 "key": "Sent"
185 },
186 {
187 "doc_count": 391,
188 "key": "Sync Issues (This computer only)"
189 },
190 {
191 "doc_count": 306,
192 "key": "Drafts"
193 },
194 {
195 "doc_count": 276,
196 "key": "Trash"
197 },
198 {
199 "doc_count": 136,
200 "key": "Sent Items"
201 },
202 {
203 "doc_count": 124,
204 "key": "Deleted Items"
205 },
206 {
207 "doc_count": 32,
208 "key": "Contacts"
209 },
210 {
211 "doc_count": 6,
212 "key": "Calendar"
213 },
214 {
215 "doc_count": 4,
216 "key": "SPAM Search Folder 2"
217 }
218 ],
219 "facetMeta": {
220 "aggQuery": {
221 "Folder Name": {
222 "terms": {
223 "field": "folderName"
224 }
225 }
226 },
227 "dataType": "string",
228 "field": "folderName",
229 "name": "Folder Name",
230 "type": "bucket-term"
231 }
232 },
233 {
234 "buckets": [
235 {
236 "doc_count": 1260,
237 "key": "murthy_avsn@tecnics.com"
238 },
239 {
240 "doc_count": 448,
241 "key": ""
242 },
243 {
244 "doc_count": 190,
245 "key": "harminder.singh@tecnics.com"
246 },
247 {
248 "doc_count": 187,
249 "key": "donotreply@tecnics.com"
250 },
251 {
252 "doc_count": 150,
253 "key": "aiyaz.m@elementblue.me"
254 },
255 {
256 "doc_count": 146,
257 "key": "vardhan.mendu@tecnics.com"
258 },
259 {
260 "doc_count": 112,
261 "key": "notifications@basecamp.com"
262 },
263 {
264 "doc_count": 97,
265 "key": "sravani_perumalla@tecnics.com"
266 },
267 {
268 "doc_count": 84,
269 "key": "vinodh_colluru@tecnics.com"
270 },
271 {
272 "doc_count": 74,
273 "key": "fameeda.shaik@tecnics.com"
274 }
275 ],
276 "facetMeta": {
277 "aggQuery": {
278 "From Address": {
279 "terms": {
280 "field": "fromAddress"
281 }
282 }
283 },
284 "dataType": "string",
285 "field": "fromAddress",
286 "name": "From Address",
287 "type": "bucket-term"
288 }
289 }
290 ]
291 }
292}