我已经创建了mapper attachmet映射,如下所示。
PUT test-2016.06.11/person/_mapping
{
"person" : {
"properties" : {
"file" : {
"type" : "attachment",
"fields" : {
"content" : {"store" : "yes"},
"title" : {"analyzer" : "chinese", "store" : "yes"},
"date" : {"store" : "yes"},
"author" : {"analyzer" : "chinese", "store" : "yes"},
"keywords" : {"analyzer" : "chinese","store" : "yes"},
"content_type" : {"store" : "yes"},
"content_length" : {"store" : "yes"},
"language" : {"analyzer" : "chinese", "store" : "yes"}
}
}
}
}
}
但是,当我查看放入索引的数据时,我看不到任何.raw
字段。我应该如何更改我的映射以使kibana中的.raw字段成为可能?
提前致谢。