{ "settings": { "index.percolator.map_unmapped_fields_as_text": true, "index.mapping.total_fields.limit": 500, "index.query.default_field": [ "_data.*" ], "analysis": { "analyzer": { "case_accent_analyzer": { "tokenizer": "standard", "filter": [ "lowercase", "asciifolding" ] } }, "normalizer": { "case_accent_normalizer": { "type": "custom", "filter": [ "lowercase", "asciifolding" ] } } } }, "mappings": { "numeric_detection": true, "properties": { "_access": { "type": "object", "properties": { "owner": { "type": "keyword" }, "read": { "type": "keyword" }, "update": { "type": "keyword" }, "delete": { "type": "keyword" } } }, "_data": { "type": "object", "properties": { "code": { "type": "keyword", "normalizer": "case_accent_normalizer", "boost": 1.5 }, "other_id": { "type": "keyword", "normalizer": "case_accent_normalizer", "boost": 1.4 }, "class": { "type": "keyword", "normalizer": "case_accent_normalizer", "boost": 2 }, "description": { "type": "text", "analyzer": "case_accent_analyzer", "fields": { "english": { "type": "text", "analyzer": "english" }, "french": { "type": "text", "analyzer": "french" }, "exact_match": { "type": "keyword", "normalizer": "case_accent_normalizer" } } }, "status": { "boost": 1.7, "type": "keyword", "normalizer": "case_accent_normalizer" }, "manufacturer": { "boost": 1.9, "type": "keyword", "normalizer": "case_accent_normalizer" }, "location": { "boost": 1.8, "type": "keyword", "normalizer": "case_accent_normalizer" } } }, "object_type": { "type": "keyword", "normalizer": "case_accent_normalizer" }, "creation_date": { "type": "date", "format": "yyyy-MM-dd'T'HH:mm:ss" }, "modification_date": { "type": "date", "format": "yyyy-MM-dd'T'HH:mm:ss" }, "_updated": { "type": "date" }, "_created": { "type": "date" }, "control_number": { "type": "keyword" }, "$schema": { "enabled": false } } } }