首先需要了解ElasticSearch的四個重要字段
_index:相當於庫(database)
_type:相當於表(table)
_id:記錄的唯一標識(primary key)
_source:相當於記錄(record)
首先需要了解ElasticSearch的四個重要字段
_index:相當於庫(database)
_type:相當於表(table)
_id:記錄的唯一標識(primary key)
_source:相當於記錄(record)
建立索引 PUT /my_locations { "mappings": { "properties": { "pin": { "properties
文檔格式如下: { "account_number": 1, "balance": 39225,