Created
January 24, 2016 13:09
-
-
Save nl5887/8efb6c13a32714a46afe to your computer and use it in GitHub Desktop.
Elasticsearch - Update mapping
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -X PUT 'http://localhost:9200/proxy/pairs/_mapping' -d \'{ | |
| "pairs": { | |
| "properties": { | |
| "request" : { | |
| "properties" : { | |
| "headers" : { | |
| "properties" : { | |
| "Authorization": { | |
| "type": "string", | |
| "fields": { | |
| "raw": { "type": "string", "index": "not_analyzed" } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment