aboutsummaryrefslogtreecommitdiff
path: root/data/elasticsearch-mapping.json
blob: aad27d27e31a5a30460eda67e457ad2f6196ae4c (plain)
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
{
    "mappings": {
        "document": {
            "properties": {
                "status": {
                    "type": "object",
                    "properties": {
                        "code": {
                            "type": "integer"
                        },
                        "location": {
                            "type": "string"
                        },
                        "processed": {
                            "type": "date"
                        },
                        "crdate": {
                            "type": "date"
                        },
                        "modate": {
                            "type": "date"
                        },
                        "findable": {
                            "type": "boolean"
                        }
                    }
                },
                "type": {
                    "type": "string",
                    "index": "not_analyzed"
                },
                "subtype": {
                    "type": "string",
                    "index": "not_analyzed"
                },
                "mimetype": {
                    "type": "string",
                    "index": "not_analyzed"
                },
                "url": {
                    "type": "string",
                    "index": "not_analyzed",
                    "boost": 1.5
                },
                "schemalessUrl": {
                    "type": "string",
                    "index": "not_analyzed",
                    "boost": 1.5
                },
                "domain": {
                    "type": "string",
                    "index": "not_analyzed",
                    "boost": 1.8
                },
                "source": {
                    "type": "string",
                    "index": "not_analyzed"
                },
                "language": {
                    "type": "string",
                    "index": "not_analyzed"
                },
                "title": {
                    "type": "string",
                    "boost": 2
                },
                "h1": {
                    "type": "string",
                    "boost": 1.8
                },
                "h2": {
                    "type": "string",
                    "boost": 1.7
                },
                "h3": {
                    "type": "string",
                    "boost": 1.6
                },
                "h4": {
                    "type": "string",
                    "boost": 1.5
                },
                "h5": {
                    "type": "string",
                    "boost": 1.4
                },
                "h6": {
                    "type": "string",
                    "boost": 1.3
                },
                "text": {
                    "type": "string",
                    "boost": 1.0
                },
                "tags": {
                    "type": "string",
                    "boost": 1.5
                }
            }
        }
    }
}