-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathkirjastot_fi.schema.json
114 lines (114 loc) · 2.53 KB
/
kirjastot_fi.schema.json
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"settings": {
"index": {
"number_of_shards": 5,
"number_of_replicas": 0,
"analysis": {
"analyzer": {
"whitespace_only": {
"tokenizer": "whitespace",
"filter": "lowercase"
},
"lowercase": {
"tokenizer": "keyword",
"filter": "lowercase"
},
"finnish_text": {
"tokenizer": "standard",
"filter": ["standard", "lowercase", "finnish_stemmer"]
}
},
"filter": {
"finnish_stemmer": {
"type": "stemmer",
"name": "finnish"
}
}
}
}
},
"mappings" : {
"content": {
"properties": {
"id": {
"type": "integer"
},
"entity_type": {
"type": "keyword"
},
"bundle": {
"type": "keyword"
},
"langcode": {
"type": "keyword"
},
"title": {
"type": "text",
"analyzer": "finnish_text"
},
"body": {
"type": "text",
"analyzer": "finnish_text"
},
"terms": {
"type": "integer"
},
"tags": {
"type": "keyword"
},
"created": {
"type": "date"
},
"changed": {
"type": "date"
},
"fields": {
"properties": {
"comment": {
"properties": {
"commented_entity_type": {
"type": "keyword"
},
"commented_entity_id": {
"type": "integer"
},
"comment_field": {
"type": "keyword"
}
}
},
"procal_entry": {
"properties": {
"starts": {
"type": "date"
},
"ends": {
"type": "date"
},
"expires": {
"type": "date"
},
"location": {
"type": "text"
},
"organisation": {
"type": "text"
},
"streamable": {
"type": "boolean"
}
}
},
"evrecipe": {
"properties": {
"organizer": {
"type": "text"
}
}
}
}
}
}
}
}
}