almost there with the mappings for metadata

This commit is contained in:
booboy 2018-11-18 06:44:45 -06:00
parent 18c1bde0a3
commit 319822fdad

View file

@ -31,8 +31,19 @@ class ElasticSearchHelper
"mappings": {
"_doc": {
"properties": {
"type": { "type": "keyword" },
"paste_metadata": { "type": "nested" }
"type": { "type": "keyword" },
"paste_metadata": { "type": "nested" },
"properties": {
"scrape_url": { "type": "string" },
"full_url": { "type": "string" },
"date": { "type": "string" },
"size": { "type": "string" },
"expire": { "type": "string" },
"title": { "type": "string" },
"syntax": { "type": "string" },
"user": { "type": "string" },
"hits": { "type": "string" }
}
}
}
}