Elasticsearch 自定義dynamic mapping

1、定製dynamic策略 true:遇到陌生字段,就進行dynamic mapping false:遇到陌生字段,就忽略 strict:遇到陌生字段,就報錯 例子: PUT /my_index { 「mappings」: { 「my_type」: { 「dynamic」: 「strict」, 「properties」: { 「title」: { 「type」: 「text」 }, 「addres
相關文章
相關標籤/搜索