aboutsummaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-04-01 17:06:19 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-04-01 17:06:19 +0200
commit8bd8cfd9a995a376783ef90e42f163ec1d84ea4d (patch)
tree139ea5e891809034725be95edf58718f85150cd6 /extra
parent77e743688daff5a9c729000ac444bfc1941572fd (diff)
downloadrefcat-8bd8cfd9a995a376783ef90e42f163ec1d84ea4d.tar.gz
refcat-8bd8cfd9a995a376783ef90e42f163ec1d84ea4d.zip
add reviewed schema
Diffstat (limited to 'extra')
-rw-r--r--extra/elasticsearch/fatcat_ref.json50
1 files changed, 24 insertions, 26 deletions
diff --git a/extra/elasticsearch/fatcat_ref.json b/extra/elasticsearch/fatcat_ref.json
index 0e072c0..b82ce93 100644
--- a/extra/elasticsearch/fatcat_ref.json
+++ b/extra/elasticsearch/fatcat_ref.json
@@ -1,6 +1,8 @@
{
"settings": {
"index": {
+ "number_of_shards": 12,
+ "number_of_replicas": 0,
"analysis": {
"normalizer": {
"default": {
@@ -21,23 +23,20 @@
},
"mappings": {
"properties": {
- "update_ts": {
+ "indexed_ts": {
"type": "date"
},
"source_release_ident": {
"type": "keyword",
- "normalizer": "default",
- "doc_values": false
+ "normalizer": "default"
},
"source_work_ident": {
"type": "keyword",
- "normalizer": "default",
- "doc_values": false
+ "normalizer": "default"
},
"source_wikipedia_article": {
"type": "keyword",
- "normalizer": "default",
- "doc_values": false
+ "normalizer": "default"
},
"source_release_stage": {
"type": "keyword",
@@ -48,32 +47,33 @@
"type": "integer"
},
"ref_index": {
- "type": "integer"
+ "type": "integer",
+ "doc_values": false,
+ "index": false
},
"ref_key": {
"type": "keyword",
"normalizer": "default",
- "doc_values": false
+ "doc_values": false,
+ "index": false
},
"ref_locator": {
"type": "keyword",
"normalizer": "default",
- "doc_values": false
+ "doc_values": false,
+ "index": false
},
"target_release_ident": {
"type": "keyword",
- "normalizer": "default",
- "doc_values": false
+ "normalizer": "default"
},
"target_work_ident": {
"type": "keyword",
- "normalizer": "default",
- "doc_values": false
+ "normalizer": "default"
},
"target_openlibrary_work": {
"type": "keyword",
- "normalizer": "default",
- "doc_values": false
+ "normalizer": "default"
},
"target_url_surt": {
"type": "keyword",
@@ -82,26 +82,24 @@
},
"match_provenance": {
"type": "keyword",
- "normalizer": "default",
- "doc_values": false
+ "normalizer": "default"
},
"match_status": {
"type": "keyword",
- "normalizer": "default",
- "doc_values": false
+ "normalizer": "default"
},
"match_reason": {
"type": "keyword",
- "normalizer": "default",
- "doc_values": false
+ "normalizer": "default"
},
"target_unstructured": {
- "type": "keyword",
- "normalizer": "default",
- "doc_values": false
+ "type": "text",
+ "doc_values": false,
+ "index": false
},
"target_csl": {
- "type": "flattened"
+ "type": "object",
+ "enabled": false
}
}
}