Do not allow pages > 100
[phinde.git] / data / elasticsearch-mapping.json
1 {
2     "mappings": {
3         "document": {
4             "properties": {
5                 "status": {
6                     "type": "object",
7                     "properties": {
8                         "code": {
9                             "type": "integer"
10                         },
11                         "location": {
12                             "type": "string"
13                         },
14                         "processed": {
15                             "type": "date"
16                         },
17                         "crdate": {
18                             "type": "date"
19                         },
20                         "modate": {
21                             "type": "date"
22                         },
23                         "findable": {
24                             "type": "boolean"
25                         }
26                     }
27                 },
28                 "type": {
29                     "type": "string",
30                     "index": "not_analyzed"
31                 },
32                 "subtype": {
33                     "type": "string",
34                     "index": "not_analyzed"
35                 },
36                 "mimetype": {
37                     "type": "string",
38                     "index": "not_analyzed"
39                 },
40                 "url": {
41                     "type": "string",
42                     "index": "not_analyzed",
43                     "boost": 1.5
44                 },
45                 "schemalessUrl": {
46                     "type": "string",
47                     "index": "not_analyzed",
48                     "boost": 1.5
49                 },
50                 "domain": {
51                     "type": "string",
52                     "index": "not_analyzed",
53                     "boost": 1.8
54                 },
55                 "source": {
56                     "type": "string",
57                     "index": "not_analyzed"
58                 },
59                 "language": {
60                     "type": "string",
61                     "index": "not_analyzed"
62                 },
63                 "title": {
64                     "type": "string",
65                     "boost": 2
66                 },
67                 "h1": {
68                     "type": "string",
69                     "boost": 1.8
70                 },
71                 "h2": {
72                     "type": "string",
73                     "boost": 1.7
74                 },
75                 "h3": {
76                     "type": "string",
77                     "boost": 1.6
78                 },
79                 "h4": {
80                     "type": "string",
81                     "boost": 1.5
82                 },
83                 "h5": {
84                     "type": "string",
85                     "boost": 1.4
86                 },
87                 "h6": {
88                     "type": "string",
89                     "boost": 1.3
90                 },
91                 "text": {
92                     "type": "string",
93                     "boost": 1.0
94                 },
95                 "tags": {
96                     "type": "string",
97                     "boost": 1.5
98                 }
99             }
100         }
101     }
102 }