PUT/music/_mapping/song{
“properties”: {
“tag”: {
“type”: “string”,
“index”: “not_analyzed”,
“doc_values”: true
}
}
}
这个就会使用磁盘存储这个字段,而不是存储在内存中。
PUT/music/_mapping/song{
“properties”: {
“tag”: {
“type”: “string”,
“index”: “not_analyzed”,
“doc_values”: true
}
}
}
这个就会使用磁盘存储这个字段,而不是存储在内存中。