Created
July 24, 2015 15:26
-
-
Save faxm0dem/c0594d69e4355f0f8b3b to your computer and use it in GitHub Desktop.
Elasticsearch set doc_values as default
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "mappings" : { | |
| "_default_" : { | |
| "dynamic_templates" : [ | |
| { | |
| "string_fields" : { | |
| "match" : "*", | |
| "match_mapping_type" : "string", | |
| "mapping" : { | |
| "index" : "not_analyzed", | |
| "type" : "string", | |
| "doc_values" : true | |
| } | |
| } | |
| } | |
| ] | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment