Skip to content

Files

Latest commit

2eccd84 · Apr 16, 2020

History

History
18 lines (16 loc) · 239 Bytes

adding-mappings-to-existing-indices.md

File metadata and controls

18 lines (16 loc) · 239 Bytes

Adding mappings to existing indices

Add new field mapping to existing index

PUT /reviews/_mapping
{
  "properties": {
    "created_at": {
      "type": "date"
    }
  }
}

Retrieve the mapping

GET /reviews/_mapping