Hi,
I want to save disk space for storing syslog data. As I am not interested in full text search I defined the mappings for string fields like this:
"SourceLocation" : {
"type" : "keyword",
},
For testing I indexed the same data with the standard mappings which maps strings as both text and keywords:
"SourceLocation" : {
"type" : "text",
"norms": false,
"index_options": "docs",
"fields" : {
"keyword" : {
"type" : "keyword",
}
}
},
I noticed no difference in needed disk space.
Should not the first variant with only keyword mapping need much less space?
I am using ES 5.6