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

@ -32,7 +32,18 @@ class ElasticSearchHelper
"_doc": { "_doc": {
"properties": { "properties": {
"type": { "type": "keyword" }, "type": { "type": "keyword" },
"paste_metadata": { "type": "nested" } "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" }
}
} }
} }
} }