aboutsummaryrefslogtreecommitdiff
path: root/data/elasticsearch-mapping.json
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2020-02-29 21:16:44 +0100
committerChristian Weiske <cweiske@cweiske.de>2020-02-29 21:16:44 +0100
commit18d36cb052c42c20edda2814545c9bdf3fb1cbc5 (patch)
treed6ebd28dd7c575ba4e1c8b6eb4ad5a503e7884c6 /data/elasticsearch-mapping.json
parente8e4778a7550636790d7b33d96a83bbbd3ac21ae (diff)
downloadphinde-elastic6.tar.gz
phinde-elastic6.zip
Diffstat (limited to 'data/elasticsearch-mapping.json')
-rw-r--r--data/elasticsearch-mapping.json44
1 files changed, 18 insertions, 26 deletions
diff --git a/data/elasticsearch-mapping.json b/data/elasticsearch-mapping.json
index aad27d2..8cc4d2a 100644
--- a/data/elasticsearch-mapping.json
+++ b/data/elasticsearch-mapping.json
@@ -9,7 +9,7 @@
"type": "integer"
},
"location": {
- "type": "string"
+ "type": "text"
},
"processed": {
"type": "date"
@@ -26,74 +26,66 @@
}
},
"type": {
- "type": "string",
- "index": "not_analyzed"
+ "type": "keyword"
},
"subtype": {
- "type": "string",
- "index": "not_analyzed"
+ "type": "keyword"
},
"mimetype": {
- "type": "string",
- "index": "not_analyzed"
+ "type": "keyword"
},
"url": {
- "type": "string",
- "index": "not_analyzed",
+ "type": "keyword",
"boost": 1.5
},
"schemalessUrl": {
- "type": "string",
- "index": "not_analyzed",
+ "type": "keyword",
"boost": 1.5
},
"domain": {
- "type": "string",
- "index": "not_analyzed",
+ "type": "keyword",
"boost": 1.8
},
"source": {
- "type": "string",
- "index": "not_analyzed"
+ "type": "keyword"
},
"language": {
- "type": "string",
- "index": "not_analyzed"
+ "type": "keyword"
},
"title": {
- "type": "string",
+ "type": "text",
"boost": 2
},
"h1": {
- "type": "string",
+ "type": "text",
"boost": 1.8
},
"h2": {
- "type": "string",
+ "type": "text",
"boost": 1.7
},
"h3": {
- "type": "string",
+ "type": "text",
"boost": 1.6
},
"h4": {
- "type": "string",
+ "type": "text",
"boost": 1.5
},
"h5": {
- "type": "string",
+ "type": "text",
"boost": 1.4
},
"h6": {
- "type": "string",
+ "type": "text",
"boost": 1.3
},
"text": {
- "type": "string",
+ "type": "text",
"boost": 1.0
},
"tags": {
- "type": "string",
+ "type": "keyword",
"boost": 1.5
}
}