Created
August 30, 2017 11:26
-
-
Save mattfield11/95b014e5911f5ace545af93b8fe1050a 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
PUT wikipeople | |
{ | |
"mappings": { | |
"wiki_page": { | |
"properties": { | |
"text": { | |
"type": "text", | |
"fields": { | |
"english": { | |
"type": "text", | |
"analyzer": "english" | |
} | |
} | |
}, | |
"title":{ | |
"type": "text", | |
"fields": { | |
"raw": { | |
"type": "keyword" | |
} | |
} | |
}, | |
"fullurl":{ | |
"type":"text" | |
}, | |
"suggest" : { | |
"type" : "completion" | |
}, | |
"categories": { | |
"type": "text" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
elasticsearch mapping.