-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathindex.json
43 lines (43 loc) · 971 Bytes
/
index.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
{
"settings": {
"index.number_of_shards": {{number_of_shards | default(5)}},
"index.number_of_replicas": {{number_of_replicas | default(0)}},
"index.queries.cache.enabled": {{query_cache_enabled | default(false) | tojson}},
"index.requests.cache.enable": {{requests_cache_enabled | default(false) | tojson}}
},
"mappings": {
"dynamic": "strict",
"_source": {
"enabled": {{ source_enabled | default(true) | tojson }}
},
"properties": {
"user": {
"type": "keyword"
},
"creationDate": {
"type": "date"
},
"title": {
"type": "text"
},
"questionId": {
"type": "keyword"
},
"answerId": {
"type": "keyword"
},
"acceptedAnswerId": {
"type": "keyword"
},
"tags": {
"type": "keyword"
},
"body": {
"type": "text"
},
"type": {
"type": "keyword"
}
}
}
}