Skip to content

Commit ac26f5b

Browse files
Pawel Zembrzuskipazembrz
authored andcommitted
mappings: Add _created and _updated mappings
* INSPIR-3233
1 parent e36c0c4 commit ac26f5b

File tree

7 files changed

+42
-0
lines changed

7 files changed

+42
-0
lines changed

backend/inspirehep/search/mappings/v7/records/authors.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@
4040
}
4141
}
4242
},
43+
"_created": {
44+
"type": "date"
45+
},
46+
"_updated": {
47+
"type": "date"
48+
},
4349
"_collections": {
4450
"normalizer": "lowercase_normalizer",
4551
"type": "keyword"

backend/inspirehep/search/mappings/v7/records/conferences.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
"$schema": {
77
"type": "keyword"
88
},
9+
"_created": {
10+
"type": "date"
11+
},
12+
"_updated": {
13+
"type": "date"
14+
},
915
"_collections": {
1016
"normalizer": "lowercase_normalizer",
1117
"type": "keyword"

backend/inspirehep/search/mappings/v7/records/data.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
"$schema": {
77
"type": "keyword"
88
},
9+
"_created": {
10+
"type": "date"
11+
},
12+
"_updated": {
13+
"type": "date"
14+
},
915
"_collections": {
1016
"normalizer": "lowercase_normalizer",
1117
"type": "keyword"

backend/inspirehep/search/mappings/v7/records/experiments.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
"$schema": {
77
"type": "keyword"
88
},
9+
"_created": {
10+
"type": "date"
11+
},
12+
"_updated": {
13+
"type": "date"
14+
},
915
"_collections": {
1016
"normalizer": "lowercase_normalizer",
1117
"type": "keyword"

backend/inspirehep/search/mappings/v7/records/hep.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99
"_all": {
1010
"type": "text"
1111
},
12+
"_created": {
13+
"type": "date"
14+
},
15+
"_updated": {
16+
"type": "date"
17+
},
1218
"_collections": {
1319
"normalizer": "lowercase_normalizer",
1420
"type": "keyword"

backend/inspirehep/search/mappings/v7/records/institutions.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
"copy_to": "affautocomplete",
1111
"type": "text"
1212
},
13+
"_created": {
14+
"type": "date"
15+
},
16+
"_updated": {
17+
"type": "date"
18+
},
1319
"_collections": {
1420
"normalizer": "lowercase_normalizer",
1521
"type": "keyword"

backend/inspirehep/search/mappings/v7/records/journals.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
"$schema": {
77
"type": "keyword"
88
},
9+
"_created": {
10+
"type": "date"
11+
},
12+
"_updated": {
13+
"type": "date"
14+
},
915
"_collections": {
1016
"normalizer": "lowercase_normalizer",
1117
"type": "keyword"

0 commit comments

Comments
 (0)