215 lines
4.6 KiB
JSON
Executable File
215 lines
4.6 KiB
JSON
Executable File
{
|
|
"settings": {
|
|
"number_of_shards": 1,
|
|
"index.mapping.total_fields.limit": 2000,
|
|
"analysis": {
|
|
"analyzer": {
|
|
"fscrawler_path": {
|
|
"tokenizer": "fscrawler_path"
|
|
}
|
|
},
|
|
"tokenizer": {
|
|
"fscrawler_path": {
|
|
"type": "path_hierarchy"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"mappings": {
|
|
"dynamic_templates": [
|
|
{
|
|
"raw_as_text": {
|
|
"path_match": "meta.raw.*",
|
|
"mapping": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"properties": {
|
|
"attachment": {
|
|
"type": "binary",
|
|
"doc_values": false
|
|
},
|
|
"attributes": {
|
|
"properties": {
|
|
"group": {
|
|
"type": "keyword"
|
|
},
|
|
"owner": {
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
},
|
|
"content": {
|
|
"type": "text"
|
|
},
|
|
"file": {
|
|
"properties": {
|
|
"content_type": {
|
|
"type": "keyword"
|
|
},
|
|
"filename": {
|
|
"type": "keyword",
|
|
"store": true
|
|
},
|
|
"extension": {
|
|
"type": "keyword"
|
|
},
|
|
"filesize": {
|
|
"type": "long"
|
|
},
|
|
"indexed_chars": {
|
|
"type": "long"
|
|
},
|
|
"indexing_date": {
|
|
"type": "date",
|
|
"format": "date_optional_time"
|
|
},
|
|
"created": {
|
|
"type": "date",
|
|
"format": "date_optional_time"
|
|
},
|
|
"last_modified": {
|
|
"type": "date",
|
|
"format": "date_optional_time"
|
|
},
|
|
"last_accessed": {
|
|
"type": "date",
|
|
"format": "date_optional_time"
|
|
},
|
|
"checksum": {
|
|
"type": "keyword"
|
|
},
|
|
"url": {
|
|
"type": "keyword",
|
|
"index": false
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"properties": {
|
|
"author": {
|
|
"type": "text"
|
|
},
|
|
"date": {
|
|
"type": "date",
|
|
"format": "date_optional_time"
|
|
},
|
|
"keywords": {
|
|
"type": "text"
|
|
},
|
|
"title": {
|
|
"type": "text"
|
|
},
|
|
"language": {
|
|
"type": "keyword"
|
|
},
|
|
"format": {
|
|
"type": "text"
|
|
},
|
|
"identifier": {
|
|
"type": "text"
|
|
},
|
|
"contributor": {
|
|
"type": "text"
|
|
},
|
|
"coverage": {
|
|
"type": "text"
|
|
},
|
|
"modifier": {
|
|
"type": "text"
|
|
},
|
|
"creator_tool": {
|
|
"type": "keyword"
|
|
},
|
|
"publisher": {
|
|
"type": "text"
|
|
},
|
|
"relation": {
|
|
"type": "text"
|
|
},
|
|
"rights": {
|
|
"type": "text"
|
|
},
|
|
"source": {
|
|
"type": "text"
|
|
},
|
|
"type": {
|
|
"type": "text"
|
|
},
|
|
"description": {
|
|
"type": "text"
|
|
},
|
|
"created": {
|
|
"type": "date",
|
|
"format": "date_optional_time"
|
|
},
|
|
"print_date": {
|
|
"type": "date",
|
|
"format": "date_optional_time"
|
|
},
|
|
"metadata_date": {
|
|
"type": "date",
|
|
"format": "date_optional_time"
|
|
},
|
|
"latitude": {
|
|
"type": "text"
|
|
},
|
|
"longitude": {
|
|
"type": "text"
|
|
},
|
|
"altitude": {
|
|
"type": "text"
|
|
},
|
|
"rating": {
|
|
"type": "byte"
|
|
},
|
|
"comments": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"path": {
|
|
"properties": {
|
|
"real": {
|
|
"type": "keyword",
|
|
"fields": {
|
|
"tree": {
|
|
"type": "text",
|
|
"analyzer": "fscrawler_path",
|
|
"fielddata": true
|
|
},
|
|
"fulltext": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"root": {
|
|
"type": "keyword"
|
|
},
|
|
"virtual": {
|
|
"type": "keyword",
|
|
"fields": {
|
|
"tree": {
|
|
"type": "text",
|
|
"analyzer": "fscrawler_path",
|
|
"fielddata": true
|
|
},
|
|
"fulltext": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|