blob: ceeb48ad252885129cb1a9b0e7bfe0f9f72f6a08 (
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
|
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
schema exactmatch {
document exactmatch {
struct elem {
field name type string {}
field weight type int {}
}
field tag type string {
indexing: summary | index
match: exact
}
field screweduserids type string {
indexing: index | summary | attribute
match {
exact
exact-terminator: "*!A!!*"
}
}
field string_map type map<string, string> {
indexing: summary
struct-field key {
indexing: attribute
match {
exact
exact-terminator: "*!B!!*"
}
}
}
field elem_map type map<string, elem> {
indexing: summary
struct-field value.name {
indexing: attribute
match: exact
}
}
field elem_array type array<elem> {
indexing: summary
struct-field name {
indexing: attribute
match: exact
}
}
field another_map type map<string, elem> {
struct-field value.name {
indexing: attribute
match {
exact
exact-terminator: "*!C!!*"
}
}
}
}
}
|