aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/elasticsearch-mapping.json40
1 files changed, 40 insertions, 0 deletions
diff --git a/data/elasticsearch-mapping.json b/data/elasticsearch-mapping.json
new file mode 100644
index 0000000..ec9bcc9
--- /dev/null
+++ b/data/elasticsearch-mapping.json
@@ -0,0 +1,40 @@
+{
+ "mappings": {
+ "document": {
+ "properties": {
+ "status": {
+ "type": "string",
+ "index": "not_analyzed"
+ },
+ "type": {
+ "type": "string",
+ "index": "not_analyzed"
+ },
+ "subtype": {
+ "type": "string",
+ "index": "not_analyzed"
+ },
+ "mimetype": {
+ "type": "string",
+ "index": "not_analyzed"
+ },
+ "url": {
+ "type": "string",
+ "index": "not_analyzed"
+ },
+ "domain": {
+ "type": "string",
+ "index": "not_analyzed"
+ },
+ "source": {
+ "type": "string",
+ "index": "not_analyzed"
+ },
+ "language": {
+ "type": "string",
+ "index": "not_analyzed"
+ }
+ }
+ }
+ }
+}