{
    "settings": {
        "analysis": {
            "analyzer": {
                "pathAnalyzer": {
                    "tokenizer": "pathTokenizer"
                }
            },
            "tokenizer": {
                "pathTokenizer": {
                    "type": "path_hierarchy",
                    "delimiter": "/",
                    "replacement": "/",
                    "skip": 0,
                    "reverse": false
                }
            }
        }
    },
    "mappings": {
        "properties": {
            "id": {
                "type": "keyword"
            },
            "year": {
                "type": "integer"
            },
            "year_iverted": {
                "type": "double"
            },
            "server_date_published": {
                "type": "double"
            },
            "server_date_modified": {
                "type": "double"
            },
            "language": {
                "type": "keyword"
            },
            "title": {
                "type": "text"
            },
            "title_output": {
                "type": "keyword",
                "index": false
            },
            "abstract": {
                "type": "text"
            },
            "abstract_output": {
                "type": "keyword",
                "index": false
            },
            "author": {
                "type": "text",
                "fields": {
                    "keyword": {
                        "type": "keyword",
                        "ignore_above": 256
                    }
                }
            },
            "doctype": {
                "type": "keyword"
            },
            "subjects": {
                "type": "text",
                "fields": {
                    "keyword": {
                        "type": "keyword",
                        "ignore_above": 256
                    }
                }
            },
            "belongs_to_bibliography": {
                "type": "boolean"
            },
            "title_additional": {
                "type": "text",
                "index": false,
                "fields": {
                    "keyword": {
                        "type": "keyword",
                        "ignore_above": 256
                    }
                }
            },
            "abstract_additional": {
                "type": "text",
                "index": false,
                "fields": {
                    "keyword": {
                        "type": "keyword",
                        "ignore_above": 256
                    }
                }
            },
            "licence": {
                "type": "text",
                "index": false,
                "fields": {
                    "keyword": {
                        "type": "keyword",
                        "ignore_above": 256
                    }
                }
            },
            "creating_corporation": {
                "type": "text"
            },
            "contributing_corporation": {
                "type": "text"
            },
            "publisher_name": {
                "type": "text"
            },
            "publisher_place": {
                "type": "text"
            },
            "geo_location": {
                "type": "geo_shape",
                "tree": "quadtree",
                "precision": "10km"
            },
            "bbox_xmin": {
                "type": "float"
            },
            "bbox_xmax": {
                "type": "float"
            },
            "bbox_ymin": {
                "type": "float"
            },
            "bbox_ymax": {
                "type": "float"
            },

            "status": {
                "type": "keyword"
            }
        }
    }
}
