Created
July 27, 2018 09:01
-
-
Save benoitguigal/d9a5ef93b770d9b7c3e75fd7e816b705 to your computer and use it in GitHub Desktop.
This file contains 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
GET users/_mapping/ | |
{ | |
"users": { | |
"mappings": { | |
"_doc": { | |
"properties": { | |
"date_of_birth": { | |
"type": "long" | |
}, | |
"description": { | |
"type": "text", | |
"fields": { | |
"keyword": { | |
"type": "keyword", | |
"ignore_above": 256 | |
} | |
} | |
}, | |
"name": { | |
"type": "text", | |
"fields": { | |
"keyword": { | |
"type": "keyword", | |
"ignore_above": 256 | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment