From 460e2b517b663c9980693a49f66f2c1939bfbc4a Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Sat, 27 Mar 2021 00:04:44 +0100 Subject: wip: es test run --- extra/elasticsearch/auto_mapping.json | 95 +++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 extra/elasticsearch/auto_mapping.json (limited to 'extra/elasticsearch/auto_mapping.json') diff --git a/extra/elasticsearch/auto_mapping.json b/extra/elasticsearch/auto_mapping.json new file mode 100644 index 0000000..72b43d7 --- /dev/null +++ b/extra/elasticsearch/auto_mapping.json @@ -0,0 +1,95 @@ +{ + "ref": { + "mappings": { + "properties": { + "match_provenance": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "match_reason": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "match_status": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "ref_index": { + "type": "long" + }, + "ref_key": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "source_release_ident": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "source_work_ident": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "source_year": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "target_release_ident": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "target_work_ident": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "update_ts": { + "type": "long" + } + } + } + } +} -- cgit v1.2.3