Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"test":{
"state":"open",
"settings":{
"index.analysis.filter.filter_shingle.type":"shingle",
"index.number_of_replicas":"0",
"index.analysis.filter.filter_shingle.output_unigrams":"true",
"index.analysis.analyzer.analyzer_shingle.tokenizer":"standard",
"index.analysis.filter.filter_shingle.min_shingle_size":"2",
"index.analysis.analyzer.analyzer_shingle.filter.0":"standard",
"index.analysis.analyzer.analyzer_shingle.filter.2":"filter_shingle",
"index.analysis.filter.filter_shingle.max_shingle_size":"5",
"index.analysis.analyzer.analyzer_shingle.filter.1":"lowercase",
"index.number_of_shards":"1",
"index.version.created":"200299"
},
"mappings":{
"benchmark":{
"properties":{
"field2":{
"analyzer":"analyzer_shingle",
"type":"string"
},
"field1":{
"analyzer":"analyzer_shingle",
"type":"string"
}
}
}
},
"aliases":[
]
}
}
{
"forum":{
"state":"open",
"settings":{
"index.analysis.filter.filter_partial_ngram.max_gram":"20",
"index.analysis.filter.filter_partial_ngram.type":"edgeNGram",
"index.version.created":"190899",
"index.analysis.analyzer.analyzer_partial_ngram.filter.1":"asciifolding",
"index.analysis.filter.filter_partial_shingle.max_shingle_size":"5",
"index.analysis.analyzer.analyzer_partial_ngram.filter.0":"lowercase",
"index.analysis.filter.filter_partial_shingle.min_shingle_size":"2",
"index.analysis.analyzer.analyzer_partial_ngram.filter.2":"filter_partial_ngram",
"index.analysis.analyzer.analyzer_term.type":"custom",
"index.analysis.analyzer.analyzer_partial_ngram.type":"custom",
"index.analysis.analyzer.analyzer_term.tokenizer":"whitespace",
"index.number_of_replicas":"0",
"index.analysis.filter.filter_partial_ngram.min_gram":"2",
"index.analysis.analyzer.analyzer_partial_ngram.tokenizer":"whitespace",
"index.analysis.analyzer.analyzer_partial_shingle.filter.0":"lowercase",
"index.analysis.filter.filter_partial_ngram.side":"front",
"index.analysis.filter.filter_partial_shingle.output_unigrams":"false",
"index.number_of_shards":"6",
"index.routing.allocation.include.zone":"zone_one",
"index.analysis.analyzer.analyzer_term.filter.0":"lowercase",
"index.analysis.analyzer.analyzer_partial_shingle.filter.1":"asciifolding",
"index.analysis.analyzer.analyzer_partial_shingle.filter.2":"filter_partial_shingle",
"index.analysis.analyzer.analyzer_term.filter.1":"asciifolding",
"index.analysis.analyzer.analyzer_partial_shingle.type":"custom",
"index.analysis.filter.filter_partial_shingle.type":"shingle",
"index.analysis.analyzer.analyzer_partial_shingle.tokenizer":"whitespace"
},
"mappings":{
"post":{
"properties":{
"body":{
"type":"multi_field",
"fields":{
"body":{
"analyzer":"analyzer_term",
"type":"string"
},
"partial_ngram":{
"include_in_all":false,
"index_analyzer":"analyzer_partial_ngram",
"search_analyzer":"analyzer_term",
"type":"string"
},
"partial_shingle":{
"include_in_all":false,
"index_analyzer":"analyzer_partial_shingle",
"search_analyzer":"analyzer_term",
"type":"string"
}
}
},
"title":{
"analyzer":"analyzer_term",
"type":"string"
},
"permalink":{
"type":"string"
}
}
}
},
"aliases":[
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.