docs/settings.json
changeset 1 29361e3c8fda
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/settings.json	Thu Apr 21 18:33:50 2016 +0200
@@ -0,0 +1,74 @@
+{
+	"settings": {
+		"analysis": {
+			"tokenizer": {
+				"nGram": {
+					"type": "nGram",
+					"min_gram": 3,
+					"max_gram": 20
+				}
+			},
+			"filter": {
+				"snowball_fr": {
+					"type": "snowball",
+					"language": "French"
+				},
+				"elision_fr": {
+					"type": "elision",
+					"articles": [
+						"l",
+						"m",
+						"t",
+						"qu",
+						"n",
+						"s",
+						"j",
+						"d",
+						"c",
+						"jusqu",
+						"quoiqu",
+						"lorsqu",
+						"puisqu"
+					]
+				},
+				"stop_fr": {
+					"type": "stop",
+					"stopwords": "_french_",
+					"ignore_case": true
+				},
+				"stemmer_fr": {
+					"type": "stemmer",
+					"language": "light_french"
+				}
+			},
+			"analyzer": {
+				"french": {
+					"type": "custom",
+					"tokenizer": "nGram",
+					"filter": [
+						"stop_fr",
+						"asciifolding",
+						"lowercase",
+						"snowball_fr",
+						"elision_fr",
+						"stemmer_fr",
+						"word_delimiter"
+					]
+				},
+				"french_search": {
+					"type": "custom",
+					"tokenizer": "standard",
+					"filter": [
+						"stop_fr",
+						"asciifolding",
+						"lowercase",
+						"snowball_fr",
+						"elision_fr",
+						"stemmer_fr",
+						"word_delimiter"
+					]
+				}
+			}
+		}
+	}
+}