Last active
September 4, 2018 00:23
-
-
Save antunesleo/0ba247886ed1c7a87302775e6f061055 to your computer and use it in GitHub Desktop.
mapping index movies in elasticsearch
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 movies | |
{ | |
"mappings": { | |
"_doc": { | |
"properties": { | |
"title" : { "type" : "text" }, | |
"year": {"type" : "integer"}, | |
"director": {"type": "text"}, | |
"stars": {"type": "text"} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment