Commit f7dcfbfd authored by Pablo Panero's avatar Pablo Panero
Browse files

mappings[webservices]: improve url analyzer and make mapping strict-dynamic

parent 18f66eff
......@@ -3,9 +3,16 @@
"index.percolator.map_unmapped_fields_as_string": true,
"index.mapping.total_fields.limit": 50,
"analysis": {
"tokenizer": {
"url_tokenizer": {
"type": "pattern",
"pattern": "\\.|(\\:\\/\\/)|\\/"
}
},
"analyzer": {
"url_analyzer": {
"type": "standard",
"tokenizer": "url_tokenizer",
"stopwords": ["http", "https", "ftp", "www", "web", "cern", "ch"]
}
}
......@@ -13,6 +20,7 @@
},
"mappings": {
"generic_website_v2.0.0": {
"dynamic": "strict",
"numeric_detection": true,
"_meta": {
"_owner": "CernSearch-Administrators@cern.ch"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment