aboutsummaryrefslogtreecommitdiffstats
path: root/extra/elasticsearch/auto_mapping.json
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-03-27 00:04:44 +0100
committerMartin Czygan <martin.czygan@gmail.com>2021-03-27 00:04:44 +0100
commit460e2b517b663c9980693a49f66f2c1939bfbc4a (patch)
tree611c1cf53379336e5531dedac870fc07a2335272 /extra/elasticsearch/auto_mapping.json
parente82e7a4bc83608efaa421e2e2a4f3dd302cefb81 (diff)
downloadrefcat-460e2b517b663c9980693a49f66f2c1939bfbc4a.tar.gz
refcat-460e2b517b663c9980693a49f66f2c1939bfbc4a.zip
wip: es test run
Diffstat (limited to 'extra/elasticsearch/auto_mapping.json')
-rw-r--r--extra/elasticsearch/auto_mapping.json95
1 files changed, 95 insertions, 0 deletions
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"
+ }
+ }
+ }
+ }
+}