Created
October 28, 2014 17:29
-
-
Save loren/57780909332d570a5922 to your computer and use it in GitHub Desktop.
Initial Instagram Photo mapping for 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
{ | |
"development-asis-instagram_photos": { | |
"mappings": { | |
"instagram_photo": { | |
"properties": { | |
"caption": { | |
"type": "string", | |
"analyzer": "en_analyzer" | |
}, | |
"popularity": { | |
"type": "integer" | |
}, | |
"tags": { | |
"type": "string", | |
"analyzer": "tag_analyzer" | |
}, | |
"taken_at": { | |
"type": "date", | |
"format": "dateOptionalTime" | |
}, | |
"thumbnail_url": { | |
"type": "string", | |
"analyzer": "case_insensitive_keyword_analyzer" | |
}, | |
"url": { | |
"type": "string", | |
"analyzer": "case_insensitive_keyword_analyzer" | |
}, | |
"username": { | |
"type": "string", | |
"analyzer": "case_insensitive_keyword_analyzer" | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment