Skip to content

Instantly share code, notes, and snippets.

@setaou

setaou/_settings Secret

Created October 8, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save setaou/1871dc5a8a7a6f23c633 to your computer and use it in GitHub Desktop.
Save setaou/1871dc5a8a7a6f23c633 to your computer and use it in GitHub Desktop.
{
"fonds-bibliotheque-20150921": {
"settings": {
"index": {
"refresh_interval": "10s",
"number_of_shards": "10",
"creation_date": "1442823809491",
"analysis": {
"filter": {
"french_stop": {
"type": "stop",
"stopwords": "_french_"
},
"french_stemmer": {
"type": "stemmer",
"language": "light_french"
},
"french_elision": {
"type": "elision",
"articles": [
"l",
"m",
"t",
"qu",
"n",
"s",
"j",
"d",
"c",
"jusqu",
"quoiqu",
"lorsqu",
"puisqu"
]
},
"autocomplete_filter": {
"type": "edge_ngram",
"min_gram": "1",
"max_gram": "70"
}
},
"analyzer": {
"autocomplete": {
"filter": [
"french_elision",
"lowercase",
"french_stop",
"french_stemmer",
"autocomplete_filter"
],
"type": "custom",
"tokenizer": "standard"
},
"patronyme": {
"filter": [
"lowercase",
"asciifolding",
"french_elision"
],
"type": "custom",
"tokenizer": "standard"
}
}
},
"number_of_replicas": "1",
"version": {
"created": "1070199"
},
"uuid": "AJ-8nk9iQ2yFGvK4ZGmAew"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment