Created
February 1, 2016 16:08
-
-
Save frague59/81d3e1238ddf1aa8db38 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 intranet_dev/_mapping/modelresult | |
{ | |
"properties": { | |
"document_file": { | |
"fields": { | |
"content_length": { | |
"type": "integer", | |
"store": "yes" | |
}, | |
"language": "french", | |
"title": { | |
"analyzer": "french", | |
"store": "yes" | |
}, | |
"user_author": { | |
"analyzer": "ngram_analyzer", | |
"store": "yes" | |
}, | |
"content": { | |
"index": true, | |
"term_vector": "with_positions_offsets", | |
"analyzer": "french", | |
"copy_to": "copy", | |
"type": "string", | |
"store": "yes" | |
}, | |
"content_type": { | |
"analyzer": "ngram_analyzer", | |
"store": "yes" | |
} | |
}, | |
"type": "attachment" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment