aboutsummaryrefslogtreecommitdiffstats
path: root/extra/elasticsearch/ref_schema.json
blob: 32c7a3cd435d61e318120159b1aad4a0cde3fa71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
  "settings": {
    "index": {
      "number_of_shards": 12,
      "number_of_replicas": 0,
      "analysis": {
        "normalizer": {
          "default": {
            "type": "custom",
            "char_filter": [],
            "filter": [
              "lowercase"
            ]
          },
          "caseSensitive": {
            "type": "custom",
            "char_filter": [],
            "filter": []
          }
        }
      }
    }
  },
  "mappings": {
    "properties": {
      "indexed_ts": {
        "type": "date"
      },
      "source_release_ident": {
        "type": "keyword",
        "normalizer": "default"
      },
      "source_work_ident": {
        "type": "keyword",
        "normalizer": "default"
      },
      "source_wikipedia_article": {
        "type": "keyword",
        "normalizer": "default"
      },
      "source_release_stage": {
        "type": "keyword",
        "normalizer": "default",
        "doc_values": false
      },
      "source_release_year": {
        "type": "integer"
      },
      "ref_index": {
        "type": "integer",
        "doc_values": false,
        "index": false
      },
      "ref_key": {
        "type": "keyword",
        "normalizer": "default",
        "doc_values": false,
        "index": false
      },
      "ref_locator": {
        "type": "keyword",
        "normalizer": "default",
        "doc_values": false,
        "index": false
      },
      "target_release_ident": {
        "type": "keyword",
        "normalizer": "default"
      },
      "target_work_ident": {
        "type": "keyword",
        "normalizer": "default"
      },
      "target_openlibrary_work": {
        "type": "keyword",
        "normalizer": "default"
      },
      "target_url_surt": {
        "type": "keyword",
        "normalizer": "default",
        "doc_values": false
      },
      "match_provenance": {
        "type": "keyword",
        "normalizer": "default"
      },
      "match_status": {
        "type": "keyword",
        "normalizer": "default"
      },
      "match_reason": {
        "type": "keyword",
        "normalizer": "default"
      },
      "target_unstructured": {
        "type": "text",
        "doc_values": false,
        "index": false
      },
      "target_csl": {
        "type": "object",
        "enabled": false
      },

      "doc_index_ts": {
        "type": "alias",
        "path": "indexed_ts"
      }
    }
  }
}