blob: 6d30891f307368e9b260c1a0c14b9f59c70acf82 (
plain) (
blame)
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search mail {
stemming: none
document mail {
field URI type uri {
indexing: summary
summary-to: default, mailid
}
field mailid type string {
indexing: summary | index
match: prefix
summary-to: default, mailid
}
field date type int {
indexing: summary | attribute | index
match: prefix
}
field from type string {
indexing: summary | index
match: prefix
}
field replyto type string {
indexing: summary | index
match: prefix
}
field to type string {
indexing: summary | index
match: prefix
}
field cc type string {
indexing: index
match: prefix
}
field bcc type string {
indexing: index
match: prefix
}
field subject type string {
indexing: summary | index
match: prefix
}
field body type string {
indexing: summary | index
match: substring
body
}
field attachmentcount type int {
indexing: summary | index
body
}
field attachmentnames type string {
indexing: index
body
}
field attachmenttypes type string {
indexing: index
body
}
field attachmentlanguages type string {
indexing: index
match: prefix
body
}
field attachmentcontent type string {
indexing: summary | index
match: prefix
body
}
field attachments type raw[] {
body
}
}
field snippet type string {
indexing: (input body | to_string) . (input attachmentcontent | to_string) | summary
summary: dynamic
}
}
|