0
我想知道elasticsearch是否將空字符串視爲空值,但基於下面顯示的映射,我沒有看到它是這樣做的。我如何使elasticsearch將空字符串視爲null
,並使用null_value
提供的值進行索引。我的映射如下所示:elasticsearch是否將空字符串視爲null?
{
"mapping": {
"my_typee": {
"properties": {
"autoRank": {
"type": "integer",
"null_value": 0,
"store": true,
"index": "analyzed"
}
}
}
}
}
在此先感謝。