diff --git a/mappings/document.js b/mappings/document.js index da22b396..d04bd8e8 100644 --- a/mappings/document.js +++ b/mappings/document.js @@ -166,7 +166,7 @@ var schema = { bounding_box: require('./partial/boundingbox'), // meta info - source_id: keyword, + source_id: keyword_with_doc_values, category: keyword, population: multiplier, popularity: multiplier, diff --git a/test/fixtures/expected.json b/test/fixtures/expected.json index be715c99..b30102f4 100644 --- a/test/fixtures/expected.json +++ b/test/fixtures/expected.json @@ -2986,8 +2986,7 @@ "index": false }, "source_id": { - "type": "keyword", - "doc_values": false + "type": "keyword" }, "category": { "type": "keyword", @@ -3051,4 +3050,4 @@ }, "dynamic": "strict" } -} +} \ No newline at end of file