Created
October 28, 2013 19:52
-
-
Save ericdcobb/7203433 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| { | |
| "settings": { | |
| "analysis": { | |
| "analyzer": { | |
| "my_ngram_analyzer": { | |
| "tokenizer": "my_ngram_tokenizer", | |
| "filter": [ | |
| "lowercase" | |
| ], | |
| "type" : "custom" | |
| }, | |
| "default_search": { | |
| "tokenizer" : "keyword", | |
| "filter" : [ | |
| "lowercase" | |
| ] | |
| } | |
| }, | |
| "tokenizer": { | |
| "my_ngram_tokenizer": { | |
| "type": "nGram", | |
| "min_gram": "3", | |
| "max_gram": "100", | |
| "token_chars": [] | |
| } | |
| } | |
| } | |
| }, | |
| "mappings": { | |
| "Clip": { | |
| "dynamic_templates": [ | |
| { | |
| "metadata_template": { | |
| "match_mapping_type": "string", | |
| "path_match": "*", | |
| "mapping": { | |
| "type": "multi_field", | |
| "fields": { | |
| "ngram": { | |
| "type": "{dynamic_type}", | |
| "index": "analyzed", | |
| "index_analyzer": "my_ngram_analyzer", | |
| "search_analyzer" : "default_search" | |
| }, | |
| "{name}": { | |
| "type": "{dynamic_type}", | |
| "index": "analyzed", | |
| "analyzer" : "default_search" | |
| }, | |
| "standard" : { | |
| "type": "{dynamic_type}", | |
| "index": "analyzed", | |
| "analyzer" : "standard" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "Timeline": { | |
| "dynamic_templates": [ | |
| { | |
| "metadata_template": { | |
| "match_mapping_type": "string", | |
| "path_match": "*", | |
| "mapping": { | |
| "type": "multi_field", | |
| "fields": { | |
| "ngram": { | |
| "type": "{dynamic_type}", | |
| "index": "analyzed", | |
| "index_analyzer": "my_ngram_analyzer", | |
| "search_analyzer" : "default_search" | |
| }, | |
| "{name}": { | |
| "type": "{dynamic_type}", | |
| "index": "analyzed", | |
| "analyzer" : "default_search" | |
| }, | |
| "standard" : { | |
| "type": "{dynamic_type}", | |
| "index": "analyzed", | |
| "analyzer" : "standard" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "AssetMaster": { | |
| "dynamic_templates": [ | |
| { | |
| "metadata_template": { | |
| "match_mapping_type": "string", | |
| "path_match": "*", | |
| "mapping": { | |
| "type": "multi_field", | |
| "fields": { | |
| "ngram": { | |
| "type": "{dynamic_type}", | |
| "index": "analyzed", | |
| "index_analyzer": "my_ngram_analyzer", | |
| "search_analyzer" : "default_search" | |
| }, | |
| "{name}": { | |
| "type": "{dynamic_type}", | |
| "index": "analyzed", | |
| "analyzer" : "default_search" | |
| }, | |
| "standard" : { | |
| "type": "{dynamic_type}", | |
| "index": "analyzed", | |
| "analyzer" : "standard" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "AssetCollection": { | |
| "dynamic_templates": [ | |
| { | |
| "metadata_template": { | |
| "match_mapping_type": "string", | |
| "path_match": "*", | |
| "mapping": { | |
| "type": "multi_field", | |
| "fields": { | |
| "ngram": { | |
| "type": "{dynamic_type}", | |
| "index": "analyzed", | |
| "index_analyzer": "my_ngram_analyzer", | |
| "search_analyzer" : "default_search" | |
| }, | |
| "{name}": { | |
| "type": "{dynamic_type}", | |
| "index": "analyzed", | |
| "analyzer" : "default_search" | |
| }, | |
| "standard" : { | |
| "type": "{dynamic_type}", | |
| "index": "analyzed", | |
| "analyzer" : "standard" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "ImageAssetMaster": { | |
| "dynamic_templates": [ | |
| { | |
| "metadata_template": { | |
| "match_mapping_type": "string", | |
| "path_match": "*", | |
| "mapping": { | |
| "type": "multi_field", | |
| "fields": { | |
| "ngram": { | |
| "type": "{dynamic_type}", | |
| "index": "analyzed", | |
| "index_analyzer": "my_ngram_analyzer", | |
| "search_analyzer" : "default_search" | |
| }, | |
| "{name}": { | |
| "type": "{dynamic_type}", | |
| "index": "analyzed", | |
| "analyzer" : "default_search" | |
| }, | |
| "standard" : { | |
| "type": "{dynamic_type}", | |
| "index": "analyzed", | |
| "analyzer" : "standard" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "AudioAssetMaster": { | |
| "dynamic_templates": [ | |
| { | |
| "metadata_template": { | |
| "match_mapping_type": "string", | |
| "path_match": "*", | |
| "mapping": { | |
| "type": "multi_field", | |
| "fields": { | |
| "ngram": { | |
| "type": "{dynamic_type}", | |
| "index": "analyzed", | |
| "index_analyzer": "my_ngram_analyzer", | |
| "search_analyzer" : "default_search" | |
| }, | |
| "{name}": { | |
| "type": "{dynamic_type}", | |
| "index": "analyzed", | |
| "analyzer" : "default_search" | |
| }, | |
| "standard" : { | |
| "type": "{dynamic_type}", | |
| "index": "analyzed", | |
| "analyzer" : "standard" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "Project": { | |
| "dynamic_templates": [ | |
| { | |
| "metadata_template": { | |
| "match_mapping_type": "string", | |
| "path_match": "*", | |
| "mapping": { | |
| "type": "multi_field", | |
| "fields": { | |
| "ngram": { | |
| "type": "{dynamic_type}", | |
| "index": "analyzed", | |
| "index_analyzer": "my_ngram_analyzer", | |
| "search_analyzer" : "default_search" | |
| }, | |
| "{name}": { | |
| "type": "{dynamic_type}", | |
| "index": "analyzed", | |
| "analyzer" : "default_search" | |
| }, | |
| "standard" : { | |
| "type": "{dynamic_type}", | |
| "index": "analyzed", | |
| "analyzer" : "standard" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment