Skip to content

Instantly share code, notes, and snippets.

@DarkcoderSe
Created November 15, 2021 07:11
Show Gist options
  • Save DarkcoderSe/bfe46e3ff46ebe77a9ac4228710e2639 to your computer and use it in GitHub Desktop.
Save DarkcoderSe/bfe46e3ff46ebe77a9ac4228710e2639 to your computer and use it in GitHub Desktop.
ESI_CPT Index pattern ( Master List Data )
curl -X PUT 'http://localhost:9200/cpt-index-name?pretty' -H 'Content-Type: application/json' -d '{
"mappings": {
"properties": {
"id": { "type": "long" },
"cpt_code": { "type": "keyword" },
"description": { "type": "text" }
}
}
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment