diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/elasticsearch/fatcat_ref.json | 50 |
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 } } } |