Skip to content

Instantly share code, notes, and snippets.

@loren
Created October 29, 2014 15:12
Show Gist options
  • Save loren/f08c3e2c97e7773e432e to your computer and use it in GitHub Desktop.
Save loren/f08c3e2c97e7773e432e to your computer and use it in GitHub Desktop.
Second iteration on Flickr mapping for Elasticsearch
{
"properties": {
"bigram": {
"type": "string",
"analyzer": "bigram_analyzer"
},
"description": {
"type": "string",
"analyzer": "en_analyzer",
"copy_to": [
"bigram"
]
},
"title": {
"type": "string",
"analyzer": "en_analyzer",
"copy_to": [
"bigram"
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment